Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP_SELF is EMPTY!


obsidianBlk

Recommended Posts

Posted

I have been modifying the latest release (as of a month ago) of ocCommerce for a friend of mine. I have an offline test copy running (localhost webserver) and an online test copy (on a host server). Both test copies, vinilla and modified run great! Not one issue. However, when I migrated the modified version over to my friends host, everything seemed to work until we noticed the payment modules and login system failed.

 

After spending hours tracking down the issue, it came to my attention that the system was failing due to the fact that the variable $PHP_SELF is empty! I have checked everything. Register_Globals is ON! Both my host and my friends host are running the same version of PHP. Both servers are also running unix systems. I have run out of ideas on why $PHP_SELF would be empty. $_SERVER['PHP_SELF'] has a value, but not a valid value.

 

I know I said I was running a modified version of osCommerce, but I want to mention that all areas that are failing are UNMODIFIED!

 

There is only one thing left I can think of. When I installed osCommerce onto my host, I used osCommerce's install system. For my friend, I just uploaded a backup copy of the test database and readjusted the config.php files. There shouldn't be any reason I can think of that doing that would cause $PHP_SELF to go blank, but perhaps I'm missing something?

 

PLEASE! Any help would be very very welcome!

Thank you!

-Obs

Archived

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

×
×
  • Create New...