Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shop does work in Internetexplorer but with Firefox i get errors !?


TheGameMen

Recommended Posts

Goodmorning,

 

I had a few days ago a problem with the Dutch Language pack , wich i managed to solve with the help on this forum , thank you all again for that.

 

Now i have again a problem , yes sorry i ask too much i know..

 

The strange problem is :

 

I can view my webshop in Internetexplorer with the dutch language ( i delted all other languages ) but when i open the webshop in Firefox i get the following error's:

 

Warning: main(includes/languages//catalog/includes/languages/engl.php): failed to open stream: No such file or directory in /var/www/virtual/comp-sys.nl/htdocs/catalog/includes/application_top.php on line 286

 

Fatal error: main(): Failed opening required 'includes/languages//catalog/includes/languages/engl.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/virtual/comp-sys.nl/htdocs/catalog/includes/application_top.php on line 286

 

I tried changing the file english.php into engl.php but that didnt help.

 

See it your self :

http://www.comp-sys.nl/catalog/index.php

 

Any help would be very great and apricciated

 

Freek

Link to comment
Share on other sites

Goodmorning,

 

I had a few days ago a problem with the Dutch Language pack , wich i managed to solve with the help on this forum , thank you all again for that.

 

Now i have again a problem , yes sorry i ask too much i know..

 

The strange problem is :

 

I can view my webshop in Internetexplorer with the dutch language ( i delted all other languages ) but when i open the webshop in Firefox i get the following error's:

 

Warning: main(includes/languages//catalog/includes/languages/engl.php): failed to open stream: No such file or directory in /var/www/virtual/comp-sys.nl/htdocs/catalog/includes/application_top.php on line 286

 

Fatal error: main(): Failed opening required 'includes/languages//catalog/includes/languages/engl.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/virtual/comp-sys.nl/htdocs/catalog/includes/application_top.php on line 286

 

I tried changing the file english.php into engl.php but that didnt help.

 

See it your self :

http://www.comp-sys.nl/catalog/index.php

 

Any help would be very great and apricciated

 

Freek

 

No problem here in FF ?!

Link to comment
Share on other sites

includes/languages//catalog/includes/languages/engl.php):

 

Check your includes/configure.php file - look at the file pathway above and you'll see the error - doubling of the file pathway.

 

Vger

Link to comment
Share on other sites

@weeloftime: Strange it keeps saying the error's !

 

@vger:

 

I just cannot find it.

Mabey you can ?

 

configure.php from catalog/admin/includes

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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.comp-sys.nl'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.comp-sys.nl');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/var/www/virtual/comp-sys.nl/htdocs/catalog/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/var/www/virtual/comp-sys.nl/htdocs/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/var/www/virtual/comp-sys.nl/htdocs/catalog/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'shop');
 define('DB_SERVER_PASSWORD', 'FSWS112');
 define('DB_DATABASE', 'shop');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

 

configure.php of catalog/includes:

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 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.comp-sys.nl'); // 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.comp-sys.nl');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/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/www/virtual/comp-sys.nl/htdocs/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', 'shop');
 define('DB_SERVER_PASSWORD', 'FSWS112');
 define('DB_DATABASE', 'shop');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

 

Thank you very much !

 

Freek

Link to comment
Share on other sites

@weeloftime: Strange it keeps saying the error's !

 

@vger:

 

I just cannot find it.

Mabey you can ?

 

Thank you very much !

 

Freek

 

Ha Freek,

 

I was about to say the same as Vger when I saw your error message but when I tried your link in IE and FF I didn't get any error and so I thought you already fixed it. I just tried again and again I do not have any problems and/or errors inside IE or FF.

If you look closely to this first error line though

includes/languages//catalog/includes/languages/engl.php

you see the double / and the concatenation of includes/languages two times. Mostly this error is from a wrong configure.php but I do not see any, obvious, problems with those.

How comes you have an engl.php instead of the default english.php ? Have you done any special changes and/or contribs which could cause this error ?

 

groet,

Howard

Link to comment
Share on other sites

Hi Howard,

 

No i don't have any contributions installed , just the Dutch Language pack , thats all.

I started with a fresh install some days ago and didnt added any products at all only i added was the Dutch Language..

 

No i didnt change my english.php name into engl.php...

 

Very strange isnt it ?

 

Hmm , how to solve ?

 

Thanks for all the help

Link to comment
Share on other sites

Hi Howard,

 

No i don't have any contributions installed , just the Dutch Language pack , thats all.

I started with a fresh install some days ago and didnt added any products at all only i added was the Dutch Language..

 

No i didnt change my english.php name into engl.php...

 

Very strange isnt it ?

 

Hmm , how to solve ?

 

Thanks for all the help

 

You could try another re-install but I can not get the error you describe for the life of it ?!

For me everything still works alright.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...