Cheeky Monkey Posted June 25, 2007 Share Posted June 25, 2007 Hi, Im having terrible trouble trying to install OScommerce. I cant get beyond the installation screen (stage 2) and understand this is likely to be an htaccess issue. I can create an htaccess file, in Notepad, add the following: php_flag register_globals on php_flag register_long_arrays on But I cant upload it to my root directory? Is this because its a text file? Can anyone offer some advice? Thanks a million. :'( Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 Hi, Im having terrible trouble trying to install OScommerce. I cant get beyond the installation screen (stage 2) and understand this is likely to be an htaccess issue. I can create an htaccess file, in Notepad, add the following: php_flag register_globals on php_flag register_long_arrays on But I cant upload it to my root directory? Is this because its a text file? Can anyone offer some advice? Thanks a million. :'( First, Notepad is the worst possible app you can use to edit website files, mainly because it has the annoying habit of sticking ".txt" at the end of any new file name. try Notepad++, it is a real editor that, for one, understands HTML and PHP source code. (Google it) Second, if you don't have "hide file extensions" turned off in your Windows Folder Properties Control Panel, do so, you simply can't do what you need to do with this idiotic "feature" of Windows turned on. Once you have fixed this, you are in for some fun, because another idiotic feature of Windows is that it does not comprehend a filename that starts with a period, so you can't name a file ".htaccess". I recommend naming it "htaccess", "htaccess.tmp" or something else until you can get it uploaded, then change the filename there (you did pick a host with ssh access didn't you?). Now you are in for some fun, because I have yet to be able to get past page 2 of the installation screen based on the .htaccess file (but at least it got me that far). I certainly hope that OSCommerce does not absolutely require register_globals to be on in the php.ini file, because there is no ****ing way I am opening up the PHP globals on my entire web server to make this run. Sorry, I am not stupid or insane enough to run a web server in that highly insecure state these days. Come on, OSCommerce, this is not a new problem, it's high time to stop ignoring it. Link to comment Share on other sites More sharing options...
Cheeky Monkey Posted June 25, 2007 Author Share Posted June 25, 2007 ok - many thanks for your reply. As you will find out, I really am a total beginner!! Can you tell me how to navigate to Windows Folder Properties Control Panel? Also, do I place Htaccess in the root directory? Thanks Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 ok - many thanks for your reply. As you will find out, I really am a total beginner!! Can you tell me how to navigate to Windows Folder Properties Control Panel? Also, do I place Htaccess in the root directory? Thanks Start menu>Settings>Control Panel>Folder Options View tab Uncheck "Hide extensions for known file types" Most internet servers run Linux, so your root directory is generally /home/YourUserName/public_html, this is the root folder of your website. If you have direct access via ftp to this folder, you may not even see public_html, so you can just put it right there in the main file area (this is the root folder too, you just don't get to see anything higher up). Just dump it in whichever you get and change the name to ".htaccess". P.S.: I'm a n00b too, I've just been one for a lot of years :) Link to comment Share on other sites More sharing options...
bkellum Posted June 25, 2007 Share Posted June 25, 2007 Hi, Im having terrible trouble trying to install OScommerce. I cant get beyond the installation screen (stage 2) and understand this is likely to be an htaccess issue. I can create an htaccess file, in Notepad, add the following: php_flag register_globals on php_flag register_long_arrays on But I cant upload it to my root directory? Is this because its a text file? Can anyone offer some advice? Thanks a million. :'( This may help: http://www.oscommerce.com/forums/index.php?sho...p;#entry1030875 Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
mistoffeles Posted June 25, 2007 Share Posted June 25, 2007 This may help:http://www.oscommerce.com/forums/index.php?sho...p;#entry1030875 What does that have to do with getting past stage 2 of the installation process? All I can see it doing is adding another layer of complexity to a process that is already not working, this complicating it and making it harder to diagnose. Link to comment Share on other sites More sharing options...
bkellum Posted June 25, 2007 Share Posted June 25, 2007 What does that have to do with getting past stage 2 of the installation process? All I can see it doing is adding another layer of complexity to a process that is already not working, this complicating it and making it harder to diagnose. Paul, the response was for the original poster regarding .htaccess files. I thought that the link might give some insight on this file. If you do not find it useful then just ignore it. No need to be rude. Regarding installation problems: http://www.oscommerce.com/forums/index.php?showtopic=162231 You will find that the installation routine of osCommerce does work and is not complicated at all. Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE Link to comment Share on other sites More sharing options...
Cheeky Monkey Posted June 27, 2007 Author Share Posted June 27, 2007 Hi Folks, Still not able to get past stage 2 :'( :'( :'( fast becoming dishertened. Have made a php.ini and an htaccess with everything you suggested. Even deleted eveything and started again - still not joy. how can I put a screen print in to show you my root directory from FTP? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.