Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie installing for the first time....


Guest

Recommended Posts

Hi,

 

Have never seen this before, and was asked to reinstall it for a friend.

 

I backed up the database and moved it to the new server and then started fiddling (as you do) to see if I could make it work on my own.

 

I found the includes/configure.php and admin/includes/configure.php files and started there.

I thought I must have done something right because the shop itself showed up pretty quickly to my relief :)

 

I managed to get into the language files and edit the demo bits off the main page too.

 

However, I have read through 8 pages of posts and not seen anyone with the things I want to ask about, so I hope like anything Im not posting this in the wrong place........

 

First Problem;

I have created a folder admin/adminbackups and CHMOD it to 777

 

I edited admin/includes/configure.php to read;

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'adminbackups/');

 

Yet in the admin section I am getting the following message;

Error Error: Backup directory does not exist. Please set this in configure.php.

 

 

Second Problem;

There are images showing in the Catalogs section when you go to the shop.

There are pics and product info for 4 items and the pictures display fine from a customer point of view.

However, in the Admin section when you click on catalogs, you get the following error;

Error: Catalog images directory does not exist: /shoppinght/images/

 

Now the images directory is on the server, and it is CHMOD to 777.

 

 

Third Problem;

When you are in the admin section and you click on tools/define language

You get the following error;

Warning: dir(/shoppinght/includes/languages/english): failed to open dir: No such file or directory in /home/head/public_html/shoppinght/admin/define_language.php on line 152

 

 

Fourth Problem;

When you are in the admin section and you click on tools/file manager

You get the following errors;

Warning: dir(/shoppinght/): failed to open dir: No such file or directory in /home/head/public_html/shoppinght/admin/file_manager.php on line 178

Fatal error: Call to a member function on a non-object in /home/head/public_html/shoppinght/admin/file_manager.php on line 179

 

 

 

Where have I gone wrong and how can i fix it??

 

I am more than happy to post whatever info I can to help get these small but frustrating glitches sorted.

 

Thank you...........

Link to comment
Share on other sites

Hi,

 

Have never seen this before, and was asked to reinstall it for a friend.

 

I backed up the database and moved it to the new server and then started fiddling (as you do) to see if I could make it work on my own.

 

I found the includes/configure.php and admin/includes/configure.php files and started there.

I thought I must have done something right because the shop itself showed up pretty quickly to my relief :)

 

I managed to get into the language files and edit the demo bits off the main page too.

 

However, I have read through 8 pages of posts and not seen anyone with the things I want to ask about, so I hope like anything Im not posting this in the wrong place........

 

First Problem;

I have created a folder admin/adminbackups and CHMOD it to 777

 

I edited admin/includes/configure.php to read;

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'adminbackups/');

 

Yet in the admin section I am getting the following message;

Error Error: Backup directory does not exist. Please set this in configure.php.

Second Problem;

There are images showing in the Catalogs section when you go to the shop.

There are pics and product info for 4 items and the pictures display fine from a customer point of view.

However, in the Admin section when you click on catalogs, you get the following error;

Error: Catalog images directory does not exist: /shoppinght/images/

 

Now the images directory is on the server, and it is CHMOD to 777.

Third Problem;

When you are in the admin section and you click on tools/define language

You get the following error;

Warning: dir(/shoppinght/includes/languages/english): failed to open dir: No such file or directory in /home/head/public_html/shoppinght/admin/define_language.php on line 152

Fourth Problem;

When you are in the admin section and you click on tools/file manager

You get the following errors;

Warning: dir(/shoppinght/): failed to open dir: No such file or directory in /home/head/public_html/shoppinght/admin/file_manager.php on line 178

Fatal error: Call to a member function on a non-object in /home/head/public_html/shoppinght/admin/file_manager.php on line 179

Where have I gone wrong and how can i fix it??

 

I am more than happy to post whatever info I can to help get these small but frustrating glitches sorted.

 

Thank you...........

Seems like errors in your catalog/admin/includes/configure.php

Heres the first two for starters

( 1 )define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

( 2 )define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

Seems like errors in your catalog/admin/includes/configure.php

Heres the first two for starters

( 1 )define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

( 2 )define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 

Okay, if it helps, here is the contents of the file (without the obvious info)

On the server I definitely have the directories;

shoppinght/images

shoppinght/admin/backups

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://**********.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://**********.com');
 define('HTTPS_CATALOG_SERVER', 'https://**********.com');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/shoppinght/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/shoppinght/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/shoppinght/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/shoppinght/'); // absolute path required
 define('DIR_FS_CATALOG', '/shoppinght/'); // absolute path required
 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 our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'head_**********');
 define('DB_SERVER_PASSWORD', '*********');
 define('DB_DATABASE', 'head_osc1');
 define('USE_PCONNECT', 'false'); // use persisstent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...