Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2008
    Posts
    13
    Plugin Contributions
    0

    Default cant access admin through ipaddress/~login/admin

    Im going to be re-building a site using zencart, but need the site to stay live with old design so there is no downtime.

    I can see the basic zencart template after going through installation at ipaddress/~login/

    However, when trying to access admin (ipaddress/~login/admin/)
    I get a 404 page error and the address bar now shows:

    "http://ipaddress/~login/admin/://ipaddress/~login/admin/login.php"

    How can I work on site using ipaddress for testing?

    I checked admin/configure.php and its showing ipaddress/~login/ as path.

    Thanks for your help.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: cant access admin through ipaddress/~login/admin

    You probably have a URL entered in the DIR_WS_ADMIN setting, instead of just the relative path to be appended to the URL ... which is typical when people try to manually edit the file instead of letting the installer build it.

    Or maybe your apache is doing something funky.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: cant access admin through ipaddress/~login/admin

    Thanks for your reply. in my admin/includes/configure file, I have the following:

    define('DIR_WS_ADMIN', 'ipaddress/~login/admin/');


    my https has this:

    define('HTTPS_SERVER', 'https://voyager.websitewelcome.com');

    but its currently set to false.

    Where should I look in apache? This is my second install of zen, both times were a breeze. ONly difference this second time is having to use the ipaddress instead of url. Any other ideas? Thanks

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: cant access admin through ipaddress/~login/admin

    HTTP_SERVER and HTTPS_SERVER should be URLs, whether that's a domain name or an IP address.

    DIR_WS_anything should be relative paths to that URL. It would be extremely unusual to ever see an IP address in a folder path. In the case of the admin, it would typically just be set to /admin/

    If you look at examples of configure.php files from your working sites, you'll see the pattern there quite easily.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Cannot access admin area - login loops back to admin login page
    By Dianne in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 14 Dec 2014, 02:46 PM
  2. v150 Other user cant access everything in admin using my login?
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Jul 2012, 04:57 AM
  3. Installed SSL, I cant login customer end or through admin HELP!!
    By philip.mkh in forum Basic Configuration
    Replies: 2
    Last Post: 12 Oct 2011, 03:44 AM
  4. admin login page is missing. cant access admin area
    By ztotheetothen in forum Customization from the Admin
    Replies: 11
    Last Post: 26 Feb 2011, 05:44 PM
  5. Replies: 11
    Last Post: 21 May 2008, 05:56 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR