Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default admin not working

    Hi I am pulling my hair out here! I have done a fresh install of the latest zen cart and have been over the config files, permissions trying to find out what is going on. I can see the front end and the back end but when click on any of the menus in admin I get a 404 error not found.

    Site is https://www.fusionherbsorganics.com.au/

    The files are located in the https docs as I am waiting to get the SSL certificate on Monday. The config file in admin>includes is set to:

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

    I paid $15USD to a company to help me out this morning but now they are off line and I didn't realise that the admin was not working.

    If anyone could help me out here, I would be eternally grateful, thanks!
    [FONT="Verdana"]Amanda McInerney
    Kimberley Web Design[/FONT]

    http://www.kimberleywebdesign.com.au/

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: admin not working

    What happens if you set those to 'false' ?

  3. #3
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: admin not working

    Exactly the same scenario I have the front end page with the congratulations you have successfully .. and the backend/admin page loads but when I try to access anything in it .. it defaults to the http doc folder and the alt_nav.php file.

    Thanks so much for looking at this for me.
    [FONT="Verdana"]Amanda McInerney
    Kimberley Web Design[/FONT]

    http://www.kimberleywebdesign.com.au/

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: admin not working

    Post the contents of admin/includes/configure.php after X'ing out the db name and login info.

    Also, when I try to go to your store (not admin) with http (not https) I get a 403 Forbidden error.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: admin not working

    Also, as DrByte said in a different thread:

    If your server requires using htdocs_secure in order to serve SSL content, you're going to have numerous headaches.

    Until you find a server that is configured in a more contemporary way such that it serves SSL from the same folder as non-SSL content, you're best advised to set ENABLE_SSL to false.

    Or you can use a way more complicated setup of duplicating all your files constantly. You do NOT want that mess when the better way is to configure the hosting server properly. https://www.zen-cart.com/tutorials/index.php?article=14

  6. #6
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: admin not working

    Hi Steve, u r not gonna believe this but company I wrote away to this morning has just replied to me and is looking at the problem as well. I have been waiting all day and reading so much stuff now I have both your attentions. Typical! I have set the SSL back to true but I did try false.

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

    // Use secure webserver for catalog module and/or admin areas?
    define('ENABLE_SSL_CATALOG', 'true');
    define('ENABLE_SSL_ADMIN', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_ADMIN', '/xxxxxxx/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/xxxxxxx/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_ADMIN', '/usr/local/pem/vhosts/109668/webspace/httpsdocs/xxxxxxx/');
    define('DIR_FS_CATALOG', '/usr/local/pem/vhosts/109668/webspace/httpsdocs/');

    define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
    define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
    define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
    define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
    define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', 'xxxx');
    define('DB_SERVER', 'xxxx');
    define('DB_SERVER_USERNAME', 'xxxxx');
    define('DB_SERVER_PASSWORD', 'xxxx;');
    define('DB_DATABASE', 'xxxx');
    define('USE_PCONNECT', 'false');
    define('STORE_SESSIONS', 'db');
    // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage

    // The next 2 "defines" are for SQL cache support.
    // For SQL_CACHE_METHOD, you can select from: none, database, or file
    // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
    // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
    // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
    define('SQL_CACHE_METHOD', 'none');
    define('DIR_FS_SQL_CACHE', '/usr/local/pem/vhosts/109668/webspace/httpsdocs/cache');

    // EOF
    [FONT="Verdana"]Amanda McInerney
    Kimberley Web Design[/FONT]

    http://www.kimberleywebdesign.com.au/

  7. #7
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: admin not working

    Ok problem solved at last.

    The problem was the files were uploaded to Https docs and these lines of code in the admin>includes>config.php were pointing to http not https.

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

    Hope this saves some-one else from ripping their hair out lol
    [FONT="Verdana"]Amanda McInerney
    Kimberley Web Design[/FONT]

    http://www.kimberleywebdesign.com.au/

  8. #8
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: admin not working

    Hi I am not sure why you have said the following:
    If your server requires using htdocs_secure in order to serve SSL content, you're going to have numerous headaches.
    As stated previously SSL certificate arrives Monday (tomorrow) but I wanted to get a start on developing the site this weekend. I was under the impression that if you are going to use an SSL certificate you upload the file structure to https docs?

    Also I was under the impression that you could enable the SSL certificate later in the development process?

    Hosting company and SSL provider are awesome. Never a problem with them. Problem is with my misunderstanding?

    Should I have uploaded file structure to http docs? Thanks for your patience.
    [FONT="Verdana"]Amanda McInerney
    Kimberley Web Design[/FONT]

    http://www.kimberleywebdesign.com.au/

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: admin not working

    Depends on your host. Most modern hosts don't require an additional set of files for the secured pages. They somehow use the existing files (I'm not good with the server stuff). If your host still requires you to have two sets of files to use SSL, I would ask them why, and probably find another host.

    https://www.zen-cart.com/tutorials/index.php?article=14

  10. #10
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: admin not working

    I still don't understand where
    an additional set of files for the secured pages
    I dont have an additional set of files. I only have one set in https docs.
    Am I missing something?
    [FONT="Verdana"]Amanda McInerney
    Kimberley Web Design[/FONT]

    http://www.kimberleywebdesign.com.au/

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Admin Log In Not Working, User Log In Not Working All of a Sudden
    By SpydSpyder in forum General Questions
    Replies: 7
    Last Post: 15 Oct 2012, 05:34 AM
  2. Replies: 7
    Last Post: 19 Jul 2011, 03:36 AM
  3. my admin is not working
    By alexdog1805 in forum Basic Configuration
    Replies: 9
    Last Post: 30 Sep 2010, 04:07 PM
  4. Admin not working
    By englishdav in forum General Questions
    Replies: 3
    Last Post: 27 Apr 2010, 04:59 AM

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