Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please help, I am getting 3 errors


Guest

Recommended Posts

Hello, I think I was posting this to the wrong area, that is why I wasn't getting any answers. Hopefully this is the right one.

 

I was wondering if someone can help me with this error. I log into my site and at the bottom I receive this error message:

 

 

Warning: session_write_close(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/includes/functions/sessions.php on line 106

 

 

 

when I click on anything I then get the following two error messages:

 

 

 

Warning: main(includes/languages//product_info.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/product_info.php on line 15

 

Warning: main(includes/languages//product_info.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/product_info.php on line 15

 

Fatal error: main(): Failed opening required 'includes/languages//product_info.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/product_info.php on line 15

 

 

 

Warning: main(includes/languages//index.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/index.php on line 33

 

Warning: main(includes/languages//index.php): failed to open stream: No such file or directory in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/index.php on line 33

 

Fatal error: main(): Failed opening required 'includes/languages//index.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/vhosts/*/httpdocs/oscommerce-2.2ms2/catalog/index.php on line 33

 

 

I have been searching for two days to try and figure it out and can't seem to find anything that helps. I have looked in the files but I am not sure how to tell what the line numbers are.

 

If anyone can help me please.

 

Thank you.

Link to comment
Share on other sites

check your includes/config.php file

 

looks like you have an extra / in your urls: //product_info.php

 

post the code in your config file if you cant work it out

 

 

I'm not sure what you mean. Is it my configure.php file? If so here it is.

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.storybooklane.ca'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.storybooklane.ca');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/oscommerce-2.2ms2/catalog/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/oscommerce-2.2ms2/catalog/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

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

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/var/home/httpd/vhosts/storybooklane.ca/httpdocs/oscommerce-2.2ms2/catalog/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '*');

define('DB_SERVER_PASSWORD', '*');

define('DB_DATABASE', '*');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...