Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Admin accessible, but no store...

Admin accessible, but no store...

Locked

Views: 2,685

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
12 Dec 2006, 4:05 PM
#1
triana avatar

triana

New Zenner

Join Date:
Dec 2006
Posts:
3
Plugin Contributions:
0

Admin accessible, but no store...

Sorry if I show a lot of frustration here...

I've been trying to install zencart for two months off and on. Through my webhost, I installed it numerous times, each time following the instructions EXACTLY. Each time, when I finished, it wouldn't give me a login page to the Admin area, but the store was there.

So I decided to install the files directly myself, using the zip files off this site. I uploaded the files, went through the install process, following the instructions EXACTLY. When I got to the end, there were the two buttons to go to Admin or Store.

I got into the Admin area fine, but when I tried to check the store to make sure it was working, I got the following message:

"No input file specified."

What did I do wrong, where do I go to fix this? :wacko:

12 Dec 2006, 6:32 PM
#2
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Admin accessible, but no store...

I have a similar problem: I can get into the admin area but if I try to go to the store side after installation it kicks me to the zc_install folder again and won't show the store!

12 Dec 2006, 6:33 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin accessible, but no store...

Check that the two configure.php files:
/includes/configure.php
/admin/includes/configure.php

Have similar settings ...

NOTE: these files are NOT the same and CANNOT be interchanged ...

12 Dec 2006, 7:45 PM
#4
triana avatar

triana

New Zenner

Join Date:
Dec 2006
Posts:
3
Plugin Contributions:
0

Re: Admin accessible, but no store...

Those two files are huge with a lot of technical data...
Can you narrow this down a bit? What are we looking for?

12 Dec 2006, 8:09 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin accessible, but no store...

Perhaps if you post the 2 files, from the server, without your username and password, we can help you narrow down what the problem might be ...

12 Dec 2006, 8:26 PM
#6
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Admin accessible, but no store...

Ok, solved.

I had this path from includes/configure.php for some reason missing:

//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/home/myserver/myaccount/html/shop/');

This was an upgrade so probably it was not properly set up by me because of that.

Thanks for the help anyway!

12 Dec 2006, 8:58 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin accessible, but no store...

You are most welcome ... glad you have things resolved now ... :smile:

12 Dec 2006, 9:20 PM
#8
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Re: Admin accessible, but no store...

Now I realised that after the upgrade it complains that

1146 Table 'db26066a.ws136_reviews_description' doesn't exist
in:
[select count(*) as count from ws136_reviews r, ziccows136_reviews_description rd where r.products_id = '5' and r.reviews_id = rd.reviews_id and rd.languages_id = '2' and r.status = '1']

what can that be?!

12 Dec 2006, 9:27 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin accessible, but no store...

Check if your new database is using prefixes and if both your configure.php files match what you see in your database ...

so if you see lassie_admin, lassie_products, etc.

You should see in the 2 configure.php files:

define('DB_PREFIX', 'lassie_');

if you see admin, products, etc.

You should see in the 2 configure.php files:

  define('DB_PREFIX', '');
13 Dec 2006, 6:01 PM
#10
triana avatar

triana

New Zenner

Join Date:
Dec 2006
Posts:
3
Plugin Contributions:
0

Re: Admin accessible, but no store...

Here are the two configure files... I don't have a clue what I should be looking for here.

admin-includes-configure.php

// Define the webserver and path parameters
// Main webserver: eg, http://localhost - should not be empty for productive servers
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
// HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.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
/
define('HTTP_SERVER', 'http://www.folkartsvillage.com');
define('HTTPS_SERVER', 'https://www.folkartsvillage.com');
define('HTTP_CATALOG_SERVER', 'http://www.folkartsvillage.com');
define('HTTPS_CATALOG_SERVER', 'https://www.folkartsvillage.com');

// 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', '/shop/admin/');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_ADMIN', '/shop/admin/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');

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', '/home/folkarts/folkartsvillage.com/shop/admin/');
define('DIR_FS_CATALOG', '/home/folkarts/folkartsvillage.com/shop/');

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', 'zen_');
define('DB_SERVER', '');
define('DB_SERVER_USERNAME', '
');
define('DB_SERVER_PASSWORD', '
');
define('DB_DATABASE', 'fav');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // 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', 'database');
define('DIR_FS_SQL_CACHE', '/home/folkarts/folkartsvillage.com/shop/cache');

?>


===========================================================================================




includes-configure.php

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.folkartsvillage.com');
define('HTTPS_SERVER', 'https://www.folkartsvillage.com');

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

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', '/home/folkarts/folkartsvillage.com/shop/');

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', 'zen_');
define('DB_SERVER', '
');
define('DB_SERVER_USERNAME', '
');
define('DB_SERVER_PASSWORD', '
*****');
define('DB_DATABASE', 'fav');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // 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', 'database');
define('DIR_FS_SQL_CACHE', '/home/folkarts/folkartsvillage.com/shop/cache');

?>

13 Dec 2006, 7:30 PM
#11
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Re: Admin accessible, but no store...

Triana, you may want to ask a mod to edit your above post ASAP to remove the username and password you've left in your config files when you posted them - and also, if I were you I'd change both username and password on your server/database to something else right this second.

13 Dec 2006, 10:53 PM
#12
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Admin accessible, but no store...

There's nothing wrong with those two files. The fact that the admin section is working shows that the DIR_FS pathways are correct. Check to make sure that the files which should exist under 'shop' do actually exist.

I've asked the moderators to remove the sensitive details you posted, but as per the post above you really do need to change them now (not all people who visit forums are nice people, unfortunately).

Vger

14 Dec 2006, 1:10 AM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin accessible, but no store...

Looks to me like missing a gang of files in the /shop directory ...

I would reload all files to ensure that you do not have missing, corrupt or other bad upload of files ...

NOTE: fix your site so you cannot view your directories via a browser ...