Help - Search - Members - Calendar
Full Version: The definitive Windows/IIS6 install thread
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
thechad
Firefox crashed as I was finishing this off so here goes take 2 icon15.gif

I install a new shop about once a week so I keep coming up with the same problems, i'll just keep coming back to this thread and updating it if I can edit my own posts...

ISSUE: Automatic install doesnt work
TRIED: Allowing write permissions to global.inc.php for IUSR_MACHINE, NETWORK SERVICE and the user the website actually runs under to no avail.
ANNOYING: The help in the installer telling you to just skip this step??? How??? Edit the page number in the URL? How will that work?
FIX: Devellion?

ISSUE: Manual install DOESNT INSTALL table cubecart_cats_lang
TRIED: I have other installs so I got the SQL from them
CODE
CREATE TABLE `p1ll5cubecart_cats_lang` (
 `id` int(11) NOT NULL auto_increment,
 `cat_master_id` int(11) NOT NULL default '0',
 `cat_lang` varchar(20) NOT NULL default '',
 `cat_name` varchar(255) NOT NULL default '',
 KEY `id` (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1;


ISSUE: Admin Error "Fatal error: Cannot redeclare class db in d:\domains\velocityd.com\wwwroot\classes\db.inc.php on line 31"
TRIED: I see, Windows users... you know how we NEVER care about capitals? Well apparently in this config you have to
FIX: Make sure that your path has absolutely correct capitalisation

Thats it for now, with all that done its working... hopefully the automatic install will one day be fixed so we dont have to revert to the manual one.
Sir William
Don't complain about capitalization because Windows cheaps out and ignores it. A != a no matter what. Therefore "CubeCart" != "cubecart". Don't expect any of us to apologize because the system you elect to use it not compliant with the systems this software was written for and on.

If somebody wanted to be a real horses butt, they could write a script with these variables....they'd all be different in Linux/Unix, but Windows would just barf it all up.

InitialProductCount
Iniitialproductcount
initialproductcount
InitialProductcount
initialProductCount
initialproductCount

They're all different and would be treated as such. I'll fully agree that it would be completely assanine to code that way, but it could be done.

MOST programmers who write on Linux/Unix systems use all lower case variable names or only capitalize first letters of 2nd+ words to make reading easier. So the most common would be initialProductCount or InitialProductCount. So long as the convention was always followed, you're fine.

Being a programmer, I've caused myself tons of grief over the years because I missed a capital letter here or there. It can be quite the pain and your human eyes will read past it time and time again without noticing. But with that said, Windows lets programmers be lazy and not care. I think that's a worse thing than requiring consistancy. There is far too much sloppy code out there. I'll take more structure and readability any day.
hennaboy
I run several carts installations on iis6 and each time have ran through the auto install without a problem.

Windows and its permissions system is different from Unix and it is not just the files for the domain that you should be looking at if you are having permission problems.

Check your logs it will show what the problem is. You shouldnt just read what is in the browser window.
thechad
"Sir William", not everyone is a programmer. I've done a fair amount in my time but when im administering a Windows system I dont even remotely think about case sensitivity. Hence I put it in a thread for others that might be the same.

Hennaboy, what user did you give write permissions to? Remember this is the world of web-hosting, eeeeveryone is different.

I get through problems, if I cant I sort it with Brooky, this thread is for those that might have unanswered questions that can be answered without having to submit a ticket. I figured thats what these forums were for... not a pissing contest.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.