Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help with configure.php


jreid

Recommended Posts

Posted

My admin/configure.php is wrong. It is giving me a Error: Backup directory does not exist. Please set this in configure.php. If someone could please help me.

 

PHP CODE

 

<?php

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

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

define('HTTPS_CATALOG_SERVER', 'http://www.heattreatdepot.com');

define('ENABLE_SSL_CATALOG', 'false');

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

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

define('DIR_FS_ADMIN', '/home/HTDepot/public_html/admin/');

define('DIR_WS_CATALOG', '/');

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

 

 

define('DB_SERVER', 'blablabla.bliblibli.com');

define('DB_SERVER_USERNAME', 'xxxx');

define('DB_SERVER_PASSWORD', 'xxxxx');

define('DB_DATABASE', 'mydatabasename');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

I just need help with this really bad.

Posted

Warning! When you post your configure.php file to these forums, do not include the part that has your database login credentials. Now the whole world can see the username and password for your database.

Check out Chad's News.

Posted

You may have to create the backup directory. Just create a directory named "backups" in the public_html/admin directory.

 

.

Check out Chad's News.

Posted

Warning! When you post your configure.php file to these forums, do not include the part that has your database login credentials. Now the whole world can see the username and password for your database.

 

Chad,

 

Thanks for that I forgot. Do you know how to fix this issue also, the issue you emailed me about clearing the sessions table didn't fix the other problem either.

Posted
Do you know how to fix this issue also, the issue you emailed me about clearing the sessions table didn't fix the other problem either.

 

Regarding the sessions issue, why don't you post it to the forums as a new thread, where we can all look at it.

 

.

Check out Chad's News.

Posted

You may have to create the backup directory. Just create a directory named "backups" in the public_html/admin directory.

 

.

 

Backups is already there it is like it is not connecting to it. If I can give you my login credintials do you think you could fix this error I know that is alot to ask but I have tried to fix this for 4 days and I need to have this site live by tomorrow.

Posted

Regarding the sessions issue, why don't you post it to the forums as a new thread, where we can all look at it.

 

.

 

 

This is the issue if I go to account.php

 

Fatal error: Call to a member function set_snapshot() on a non-object in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/account.php on line 16

 

This is the issue if I click on login.php

 

Fatal error: Cannot redeclare tep_validate_password() (previously declared in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php:16) in /hermes/bosweb/web063/b636/ipw.htdepot/public_html/includes/functions/password_funcs.php on line 29

Posted

Backups is already there it is like it is not connecting to it. If I can give you my login credintials do you think you could fix this error I know that is alot to ask but I have tried to fix this for 4 days and I need to have this site live by tomorrow.

 

Contact me via email like you did before, and we'll discuss this.

Check out Chad's News.

Posted

Contact me via email like you did before, and we'll discuss this.

 

Chad did you recieve the message?

  • 2 weeks later...
Posted

I've been having this same problem, and I've seen it addressed all over the forum, but nothing has worked for me. I'm using v2.2 rc2 on Debian GNU/Linux, and continually get an error in the database backup, saying the folder does not exist.

 

Upon reading elsewhere in the forum that the backup function is bugged, I decided to install the auto backup contribution. Same thing, slightly different message:

 

Error Error, Backup Directory Does Not Exist, please create it or run "auto_backup_setup.php"

 

The backup directory absolutely does exist, and its permissions are at 755. Upon running auto_backup_setup.php, I get this error:

 

Warning: mkdir() [function.mkdir]: No such file or directory in /home/www/naturalobsessionsfiber.org/heddle/auto_backup_setup.php on line 7

 

I had previously renamed the admin folder. Everything else in admin is working properly, so that probably isn't the problem. I have tried removing the .htaccess file, so that isn't the problem. Here is my configure.php info, minus password stuff. You might note some confusion among domain name, from sc22.info to the naturalobsessionsfiber one. I don't think this is relevant--the same issue persists no matter what I put in these fields: everything else works, this one thing does not. (Most of this data was written by the Elefante installer on the clients' host.)

 

If anyone has a solution, can we put it here? Thanks so much!

 

<?php
 define('HTTP_SERVER', 'http://natrlobs.sc22.info/');
 define('HTTP_CATALOG_SERVER', 'http://natrlobs.sc22.info/');
 define('HTTPS_CATALOG_SERVER', 'http://natrlobs.sc22.info/');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']); 
 define('DIR_WS_ADMIN', 'heddle/');
 define('DIR_FS_ADMIN', '/naturalobsessionsfiber.org/heddle/');
 define('DIR_WS_CATALOG', '/');
 define('DIR_FS_CATALOG', 'http://natrlobs.sc22.info/');
 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/');

Posted

 define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']); 
 define('DIR_FS_ADMIN', '/naturalobsessionsfiber.org/heddle/');
 define('DIR_FS_CATALOG', 'http://natrlobs.sc22.info/');

The values for DIR_FS_ADMIN and DIR_FS_CATALOG are incorrect. These should not be web addresses or even relative to the website's root -- they are the fully-qualified filesystem paths to the appropriate directories. That's what was wrong with jreid's configure.php, back in the original post for this thread.

Check out Chad's News.

Archived

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

×
×
  • Create New...