Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Admin login page won't show

    Battling away with moving from a back ground directory into the root of the web site. Managed to get the site to work properly and go on-line except:

    I cannot access admin login at all. I get:
    ERROR 500, Problem Running a Script...

    A scripting/config error prevents the server from showing this page.

    How do I go about solving this problem? I have the original second level installation working in a directory called catalogue as suggested by the original installation instructions. Login to that works no problem. I have cleared cookies etc, so am in need of a few pointers please!

  2. #2
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    431
    Plugin Contributions
    1

    Default Re: Admin login page won't show

    Did you remember to change BOTH your config files? The one found under includes as well as the one in admin/includes?

  3. #3
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Admin login page won't show

    Quote Originally Posted by Louis View Post
    Did you remember to change BOTH your config files? The one found under includes as well as the one in admin/includes?
    As far as I can tell...

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,128
    Plugin Contributions
    0

    Default Re: Admin login page won't show

    If your Hosting control panel provides you access to error logs you should see a more definitive error about this problem.
    The learning is in the doing.

    Potent Products

  5. #5
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Admin login page won't show

    Thank you very much for your replies.

    Anyway, here's the code from my includes/configure file. I am not sure if I have missed anything. The original back ground directory in which the site was originally set up as tested was /catalogue/ before moving up to the root directory. The site itsef is functioning well and has had its first few customers.

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.nairnshire-modelling-supplies.co.uk');
    define('HTTPS_SERVER', 'https://www.nairnshire-modelling-supplies.co.uk');

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

    // 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_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * 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_CATALOG', '/freeola/users/7/8/srxxxxx/htdocs/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');


    // define our database connection
    define('DB_TYPE', 'mysql');
    define('DB_PREFIX', '');
    define('DB_SERVER', 'MySQL.freeola.net');
    define('DB_SERVER_USERNAME', 'srxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'srxxxxxx');
    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', '/freeola/users/7/8/srxxxxx/htdocs/cache');


    and from admin/includes/configure:



    define('HTTP_SERVER', 'http://www.nairnshire-modelling-supplies.co.uk');
    define('HTTPS_SERVER', 'https://www.nairnshire-modelling-supplies.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.nairnshire-modelling-supplies.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.nairnshire-modelling-supplies.co.uk');

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

    // 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', '/admin/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/admin/');
    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', '/freeola/users/7/8/srxxxxxx/htdocs/admin/');
    define('DIR_FS_CATALOG', '/freeola/users/7/8/srxxxxx/htdocs/');

    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', '');
    define('DB_SERVER', 'MySQL.freeola.net');
    define('DB_SERVER_USERNAME', 'xxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxx');
    define('DB_DATABASE', 'srxxxxxx');
    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', '/freeola/users/7/8/srxxxxx/htdocs/cache');

    // EOF

    Many thanks!

  6. #6
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default Re: Admin login page won't show

    Quote Originally Posted by Seahawk View Post
    I cannot access admin login at all. I get:
    ERROR 500, Problem Running a Script...
    A 500 error is an error "normally" associated with the web server, and not php files. Normally this would be a problem with a .htaccess file having an incorrect word.

    Another possibility is that "admin" is a reserved word on your freeola hosting service and they may not allow such an obvious folder name int he top-level directory (and it should have been renamed anyway as per the security instructions).
    Last edited by MattyMatt; 5 Jan 2010 at 06:58 PM.

  7. #7
    Join Date
    Jan 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Admin login page won't show

    Many thanks again - I have managed to get the admin area working - something of a work round, I suspect. Many thanks for all your suggestions, pointers and tips.

 

 

Similar Threads

  1. Admin Login page redirects to itself, since I reset admin activity log
    By beep in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Jan 2010, 01:08 PM
  2. Admin Login page redirects to itself - can't login
    By fxchain in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 14 Jul 2009, 07:32 AM
  3. Can't login to admin Suddenly admin become a white page
    By gardengate in forum General Questions
    Replies: 2
    Last Post: 13 Sep 2007, 06:08 AM
  4. Authorization to browse...but not show login screen as first page
    By CreativeWitch in forum General Questions
    Replies: 6
    Last Post: 5 Jan 2007, 05:20 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
  •