Guest Posted February 28, 2005 Share Posted February 28, 2005 Hello there... Ive set up two shops for my friends stores on the net on a very stabile and secure Webhost.. *Webhotel* The thing is that theyre upgrading all servers and with this upgrade they will run PHP Version 5.0.2 and above. Is there a way of copying any Dll files from the working server wich is a php4 or when will OsC Ms 2.2 work with PHP5 I beleve meny others like me face this problem and it could be Gr8 if we got a Sticky on this topic ;) Kind regards. Pendragon Link to comment Share on other sites More sharing options...
aromacraft Posted February 28, 2005 Share Posted February 28, 2005 Im running PHP version 5.0.3 Apache version 2.0.52 MySQL version 4.0.23 and i must say the site is running great the only problem which i noticed was when the upgrade was done the admin was blank which was a quick one line fix and away we go.... hope this helps :thumbsup: Marc Link to comment Share on other sites More sharing options...
Guest Posted March 1, 2005 Share Posted March 1, 2005 Im running PHP version 5.0.3 Apache version 2.0.52 MySQL version 4.0.23 and i must say the site is running great the only problem which i noticed was when the upgrade was done the admin was blank which was a quick one line fix and away we go.... hope this helps :thumbsup: Marc <{POST_SNAPBACK}> Ooh Gee Thanx mate that helped :D Noot :'( Exactly what did you do to configure your "Clean install of OsC Ms 2.2" wich Contribs / Patches and Why ? I patched the shop with a Register_Globals Disable Contrib and i cant get past Step 2 in the installation... Any ideas... Link to comment Share on other sites More sharing options...
Guest Posted March 6, 2005 Share Posted March 6, 2005 Anyone ? :'( Link to comment Share on other sites More sharing options...
Guest Posted March 23, 2005 Share Posted March 23, 2005 Anyone ? :'( <{POST_SNAPBACK}> Arrgghh... :) dosent anyone run php5 and osc 2.2 ? or does anyone know how too ? Link to comment Share on other sites More sharing options...
♥Vger Posted March 23, 2005 Share Posted March 23, 2005 Your hosting company upgrading to php5+ doesn't have anything to do with Register Globals being set to 'Off' unless they are also doing that. Unless they have set Register Globals to 'Off' you should not use the Register Globals patch. The only thing you need to do to get osCommerce and php5 to work together is to go to admin/includes/classes/upload.php and on line 31 where you see $this change it to //$this. Vger Link to comment Share on other sites More sharing options...
victor_ganea Posted March 23, 2005 Share Posted March 23, 2005 About PHP 5 and OsC Ms2.2, i also find a bug. You can make a new account, but you can not enter. When you put your username and passwd in the login form, usually redirects to index.php, and compare your email address and password, with the ones from the database. But now, even if the password is ok, it won't recognise any more the users. (After redirecting to index.php, on that page, instead of appearing Welcome ... mr X ..., it's allways Welcome guest, like you didn't login before.) Any ideeas? you can try that at www.deseuri-online.ro :)) I believe that it's about these lines... if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); Do you know how to solve that problem? Link to comment Share on other sites More sharing options...
♥Vger Posted March 24, 2005 Share Posted March 24, 2005 In includes/configure.php make sure that your cookie_domain is set to either: www.yourdomain.com or yourdomain.com Vger Link to comment Share on other sites More sharing options...
Guest Posted May 11, 2005 Share Posted May 11, 2005 Your hosting company upgrading to php5+ doesn't have anything to do with Register Globals being set to 'Off' unless they are also doing that. Unless they have set Register Globals to 'Off' you should not use the Register Globals patch. The only thing you need to do to get osCommerce and php5 to work together is to go to admin/includes/classes/upload.php and on line 31 where you see $this change it to //$this. Vger <{POST_SNAPBACK}> Will this work on a new install * If i download a fresh OSC Ms2.2 install Edit the file above and run the install, will it work ? Link to comment Share on other sites More sharing options...
Winterchild Posted May 11, 2005 Share Posted May 11, 2005 Will this work on a new install * If i download a fresh OSC Ms2.2 install Edit the file above and run the install, will it work ? yes 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...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.