Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment modules not showing and catalog images dir not found


Overdog

Recommended Posts

I have a strange issue when in admin tools everyhting works except the payment,shipping and the other module I just get a path and no joy

also under catagory I get an catagory/images not found maybe someone can see what I am missing, here is my admin config thanks ! oh also when download enabled I get download dir not found even though its there and the path looks good /catalog/download

 

 

 

 

define('HTTP_SERVER', 'http://www.overdog.com/ecom'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

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

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

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

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

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

Link to comment
Share on other sites

Parse error: parse error, unexpected ':' in D:Overdogecomadminincludesconfigure.php on line 20

 

Warning: main(DIR_WS_FUNCTIONSdatabase.php) [function.main]: failed to create stream: No such file or directory in D:Overdogecomadminincludesapplication_top.php on line 139

 

Fatal error: main() [function.main]: Failed opening required 'DIR_WS_FUNCTIONSdatabase.php' (include_path='.;c:phpincludes') in D:Overdogecomadminincludesapplication_top.php on line 139

Link to comment
Share on other sites

See the warning at the top about not finding the /catalog/download directory?

 

That is because your configure.php files have in them things like:

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

Rather than:

 

  define('DIR_FS_DOCUMENT_ROOT', '/home/mylinkto/public_html');

 

Try fixing that for starters.

Link to comment
Share on other sites

You have your configure.php set up as:

 

/catalog/

 

So that is where the Admin is looking for the images when it should be /ecom/catalog/

 

But you have /ecom/ in the URLs

 

You need to remove that from the URLs and put it in the catalog reference.

Link to comment
Share on other sites

Something like this ...

 

define('HTTP_SERVER', 'http://www.overdog.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers 

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

define('HTTPS_CATALOG_SERVER', ''); 

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

define('DIR_FS_DOCUMENT_ROOT', PUT_YOUR_ROOT_PATH_HERE); // 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', '/ecom/admin/'); 

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); 

define('DIR_WS_CATALOG', '/ecom/catalog/');

Link to comment
Share on other sites

I know htis is a permisson thing what's needed ?

 

 

Warning: move_uploaded_file(d:overdog/ecom/catalog/images/2fire.gif) [function.move-uploaded-file]: failed to create stream: Permission denied in D:Overdogecomadminincludesfunctionsgeneral.php on line 789

 

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:PHPuploadtempphp3B.tmp' to 'd:overdog/ecom/catalog/images/2fire.gif' in D:Overdogecomadminincludesfunctionsgeneral.php on line 789

 

Warning: Cannot modify header information - headers already sent by (output started at D:Overdogecomadminincludesfunctionsgeneral.php:789) in D:Overdogecomadminincludesfunctionsgeneral.php on line 18

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...