Forums / Installing on a Linux/Unix Server / Online Catalog Don't Work

Online Catalog Don't Work

Locked

Views: 14,774

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 Jun 2006, 2:07 PM
#1
garra avatar

garra

New Zenner

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

Online Catalog Don't Work

Someone could give a help in what I have done wrong?

The ADMIN is working allright but when i hit the ONLINE CATALOG button it doesn't work.

http://www.garrainfo.com.br/catalog/index.php?main_page=

look at my INCLUDES/CONFIGURE.PHP

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // 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.garrainfo.com.br'); define('HTTPS_SERVER', 'https://www.garrainfo.com.br'); // 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', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', '/var/www/vhosts/garrainfo.com.br/httpdocs/catalog/'); 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', 'localhost'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', 'LOGIN'); define('DB_SERVER_PASSWORD', 'PASSWORD'); define('DB_DATABASE', 'mysqlb88169069252a57a3864526d77a'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' // 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', '/var/www/vhosts/garrainfo.com.br/httpdocs/catalog/cache'); ?>

Thank you in advance for any help.

15 Jun 2006, 4:04 PM
#2
vger avatar

vger

Past Contributor

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

Re: Online Catalog Don't Work

That file looks to be fine - so there's something else going on. It looks as though you don't have any files in the catalog folder at all - but you must have the admin folder and all of its contents because your admin Login page does come up on the screen.

Even if your includes/configure.php file was empty of data you'd have something coming up on the screen.

Vger

15 Jun 2006, 4:42 PM
#3
garra avatar

garra

New Zenner

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

Re: Online Catalog Don't Work

Anything I can do to test?
I'm a little bit lost.

15 Jun 2006, 9:52 PM
#4
vger avatar

vger

Past Contributor

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

Re: Online Catalog Don't Work

What you can do is to test your online website out on your own computer. To do this you have to turn your computer into an offline web server. This is not that difficult to do. Go to http://www.apachefriends.org/en and download XAMPP, which is an all-in-one Apache web server package, which comes with Apache Web Server, PHP 4 & 5, MySQL, phpMyAdmin etc. Download the Installer version and once it's downloaded just click to install it - it's literally a 1-click install.

Download a backup of your online database, and of your website files/folders and put the files folders into the xampp htdocs folder. Go to http://localhost/phpmyadmin, create a blank database, import the backed up database into the new database. Then edit the two configure.php files manually to run on 'localhost' e.g. http://localhost instead of http://www.yourdomain.com

You can then test your website out on your own computer. If it runs fine on your computer then there may be a problem with the server your site is on.

Vger

20 Jun 2006, 2:35 PM
#5
garra avatar

garra

New Zenner

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

Re: Online Catalog Don't Work

Very good tip about the XAMPP , now i can test the zen cart configs in my local computer much faster!
Thank you.

PS: The problem have gone, it was the ftp program who do not uploaded the root files only the folders! Or may be the ftp operator! :yes: