Forums / Installing on a Linux/Unix Server / Trouble installing, cannot access my admin!!!!!

Trouble installing, cannot access my admin!!!!!

Results 1 to 10 of 10
20 Aug 2011, 19:12
#1
isilver avatar

isilver

New Zenner

Join Date:
Aug 2011
Posts:
14
Plugin Contributions:
0

Trouble installing, cannot access my admin!!!!!

Hi,


I have followed every instruction as planned but everytime I have changed something it never works.
My theory is that the configure.php folder from /admin/includes/ is wrong. I followed this tutorial: https://www.zen-cart.com/tutorials/index.php?article=33

Section A confused me a bit as I did exactly as it said on the page.

If i contacted my Host( 123-reg.co.uk) would they be able to complete the installation.

Ive been trying for hours...

What could be the actual problem? The SSL are all set as false and the bit it wanted me to change on Sextion A I changed too:

define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');


define('DIR_FS_ADMIN', '/home/i-silver.co.uk/www/public/admin/');
define('DIR_FS_CATALOG', '/home/http://i-silver.co.uk/www/public/');

I have also tried changing the "admin" name numerous times

PLEASE HELP I really want to get underway


Thanks
20 Aug 2011, 19:47
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble installing, cannot access my admin!!!!!

There are only THREE /admin/ references to change. Why are you changing anything else?
20 Aug 2011, 21:49
#3
isilver avatar

isilver

New Zenner

Join Date:
Aug 2011
Posts:
14
Plugin Contributions:
0

Re: Trouble installing, cannot access my admin!!!!!

O ok thanks a lot for your help... How would I go about changing it back to its original state before any changes are made because I havent saved it?

Thanks
20 Aug 2011, 22:43
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble installing, cannot access my admin!!!!!

A clean new install will give you back a working set of configure.php files.
21 Aug 2011, 19:20
#5
isilver avatar

isilver

New Zenner

Join Date:
Aug 2011
Posts:
14
Plugin Contributions:
0

Re: Trouble installing, cannot access my admin!!!!!

Thanks again...

I have now done all of that but still it will not load... I do not understand what I am doing wrong...Is there anyway of checking where I have gone wrong? Or would it be best to contact my Host as they are usually helpful?

Thanks
21 Aug 2011, 20:26
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble installing, cannot access my admin!!!!!

"still it will not load" ... means what exactly?
21 Aug 2011, 20:32
#7
isilver avatar

isilver

New Zenner

Join Date:
Aug 2011
Posts:
14
Plugin Contributions:
0

Re: Trouble installing, cannot access my admin!!!!!

O sorry I meant i get a message " HTTP 404 Not Found"

Must forgive me, I am new to Zencart. Beginner.

This is my configure.php fileI have taken off the database information.

<?php
/**
* @package Configuration Settings circa 1.3.9
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* File Built by zc_install on 2011-08-21 08:01:01
*/


/*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
/*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

// Define the webserver and path parameters
// Main webserver: eg-http://www.your_domain.com -
// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
/*
* URLs for your site will be built via:
* HTTP_SERVER plus DIR_WS_ADMIN or
* HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
* HTTP_SERVER plus DIR_WS_CATALOG or
* HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
* ...depending on your system configuration settings
*
* If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
*/
define('HTTP_SERVER', 'http://www.i-silver.co.uk');
define('HTTPS_SERVER', 'https://www.i-silver.co.uk');
define('HTTP_CATALOG_SERVER', 'http://www.i-silver.co.uk');
define('HTTPS_CATALOG_SERVER', 'https://www.i-silver.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', '/mysecretadminarea/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/mysecretadminarea/');
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', '/websites/123reg/LinuxPackage21/i_/si/lv/i-silver.co.uk/public_html/zen-cart-v1.3.9h-full-fileset-10262010/mysecretadminarea/');
define('DIR_FS_CATALOG', '/websites/123reg/LinuxPackage21/i_/si/lv/i-silver.co.uk/public_html/zen-cart-v1.3.9h-full-fileset-10262010/');

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', '');
define('DB_PREFIX', '');
define('DB_SERVER', '');
define('DB_SERVER_USERNAME', '');
define('DB_SERVER_PASSWORD', ');
define('DB_DATABASE', '');
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', '/websites/123reg/LinuxPackage21/i_/si/lv/i-silver.co.uk/public_html/zen-cart-v1.3.9h-full-fileset-10262010/cache');

// EOF
21 Aug 2011, 20:33
#8
isilver avatar

isilver

New Zenner

Join Date:
Aug 2011
Posts:
14
Plugin Contributions:
0

Re: Trouble installing, cannot access my admin!!!!!

Also during Installation I changed the Virtual pathway info to my actual website if that helps
21 Aug 2011, 20:57
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble installing, cannot access my admin!!!!!

ISILVER:

Also during Installation I changed the Virtual pathway info to my actual website if that helps

Why? By doing that you told it to put wrong information into the files.

You've installed Zen Cart files into a folder named "zen-cart-v1.3.9h-full-fileset-10262010", so unless you change the name of that folder, you shouldn't change that setting during installation.
22 Aug 2011, 15:52
#10
isilver avatar

isilver

New Zenner

Join Date:
Aug 2011
Posts:
14
Plugin Contributions:
0

Re: Trouble installing, cannot access my admin!!!!!

Thanks a lot.. It is all working now.... Hopefully the new business will be worthwhile :D