Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A fix?


Guest

Recommended Posts

We are running php 4.2.2 and received the error 'Unable to determine the page link'.

 

After reading some posts in this forum we enabled register_globals locally ( added line: 'ini_set('register_globals', '1');' to application_top.php but still we had problems.

 

We tracked this down to the file includes/boxes/add_a_quickie.php - on line 12 instead of using $PHP_SELF, $_SERVER['PHP_SELF'] should be used.

 

This is in the current stable release, not sure about the development version.

Link to comment
Share on other sites

Sorry just a follow up, all instances of $php_self were replaced with $_SERVER['php_self']...

 

We don't want to enable register_globals globally (in php.ini) for the reasons it was disabled by the php developers.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...