steviez Posted June 3, 2005 Share Posted June 3, 2005 Hi, i have been trying to get oscommerce installed on my hosts servers for a few weeks now and im having no luck what so ever! The host in question is Heart Internet, all there software versions are ok so i dont see a problem. They are running a red hat linux server with php 4.3.1.1 but every time i run install.php it gets stuck on install step 2. Can anyone help me as i am desperate to install this script. Thank You :D Link to comment Share on other sites More sharing options...
Winterchild Posted June 3, 2005 Share Posted June 3, 2005 You get stuck in what way? Error? Page reload? Blank page? Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2005 Share Posted June 3, 2005 are you sure it is 4.3.11? usually the reason for that, is they are using php5 which is next to impossible to use for installing, thus if you are stuck with using them, just copy all the code to the place you want it. then, run phpmyadmin and import the catalog/install/oscommerce.sql script. then edit your configure.php files to properly match what they need to be. then search for $upload as the error you will get if it is php5, will be in a file named upload.php which will need to be commented out on line 31. create this one line as a file: <? phpinfo(); ?> then run it, will give you the server info Link to comment Share on other sites More sharing options...
steviez Posted June 3, 2005 Author Share Posted June 3, 2005 are you sure it is 4.3.11? usually the reason for that, is they are using php5 which is next to impossible to use for installing, thus if you are stuck with using them, just copy all the code to the place you want it.then, run phpmyadmin and import the catalog/install/oscommerce.sql script. then edit your configure.php files to properly match what they need to be. then search for $upload as the error you will get if it is php5, will be in a file named upload.php which will need to be commented out on line 31. create this one line as a file: <? phpinfo(); ?> then run it, will give you the server info <{POST_SNAPBACK}> Yes im sure it php4.3.1.1 would it be possible for me to give you my login details so that you could check? im desperate to install it. Link to comment Share on other sites More sharing options...
steviez Posted June 3, 2005 Author Share Posted June 3, 2005 You get stuck in what way? Error? Page reload? Blank page? <{POST_SNAPBACK}> install step2 only half loads, and it will not go any further. Link to comment Share on other sites More sharing options...
Winterchild Posted June 3, 2005 Share Posted June 3, 2005 thus if you are stuck with using them, just copy all the code to the place you want it.then, run phpmyadmin and import the catalog/install/oscommerce.sql script. then edit your configure.php files to properly match what they need to be. Follow this route then. This problem normally only occurs with PHP5 Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2005 Share Posted June 3, 2005 i could do it to check, have no problems. however do as i said, naming a file phpinfo.php with the one line and run it in your browser (place the file in your document-root path. Yes im sure it php4.3.1.1 would it be possible for me to give you my login details so that you could check? im desperate to install it. <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
steviez Posted June 4, 2005 Author Share Posted June 4, 2005 i could do it to check, have no problems. however do as i said, naming a file phpinfo.php with the one line and run it in your browser (place the file in your document-root path. <{POST_SNAPBACK}> i have pu the following code in to a script: <? phpinfo(); ?> go to http://www.real-computers.co.uk/info.php to see the results. Please tell me if there is a problem. Link to comment Share on other sites More sharing options...
♥Vger Posted June 4, 2005 Share Posted June 4, 2005 php4.3.11 is very close to php5, so I would try applying the php5 fix to see if that helps - but this should not prevent the installation anyway. On line 31 of admin/includes/classes/upload.php where you see $this change it to unset ($this); Make sure that all of your folder permissions are set to 755 or 777 and that both of your configure.php files are set to 777 - because the install needs to write to them. ----------------------------- Just noticed that Register_Globals is set to 'Off' so this is the probable cause of your problem. Look below my name for the register globals patch files and apply these (new sites only). Vger Link to comment Share on other sites More sharing options...
steviez Posted June 4, 2005 Author Share Posted June 4, 2005 php4.3.11 is very close to php5, so I would try applying the php5 fix to see if that helps - but this should not prevent the installation anyway. On line 31 of admin/includes/classes/upload.php where you see $this change it to unset ($this); Make sure that all of your folder permissions are set to 755 or 777 and that both of your configure.php files are set to 777 - because the install needs to write to them. ----------------------------- Just noticed that Register_Globals is set to 'Off' so this is the probable cause of your problem. Look below my name for the register globals patch files and apply these (new sites only). Vger <{POST_SNAPBACK}> I did that (i think) and it did not work. I want this instaled so bad, why wont it work? Link to comment Share on other sites More sharing options...
♥Vger Posted June 4, 2005 Share Posted June 4, 2005 I did that (i think) Are you referring to installing the Register Globals Patch Files - because that's not something you'd be likely to forget doing. Vger Link to comment Share on other sites More sharing options...
steviez Posted June 4, 2005 Author Share Posted June 4, 2005 Are you referring to installing the Register Globals Patch Files - because that's not something you'd be likely to forget doing. Vger <{POST_SNAPBACK}> i think i did this rite: $this change it to unset ($this); but its still not working. could you set it up manualy? would it work and would you be able to make changes to the script like add contributions? If so i cnt do it so..... if i gave you my username and password would you do it? :D the script is already there so it just needs changing. When i tryed to install in manualy all i got was this: Fatal error: Call to undefined function: mysql_pconnect() in /home/sites/real-computers.co.uk/public_html/Shop/catalog/includes/functions/database.php on line 17 Link to comment Share on other sites More sharing options...
♥Vger Posted June 4, 2005 Share Posted June 4, 2005 From your reply it sounds as though you have not installed the Register Globals Patch Files (which you must do to be able to install on that server). This: Fatal error: Call to undefined function: mysql_pconnect() means that your hosting company has disallowed the use of Persistent Connections. All you have to do is to not tick the box (during the install) to enable persistent connections. I would not install it for you, because you have to install the Register Globals Patch Files. Also, this forum is all about helping people to do things, and not about doing it for them.. Vger Link to comment Share on other sites More sharing options...
steviez Posted June 4, 2005 Author Share Posted June 4, 2005 From your reply it sounds as though you have not installed the Register Globals Patch Files (which you must do to be able to install on that server). This: means that your hosting company has disallowed the use of Persistent Connections. All you have to do is to not tick the box (during the install) to enable persistent connections. I would not install it for you, because you have to install the Register Globals Patch Files. Also, this forum is all about helping people to do things, and not about doing it for them.. Vger <{POST_SNAPBACK}> i have disabled the use of Persistent connections and now i get this: Fatal error: Call to undefined function: mysql_connect() in /home/sites/real-computers.co.uk/public_html/Shop/catalog/includes/functions/database.php on line 19 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.