Forums / Basic Configuration / Admin login page won't show

Admin login page won't show

Locked

Started by seahawk on 4 Jan 2010, 11:06 AM · Views: 2,135

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Jan 2010, 11:06 AM
#1
seahawk avatar

seahawk

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

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!

4 Jan 2010, 11:16 AM
#2
louis avatar

louis

Zen Follower

Join Date:
Jul 2006
Location:
Johannesburg
Posts:
408
Plugin Contributions:
0

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?

5 Jan 2010, 3:03 PM
#3
seahawk avatar

seahawk

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: Admin login page won't show

Louis:

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...

5 Jan 2010, 3:47 PM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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 Jan 2010, 4:21 PM
#5
seahawk avatar

seahawk

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

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!

5 Jan 2010, 5:52 PM
#6
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Location:
Pinner
Posts:
234
Plugin Contributions:
1

Re: Admin login page won't show

Seahawk:

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).

securemyzen.co.uk

6 Jan 2010, 5:48 PM
#7
seahawk avatar

seahawk

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

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.