Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP4 to PHP5 Conversion


Guest

Recommended Posts

I just attempted to convert my website to php5 and had bad luck. I am getting a message after swapping it "Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory." anyone have any luck or know what i should do, Thanks for the help. Hope this helps others too.

Link to comment
Share on other sites

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Thanks Spooks,

I did the Code exchanges, but now i am getting a fatal error:

 

Fatal error: Call to undefined function tep_session_is_registered() in //catalog/includes/application_top.php on line 260

 

Line 260 and down a few.

 

// create the shopping cart & fix the cart if necesary
 if (tep_session_is_registered('cart') && is_object($cart)) {
   if (PHP_VERSION < 4) {
     $broken_cart = $cart;
     $cart = new shoppingCart;
     $cart->unserialize($broken_cart);
   }
 } else {
   tep_session_register('cart');
   $cart = new shoppingCart;
 }

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...