Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easy Q about script_filename


philonous

Recommended Posts

I am having trouble getting the google checkout modules to work. I keep getting this error:

 

Warning: gosccommunicator(/home/httpd/vhosts/walki-talki.com/httpdocs/teststoreincludes/functions/database.php): failed to open stream: No such file or directory in /home/httpd/vhosts/walki-talki.com/httpdocs/teststore/googlecheckout/classes/gOscCommunicator.php on line 19

 

for some reason, the path has teststoreincludes instead of teststore/includes. A critical slash is missing.

 

Line 19 looks like this:

require_once(DIR_FS_CATALOG.DIR_WS_FUNCTIONS.'database.php');

 

and the two variables are defined like so in configure.php:

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

 

This works with everything else, of course, but not here. What is the problem? Is this a php bug?

Payam

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...