Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation Question !!


digitalhuman

Recommended Posts

Posted

He there,

 

The installation for the catalog did go well. But the admin part isn't. The configure.php points somehow to the wrong directory. Please help me out.

 

The configure.php

 

define('HTTP_SERVER', 'http://downloads.weeronline.nl/admin/'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.weeronlinebv.nl/');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', 'webshop/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', 'webshop/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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/');

 

 

The message when i try to access the admin part:

 

[client ****] PHP Warning: main(includes/filenames.php): failed to open stream: No such file or directory in /home/domains/downloads.weeronline.nl/html/admin/webshop/includes/application_top.php on line 44

[client ****] PHP Fatal error: main(): Failed opening required 'includes/filenames.php' (include_path='/usr/local/lib/php') in /home/domains/downloads.weeronline.nl/html/admin/webshop/includes/application_top.php on line 44

Posted

Is your admin really in a subdomain??

 

define('HTTP_SERVER', 'http://downloads.weeronline.nl/admin/'); //

 

or should this be the same path as the rest of the site

 

 

'http://www.weeronlinebv.nl/');

 

Also you really should not have the admin in the first line that should be on the line below

 

define('DIR_WS_ADMIN', '/admin/');

 

but you have

 

define('DIR_WS_ADMIN', 'webshop/');

 

Your admin is looking for your files at

 

'http://downloads.weeronline.nl/admin/webshop/

 

When they are probably at

 

'http://www.weeronlinebv.nl/webshop/admin/

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Following on from what Richard said, if your 'store front' is in 'webshop' then this should be the entry:

 

define('DIR_WS_CATALOG', '/webshop/');

 

and for admin it should be:

 

define('DIR_WS_ADMIN', '/webshop/admin/');

 

Vger

Posted

Well I have a slightly similar problem, I get it installed and running. It is installed in a subfolder on the main directory eg www.yourdomain.com/shopping. When I click on "top" it goes to the main directory www.yourdomain.com. I edit the configure.php to show the sub directory and not the top directory but start getting sub header errors, I cant seem to find the error though, something to do with session cookies and cannot send out another, also the alignment of everything becomes skewed.. Is there a way to install in a sub directory and have the "top" link click only to the subdirectory.

Archived

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

×
×
  • Create New...