Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2015
    Posts
    64
    Plugin Contributions
    0

    application error Admin Page Not Loading

    Hi,
    I am quite new to zen cart. I installed it successfully on my website and it loaded, its fine. But I didn't find any admin area. I came to knew at first, I need to delete, insall directory, I did that. Then I found to rename the admin folder, I did the same. But admin page never loaded for me (either before renmaing or after renaming).
    I found it was showing some cloudflare warning, I asked my hosting company, they said I should disable clouldflare, which might preventing admin page to load. I disabled cloudflare nearly 20 hours ago, may be it takes 24hours to completely applied to the domain.
    But so far, no luck.
    What should I do now?

  2. #2
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Admin Page Not Loading

    Quote Originally Posted by RiazShahid View Post
    Hi,
    I am quite new to zen cart. I installed it successfully on my website and it loaded, its fine. But I didn't find any admin area. I came to knew at first, I need to delete, insall directory, I did that. Then I found to rename the admin folder, I did the same. But admin page never loaded for me (either before renmaing or after renaming).
    I found it was showing some cloudflare warning, I asked my hosting company, they said I should disable clouldflare, which might preventing admin page to load. I disabled cloudflare nearly 20 hours ago, may be it takes 24hours to completely applied to the domain.
    But so far, no luck.
    What should I do now?
    Do not post the path/name of your secret admin directory. I am going to pose an example.

    After installation, you had the ability to goto your site by entering your uri into the browser, call it: http:// your site . Com (although it may end up helping us to know the real name).
    In the directory structure you had a folder named admin, that got renamed to let's say YOUR_ADMIN. Now when you type in: http:// your site . Com / YOUR_ADMIN with no spaces and YOUR_ADMIN representing your secret folder name what happens/what is the result?

    Nothing is not exactly a valid response. Something happens, please explain what is seen.

    Also, just realized something. Those trying to help need more information. Please see the posting tips visible above the text are when selecting reply to this message. (Zc version, php version, method of install, source of files, etc...)
    Last edited by mc12345678; 17 Feb 2015 at 01:14 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Admin Page Not Loading

    Quote Originally Posted by RiazShahid View Post
    I found it was showing some cloudflare warning,
    Providing the Cloudflare Error number would be a great help.

    Quote Originally Posted by RiazShahid View Post
    I asked my hosting company, they said I should disable clouldflare, which might preventing admin page to load.
    Sounds like they are guessing. My experience with Cloudflare is that it rarely (if ever) has been the cause of any problems, after all, at the basic level it is little more than a server cache, which is why knowing the error code would be a great help.

    Quote Originally Posted by RiazShahid View Post
    I disabled cloudflare nearly 20 hours ago, may be it takes 24hours to completely applied to the domain.
    This depends on the DNS for your site. If the site is delegated to use the CloudFlare Domain servers then any changes come into effect within 5 minutes (300 seconds).
    If you are using a *different* DNS server, such as one provided by your domain name registrar or your Webhost then it can take considerably longer. 4-5hrs is 'typical' but 24hours (86400secs) isn't unusual.

    Although you haven't provided much in the way of information I'm going to take a punt, and assuming that you are using a valid URL for the admin folder then your problem could be SSL related.

    Cloudflare has several options for SSL data, and the correct setting depends on whether you have an SSL certificate for your site or not.
    Again, more info is needed. I could be completely off the mark.

    Cheers
    RodG

  4. #4
    Join Date
    Feb 2015
    Posts
    64
    Plugin Contributions
    0

    Default Re: Admin Page Not Loading

    Thanks for your replies here. I have rectified it. It was nothing but just secure hosting issue, the values set for "https" were not OK. In fact I didn't had a secure hosting account, I reinstalled zencart and removed those https entries, now its fine.

    Thanks for your support.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Admin Page Not Loading

    Quote Originally Posted by RiazShahid View Post
    Thanks for your replies here. I have rectified it. It was nothing but just secure hosting issue, the values set for "https" were not OK. In fact I didn't had a secure hosting account, I reinstalled zencart and removed those https entries, now its fine.
    Great. Now that you have it functioning, how would you like to have SSL support at no cost to you? (of course you would).

    Thanks to the fact that you are using CloudFlare this is very easy to do. (Actually easier than purchasing your own certificate, and generally a lot easier than using a 'shared' certificate (that many hosts provide).

    It only takes a couple of *minor* changes to the two configure.php files.

    In "/YOUR_ADMIN/includes/configure.php"
    Ensure that the 'defines' are similar to these:

    define('HTTP_SERVER', 'http://www.yourdomain.com');
    define('HTTPS_SERVER', 'https://www.yourdomain.com');
    define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.yourdomain.com');

    You probably won't even need to change anything here other than to ensure that they include the 'www' (just add them if they don't).
    Don't make any other changes to these URL's

    Then ensure the following are set to 'true'

    // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_ADMIN', 'true');


    // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes).
    define('ENABLE_SSL_CATALOG', 'true');

    ------------------------------------------------

    In "/includes/configure.php" there are similar lines that need to checked or changed

    define('HTTP_SERVER', 'http://www.www.yourdomain.com');
    define('HTTPS_SERVER', 'https://www.www.yourdomain.com');


    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    Save your changes.

    The next thing to do is to log into your cloudflare account and click the 'CloudFlare Settings' button and look for the 'SSL' setting. Set this for "Flexible SSL".

    That's it, all done.
    It may take up to 5 minutes (but no more) for the changes to come into effect.

    I would also suggest you make a backup copy of both of the configure.php files before changing them, JUST IN CASE something goes wrong.

    I will add that there is no *need* to have SSL enabled for the store, but many people will try to convince you that this is essential for any eCommerce site and it is generally only a matter of time before you start to believe this and start asking questions about how to do it.

    I figure that if you have this info at hand you won't get yourself too confused with the different types of certificates and the different configuration changes that *they* require.

    Note: There are also many people that will disagree with my suggestion/recommendation to use the CloudFlare SSL rather than purchasing your own, and these people will raise a valid (but rather insignificant point) that I won't go into at this stage.

    Cheers
    RodG

 

 

Similar Threads

  1. Categories/Products Page not loading in admin
    By ERM in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 19 Apr 2014, 11:00 PM
  2. v150 Admin Page not loading
    By dani_2wa in forum General Questions
    Replies: 1
    Last Post: 19 Oct 2012, 08:03 AM
  3. admin not loading - checkout to blank page
    By kdogg in forum General Questions
    Replies: 9
    Last Post: 13 Oct 2010, 09:00 AM
  4. Main page not loading but admin panel is !?
    By borillion_star in forum General Questions
    Replies: 3
    Last Post: 4 Jun 2008, 09:16 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