Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with access my catalog/admin


Guest

Recommended Posts

:blink: I have a big problem, I can't access to my catalog/admin.

 

I have had this problem:

 

Warning: main(includes/languages/englishlanguage.php): failed to open stream: No such file or directory in /home/masterki/public_html/catalog/admin/includes/application_top.php on line 130

 

Warning: main(includes/languages/englishlanguage.php): failed to open stream: No such file or directory in /home/masterki/public_html/catalog/admin/includes/application_top.php on line 130

 

Fatal error: main(): Failed opening required 'includes/languages/englishlanguage.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/masterki/public_html/catalog/admin/includes/application_top.php on line 130

 

What can I do now ?

 

Thanks you.

 

(If you can response in french, it will be better.)

Link to comment
Share on other sites

Il a l'air d'il y a quelque chose inexact avec votre configure.php. Si vous le postez ici sans l'information de donn?es du fond du dossier je suis s?r que quelqu'un pourra dire s'il y a quelque chose mauvais et vous permettez de sait comment le r?parer.

 

Le dossier est catalog/admin/includes/configure.php

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Voici le fichier configure.php

 

<?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.XXXXXXXXXX.com'); // 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.XXXXXXXXXX.com');

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', '/home/masterki/public_html/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', 'XXXXX_XXXXX');

define('DB_SERVER_PASSWORD', 'XXXXX');

define('DB_DATABASE', 'XXXXX_osc');

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

Il a l'air d'il y a quelque chose inexact avec votre configure.php. Si vous le postez ici sans l'information de donn?es du fond du dossier je suis s?r que quelqu'un pourra dire s'il y a quelque chose mauvais et vous permettez de sait comment le r?parer.

 

Le dossier est catalog/admin/includes/configure.php

 

How cool is that B) I might be able to speak PHP but I wish I could speak another language.

Link to comment
Share on other sites

Here what I have at my line 130 (in red):

 

// include the language translations

require(DIR_WS_LANGUAGES . $language . '.php');

$current_page = basename($PHP_SELF);

if (file_exists(DIR_WS_LANGUAGES . $language . '/' . $current_page)) {

include(DIR_WS_LANGUAGES . $language . '/' . $current_page);

}

 

All that in file application_top.php in catalog/admin/includes

Link to comment
Share on other sites

  • 2 weeks later...

If you are still having a problem, can you post the configure.php from your catalog/admin/includes/configure.php like i said before?

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...