I installed osc 2.2, and moved my admin folder to inside the catalog folder. when I goto admin to "choose an action.." none of the links work.
how to fix this, so I may proceed to protect my admin folder.
Thanks for help.
This is a discussion on admin path problem within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I installed osc 2.2, and moved my admin folder to inside the catalog folder. when I goto admin to "choose ...
I installed osc 2.2, and moved my admin folder to inside the catalog folder. when I goto admin to "choose an action.." none of the links work.
how to fix this, so I may proceed to protect my admin folder.
Thanks for help.
Let me clarify what I did....
I aquired a second domain from my hosting company, I "turned on" oscommerce ability for that domain. By default the admin directory is NOT in catalog directory. In the past on my other site I was advised to move the admin to catalog for security reasons. Some nice forum member here helped me with that task back then. Now on this new site, I moved the admin to catalog meself, but seems to be something else to do I missed. Now links on the admin panel point to a path that is NOT including /CATALOG/ what do I do to fix this?
Can anyone advise me please??
Thanks
You probably need to edit the admin/includes/configure.php file...
What follows presumes that you have a catalog directory in your webroot, and that you moved admin into the catalog directory.
In any case, you should try installing osCMax 1.7... it is already set like this, and is really a great package!
find these lines:
define('DIR_WS_ADMIN', '/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/{path to webroot}/httpdocs/admin/'); // absolute path required
change them to:
define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/{path to webroot}/httpdocs/catalog/admin/'); // absolute path required
--gabe
Thanks gabe! That worked,
Bookmarks