Results 1 to 4 of 4

admin path problem

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 ...

      
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    68
    Rep Power
    0


    Default admin path problem

    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.

  2. #2
    Member
    Join Date
    Sep 2004
    Posts
    68
    Rep Power
    0


    Default RE: move admin folder problem

    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

  3. #3
    Member
    Join Date
    Mar 2003
    Posts
    77
    Rep Power
    0


    Default RE: move admin folder problem

    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

  4. #4
    Member
    Join Date
    Sep 2004
    Posts
    68
    Rep Power
    0


    Default RE: move admin folder problem

    Thanks gabe! That worked,

Similar Threads

  1. Anyone With E-Path?
    By damien101 in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 03-24-2007, 06:33 AM
  2. The system cannot find the path specified
    By jptechnical in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 02-21-2005, 02:14 PM
  3. Images Path ...
    By arames in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 06-24-2004, 07:59 AM
  4. Image path, where to change?
    By misterjonl in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-08-2003, 08:23 PM
  5. path errors
    By dogfood in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 05-07-2003, 03:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •