Jaime Posted February 26, 2007 Share Posted February 26, 2007 Hi, first of all sorry for my bad english. I have a server with Suse 9.5 and a control panel of Plesk 7.5, that have several oscommerce installed. But for security resons we need to upgrade to Suse 10.1 and a control panel of PLesk 8.1. The problem is that the Suse 10.1 for defautl came with PHP 5. And if I try to downgrade to PHP 4 the server stop working with the Plesk 8.1. I need help because all my e-commerces didn't work now. Please tell me if I need to do any change in the source code to work with PHP 5 or it if something that I cane do to make my oscommerce back to normal. Thanks. Link to comment Share on other sites More sharing options...
GemRock Posted February 26, 2007 Share Posted February 26, 2007 osc has no problem with php5 in general. My test server uses php5 and has a number of website running no problem. What exactly your php version is, 5.??. You should look for some other possible problem/issues with your ne wserver setup, such as register globals, safe mode etc. Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
Jaime Posted February 26, 2007 Author Share Posted February 26, 2007 The version of PHP is PHP 5.1.2. I check all de configurations and I thinks there are all right. You can see the info of my PHP in the next URL http://www.sinfin.net.mx/info.php YOu can see the problems that I'm having in this URL: http://www.sinfin.net.mx/tienda/ This one was on prodoction, and the producst exist in the DB. But don't display anything. And if I try to enter to the admin the page didn't appear. http://www.sinfin.net.mx/tienda2/install Hear I try to install a new oscommerce, but If you click on the install link, nothing happnes. Plese any other Idea? Link to comment Share on other sites More sharing options...
GemRock Posted February 26, 2007 Share Posted February 26, 2007 Did you not notice th esafe mode is ON? Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
Jaime Posted February 26, 2007 Author Share Posted February 26, 2007 Sorry I don't notice that, I will tor Off that option and make test. Thanks Link to comment Share on other sites More sharing options...
Jaime Posted February 26, 2007 Author Share Posted February 26, 2007 Did you not notice th esafe mode is ON? Ken I make this change, but the problem is still there. Any other idea? Link to comment Share on other sites More sharing options...
Jaime Posted February 26, 2007 Author Share Posted February 26, 2007 osc has no problem with php5 in general. My test server uses php5 and has a number of website running no problem. What exactly your php version is, 5.??. You should look for some other possible problem/issues with your ne wserver setup, such as register globals, safe mode etc. Ken Can you send me a screen shot of the configuration of the PHP 5 in your server to compara with all the configuration that I have in mine Thanks Link to comment Share on other sites More sharing options...
Velveeta Posted February 26, 2007 Share Posted February 26, 2007 Can you send me a screen shot of the configuration of the PHP 5 in your server to compara with all the configuration that I have in mine Thanks I think I'm missing the error here... I checked out the site, and it loads just fine for me, with the exception of 1 product that has a broken image on the front page... The install folder seemed to work ok when I clicked the install link as well, what's going on with it that's not working correctly? Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
GemRock Posted February 26, 2007 Share Posted February 26, 2007 If I were you, i'd look smoewhere else first and first most for the problem, rather than blaming on php5, eg, load a stock osc to see if it works. Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience. Link to comment Share on other sites More sharing options...
Jaime Posted February 26, 2007 Author Share Posted February 26, 2007 The store in http://www.sinfin.net.mx/tienda/ have sotck, and works fine unntil we upgrede to PHP 5 if you macke click in a product the tescription didn't apperar, like if there isn't a product. But I see in the SQL DB and all the info is there. and if I try to enter to the admin area I only have a blanck page. If you try to instal the Oscommerce like in http://www.sinfin.net.mx/tienda2/install when you try to continue you can, it load the same page. If this isnt' problem of the PHP 5 what do you suggest that is the problem? Link to comment Share on other sites More sharing options...
Velveeta Posted February 26, 2007 Share Posted February 26, 2007 The store in http://www.sinfin.net.mx/tienda/ have sotck, and works fine unntil we upgrede to PHP 5 if you macke click in a product the tescription didn't apperar, like if there isn't a product. But I see in the SQL DB and all the info is there. and if I try to enter to the admin area I only have a blanck page. If you try to instal the Oscommerce like in http://www.sinfin.net.mx/tienda2/install when you try to continue you can, it load the same page. If this isnt' problem of the PHP 5 what do you suggest that is the problem? Hmmm, looks like it's not grabbing the get variables from the url string for some reason... Any idea if register_globals is turned on or off in the php.ini file? Although if it were off, it should be throwing an error to say so... But the reason it's looping that page of the install is because it's not reading that the "step" variable is now 1, and on the product_info.php page of the store that's installed, it's not reading the products_id value from the url string... Try this real quick just as an experiment... Edit your product_info.php file, and wherever you see a reference to $HTTP_GET_VARS['products_id'], change it to $_GET['products_id']... See if that fixes the problem on that page at least... Richard. Richard Lindsey Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.