Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't get Admin Console Working


Guest

Recommended Posts

Desperately need help here.

 

I've been on this problem for 3 days now and tried reinstalling everything very carefully and keeping getting stuck here. Can't even start using the admin console to customise the page.

 

Installed everything as per instructions but get the following error the moment i open Admin.

 

Warning: main(includes/languages/english/): failed to open stream: No such file or directory in /home/mariedawn/htdocs/catalog/admin/includes/application_top.php on line 133

 

Warning: main(): Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/local/lib/php') in /home/mariedawn/htdocs/catalog/admin/includes/application_top.php on line 133

 

Can anyone out there please enlighten me how to solve this so that I can at least start using OsCommerce ? Thanks Really appreciate it.!

Link to comment
Share on other sites

Make sure you have a directory called catalog/admin/includes/languages/english in your htdocs directory. For some reason osCommerce can't find it - it should be there. If it's there, try changing the permissions on it. CHMOD 777 is pretty foolproof - you may want to restrict it later.

Link to comment
Share on other sites

sorry still didnt work after i chmod 777 on the includes/languages/english/ folders in both admin and catalog...

 

here is my config file, can you help me check if I have put in the config values correctly please? thanks.

 

// Define the webserver and path parameters

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

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

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

define('HTTP_CATALOG_SERVER', 'http://www.mariedawn.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/mariedawn/htdocs/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/mariedawn/htdocs/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/home/mariedawn/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/');

Link to comment
Share on other sites

// define our database connection

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

define('DB_SERVER_USERNAME', 'mariedawn');

define('DB_SERVER_PASSWORD', 'xxxxxxxx');

define('DB_DATABASE', 'mariedawn_db');

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

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

?>

Link to comment
Share on other sites

you have:

define('DIR_FS_DOCUMENT_ROOT', '/home/mariedawn/htdocs/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required

 

get rid of the /catalog/ in document root . . . as your wsadmin will use document root

Link to comment
Share on other sites

Thanks mate. Was brilliant but unfortunately, still haven't been able to solve the problem yet... any other ideas on what to amend on the config file?

Thanks

 

Jacob

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...