Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A fix?


Guest

Recommended Posts

Posted

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.

Posted

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.

Archived

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

×
×
  • Create New...