Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

configuring configure.php


tubarao21

Recommended Posts

Hi there. Thank you in advance for the support given until now :thumbsup:

 

I still have some issues that i can't solve.

Well, it seems the store is half online :)

There's still one or two things to be fixed. I looked at other posts but still i'm confused.

 

In entering in Administration i get error messages at the top of the page. This happens in Catalog:

"Catalog images directory does not exist: /home/httpd/vhosts/realestudo.com/httpdocs/real-papelaria/catalog/images/"

 

In fact there's no Catalog directory here. And when i click OnLine Catalog i get the 404 error: Object not found. In configure.php i specified localhost, but presents an error message. "Can't go to localhost" or something, so i deleted localhost.

 

Something alike happens while clicking Tools. At the top of the page i get: "Error: Backup directory is not writeable" and presents the path :"Backup Directory: /home/httpd/vhosts/realestudo.com/httpdocs/real-papelaria/admin/backups/". This directory exists. I can see it in File Manager.

 

And in the submenus there are this events:

Banner Manager: " Error: Graphs directory is not writeable ", but presents the default banner.

Cache Control: "Error: Cache directory does not exist. Please set this Configuration->Cache." Presents the path: "Cache Directory: /tmp/". I don't now where i set this.

 

And that's it. :blush:

 

A little extense but hope you can help me.

Thank you :thumbsup:

Link to comment
Share on other sites

Set Use Cache to false. Ona shared server it's best not to use the Cache feature.

 

Make sure that the 'backups' folder has permissions of 706, 755, or 777. Try 706 first and if that doesn't work then 755 then 777. The same for the graphs and images folders.

 

Check both of your configure.php files to make sure that 'catalog' is not entered as part of the pathways.

 

I don't know what you meany by 'deleted localhost' because 'localhost' is the server. If you had 'localhost' as your setting for your domain name e.g.

define('HTTP_SERVER', 'http://localhost');

then this should read (for an online install)

define('HTTP_SERVER', 'http://www.yourdomain.com');

 

Vger

Link to comment
Share on other sites

I just deleted the text 'localhost' in configure.php.

 

And i made some changes that i think it messed up with configure.php.

I think the problem is a result of a bad especification in configure.php.

I know that this file is very specific for each owner of a store, but can you look at it and see if there's something wrong?

 

Thank u a zillion times ;)

 

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

define('HTTP_CATALOG_SERVER', 'http://www.realestudo.com/real-papelaria');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', 'http://www.realestudo.com/real-papelaria' ); //$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', 'http://www.realestudo.com/real-papelaria/admin/');

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

define('DIR_FS_CATALOG', 'http://www.realestudo.com/real-papelaria/');

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

Archived

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

×
×
  • Create New...