Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

where do I copy the /admin folder?


jsn

Recommended Posts

Hi all.

 

I am trying to install a store running :

 

http://www.yourserver.com/catalog/install/install.php

 

version oscommerce-2.2ms2.

 

I copied the folders under Document Root (public_html)

/catalog

/admin

 

The folder /admin was under /catalog I moved it to the root .

 

But when I try to install oscommerce:

http://www.yourserver.com/catalog/install/install.php. It does not ask for the /admin location folder, so it shows an error message because it does not find the file /admin/includes/configure.php

 

Where should I copy the folder /admin, in the root or leave it inside /catalog.

 

I changed the permissions:

 

/admin/includes chmod 755

/catalog/includes chmod 755

/admin/includes/configure.php chmod 777

/catalog/includes/configure.php chmod 777

/catalog/images chmod 777

 

thanks

jsn

Link to comment
Share on other sites

Do your install first, then you can move the admin and configure your includes configure.php file to reflect the location of the admin folder or vice versa.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

change admin/includes/configure.php to reflect the new paths

 

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

 

changes to

 

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

 

define('DIR_FS_ADMIN', '/xxx/xxx/public_html/catalog/admin/');

 

changes to

 

define('DIR_FS_ADMIN', '/xxx/xxx/public_html/admin/');

 

where /xxx/xxx/public_html is the absolute path for your domain this could be

 

/home/mysite/public/admin/

 

if you are unsure of the path then look in catalog/includes/configure.php this will show the path relative to catalog and will be the same root path fro admin, you can copy this path and change the part that says catalog to admin

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...