Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2007
    Posts
    8
    Plugin Contributions
    0

    Default Not Found error in admin area, new install

    Hello,
    I spent Saturday installing Zen Cart on my server. All when reasonably well. I had one error reported by the installer, which I fixed. I had to edit my php.ini. I renamed config files, changed permissions etc and have started working through basic setup and security recommendations.

    The problem (I am hoping someone can help with):

    When I try to access my admin page (I did rename the folder), I get a file not found error. All permisions are correct.

    This is all very new to me so I am only guessing but......

    I configured Zen to use htmls for admin during setup. When I first got the error I wondered if that wasn't working because I hadn't yet set up an SSL certificate. So I went to my control panel and added a self-signed certificate. Is this enough? Should I have done it before installation? Is it a red herring?
    thanks

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Not Found error in admin area, new install

    When you renamed your admin folder, did you edit admin/includes/configure.php file to reflect its new location? What file is not found? Does it still fail if you set ENABLE_SSL to false?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Feb 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Not Found error in admin area, new install

    Hi Kuroi,
    thank for quick reply (late where you are!)

    I did change the admin folder name in configure.php.

    So tried

    define('ENABLE_SSL_CATALOG', 'false');
    define('ENABLE_SSL_ADMIN', 'false');

    as you suggested and I am able to logon successfully,thank you but how do I do it for SSL?

    Dumb question -

    My server has a separate HTTPS folder at the same level as the HHTP folder where Zen Cart is installed. The HTTPS folder has nothing new in it. Should Zen Cart have installed something there or does something 'magic' happen when SSL is enabled?

  4. #4
    Join Date
    Feb 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Not Found error in admin area, new install

    Edit:
    trying to answer my own question here...
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_HTTPS_CATALOG', '/*******/');
    in configure.php points to a folder in my HTTP folder not my HTTPS folder, where nothing exists.
    Should I have specified this during install?

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Not Found error in admin area, new install

    This FAQ entry might help. It's very much looking to me as though you are with a host who has configured the security cert in such a way as to require a copy in the HTTPS directory of all pages to be secured. In practice this normally means a complete copy of your Zen Cart unless you're pretty good at separating them out, and then why bother amyway,. a copy is easier?

    I've not personally experienced this, but would suggest that you leave the configure files as is. Zen Cart should look for them using the same directory structure, but be redirected by the security certificate to start from the HTTPS root instead of the HTTP directory.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Feb 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Not Found error in admin area, new install

    Thanks for the FAQ pointer.

    I have copied the entire installation across and changed configure.php to the correct URL but......

    The logon page comes up and lets me enter my username and password and then seems to try to pass me on to a https://........./login.php url but that just gives a blank page.

    I have noticed that copy procedure in my control panel has changed directory permissions. Before I go and copy the permission setting from the HTML version I wonder if is this wise?

    Most folders on the HTTP installation are set 777 but they are 755 having copied them to HTTPS.

  7. #7
    Join Date
    Feb 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Not Found error in admin area, new install

    Tried it anyway, at this stage no real damage can be done.

    Changed all folders in installation instructions under HTTPS to 777. Problem persists though. New blank page problem rather than original 'document not found ' problem

  8. #8
    Join Date
    Feb 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Not Found error in admin area, new install

    Hello all,
    I have also tried re-copying the HTTP folder to HTTPS folder using SSH to make sure nothing gets changed but no joy.....

    and

    I have replaced the Plesk generated SSL certificate with a bought one, just incase.

    Still suffering from a blank page after logging on. I've read many threads on this site relating to SSL issues and blank pages and separate HTTP and HTTPS folders but none of the possibly relevant suggestions seem to apply. I am flummoxed!

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Not Found error in admin area, new install

    What happens if you go to a secure page on the catalog side of the site e.g. "login in"?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #10
    Join Date
    Feb 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Not Found error in admin area, new install

    Hello again Kuroi,
    thanks for your endurance.

    IfI go to - https://www.mysite.co.uk/mtshop/myadminfolder/login.php

    I just get a blank page,

    while going to -

    http://www.mysite.co.uk/mtshop/myadminfolder/login.php

    allows me to logon, which then switches to the secure url and sits there with a blank page.

    Zen Cart seems to know that I want to do admin on SSL and seems to know where to look but I don't understand enough about the mechanics of what is happening to know if there is something else I have to do on my server.

    I do have a certificate but don't know how to check if that is working properly, or if it even relevant.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. new install but admin not found
    By christinefred in forum Installing on a Windows Server
    Replies: 8
    Last Post: 28 Feb 2015, 12:47 AM
  2. Page Not Found When In Admin Area
    By aaronspromotions in forum General Questions
    Replies: 2
    Last Post: 3 Feb 2011, 10:32 AM
  3. new install-cssjsmenu error-stylesheet not working in admin
    By tolefairy in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 23 Feb 2008, 07:03 PM
  4. New Install - admin area works - cart doesn't
    By pelyon in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 28 Jan 2008, 12:15 AM
  5. new install - cant log in to admin area
    By teamfaith in forum General Questions
    Replies: 1
    Last Post: 28 Apr 2007, 08:09 AM

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