Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error in transfered osCommerce


kurtissn

Recommended Posts

We have just transfered our web site and osCommerce to SiteGround.com. The shopping cart was transfered mostly by SiteGround. Now that the DNS servers point to the transfered site, I'm trying to restore the latest MySQL backup. If I do to admin and select TOOLS - BACKUP, I get "Error: Backup directory does not exist. Please set this in configure.php." but admin/includes/config.php says define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); and the backup directory DOES exist with 2 backup SQL files in it.

 

If I go to TOOLS- FILE_MANAGER to check, I get

 

Warning: dir(/catalog/) [function.dir]: failed to open dir: No such file or directory in /home/bobsclam/public_html/catalog/admin/file_manager.php on line 178

 

Fatal error: Call to a member function read() on a non-object in /home/xxxxxxxx/public_html/catalog/admin/file_manager.php on line 179

 

NOTE: I have changed the actual path to xxxxxxxx in the line above for this email.

 

Any help would be appreciated

 

Thanks

Curtis

Link to comment
Share on other sites

Have you checked that the contents of both your configure.php files point to your new site?

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

We have just transfered our web site and osCommerce to SiteGround.com. The shopping cart was transfered mostly by SiteGround. Now that the DNS servers point to the transfered site, I'm trying to restore the latest MySQL backup. If I do to admin and select TOOLS - BACKUP, I get "Error: Backup directory does not exist. Please set this in configure.php." but admin/includes/config.php says define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); and the backup directory DOES exist with 2 backup SQL files in it.

 

If I go to TOOLS- FILE_MANAGER to check, I get

 

Warning: dir(/catalog/) [function.dir]: failed to open dir: No such file or directory in /home/bobsclam/public_html/catalog/admin/file_manager.php on line 178

 

Fatal error: Call to a member function read() on a non-object in /home/xxxxxxxx/public_html/catalog/admin/file_manager.php on line 179

 

NOTE: I have changed the actual path to xxxxxxxx in the line above for this email.

 

Any help would be appreciated

 

Thanks

Curtis

 

Don't know why but if I change

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

to

define('DIR_FS_DOCUMENT_ROOT', '/home/bobsclam/public_html/catalog/;

in both configure.php files, then FILE MANAGER works ????????

 

Don't know why but at least it's working.

 

Curtis

Link to comment
Share on other sites

Don't know why but if I change

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

to

define('DIR_FS_DOCUMENT_ROOT', '/home/bobsclam/public_html/catalog/;

in both configure.php files, then FILE MANAGER works ????????

 

Don't know why but at least it's working.

 

Curtis

 

Now I find at SiteGround under "How to transfer my osCommerce from one host to another?"

 

DIR_FS_DOCUMENT_ROOT - the absolute path to your shop, e.g. /home/user/public_html/shop/:

EXAMPLE: define('DIR_FS_DOCUMENT_ROOT', '/home/user/public_html/shop/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...