Forums / Installing on a Linux/Unix Server / 404 error on install

404 error on install

Locked

Started by rweiss on 7 Sep 2006, 6:03 PM · Views: 3,403

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
7 Sep 2006, 6:03 PM
#1
rweiss avatar

rweiss

New Zenner

Join Date:
Dec 2003
Posts:
8
Plugin Contributions:
0

404 error on install

I can't get past the 404 error to even install zen-cart.

I have never had trouble installing this cart before - but it seems the config.php files are more critical then before.

I guess, anyway - that seems to be the only reason I can think of that the server would not see files that I know are there (permissions have all been set according to the instructions).

So, here is my config file:

define('HTTP_SERVER', 'http://www.tees-online.com');
define('HTTPS_SERVER', 'https://www.tees-online.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', '/');
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', '/phpBB2/');

// * 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/httpd/vhosts/tees-online.com/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', ''); // prefix for database table names -- preferred to be left empty
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'root');
define('DB_SERVER_PASSWORD', ''); (this is not blank on mine)
define('DB_DATABASE', 'tees_online');
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', 'none');
define('DIR_FS_SQL_CACHE', '/home/httpd/vhosts/tees-online.com/httpdocs/catalog/cache');

?>

7 Sep 2006, 6:48 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,691
Plugin Contributions:
0

Re: 404 error on install

I get this when going to your domain:

This is the Plesk™ default page

If you see this page it means:

  1. hosting for this domain is not configured
    or
  2. there's no such domain registered in Plesk.

For more information please contact Administrator.

Perhaps you need to contact your host?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

7 Sep 2006, 7:30 PM
#3
chaz411 avatar

chaz411

New Zenner

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

Re: 404 error on install

Having the same issue on http://www.alternea.us/garage_sale

Haven't had problems in the past. This is a fresh install and index.php is definitely there and I have set permissions to 777 just in case that was the problem.

Any advice?

Chuck

7 Sep 2006, 7:46 PM
#4
rweiss avatar

rweiss

New Zenner

Join Date:
Dec 2003
Posts:
8
Plugin Contributions:
0

Re: 404 error on install

I checked with the tech people on the server side - and the setup is correct. But the zen install just won't fly.

7 Sep 2006, 8:24 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 404 error on install

Zen Cart will redirect itself to zc_install/index.php if it cannot read your configure.php files, or if it finds that their content is like the defaults found in the dist-configure.php example supplied with Zen Cart.

So ... you need to be sure that:
a. the file is truly readable
b. the file contains valid content
c. the database details specified are correct

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Sep 2006, 8:30 PM
#6
chaz411 avatar

chaz411

New Zenner

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

Re: 404 error on install

Thanks for the prompt, doc. I am looking at the wrong index.php (duh, not looking in ZC_install). Even using Filezilla (a first for me), it looks like my FTP session was not completed.

BTW, looking at another thread for 404 problems....there was a suggestion to make set /catalog to 777....this seems unwise to me. Am I off-base?

7 Sep 2006, 8:44 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 404 error on install

there was a suggestion to make set /catalog to 777....this seems unwise to me. Am I off-base?
I agree with you ... there should be NO reason to set the entire site to 777. Bad idea.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Sep 2006, 9:43 PM
#8
rweiss avatar

rweiss

New Zenner

Join Date:
Dec 2003
Posts:
8
Plugin Contributions:
0

Re: 404 error on install

To follow what you are saying - I deleted my self configured configure.php files, and renamed the default ones. I made sure that the zc_install directory and index.php files are 777. Still nothing but a 404 error.

It won't go to the zc_install files.

I reloaded the files twice - thinking that something did not load. I am using Transmit - so I dont' think it would be helpful to say that my ftp program is the issue. I have never had problems with it before.

7 Sep 2006, 10:34 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 404 error on install

rweiss, what EXACT folder have you uploaded to?

It sounds like you don't have the files inside your public_html or httpdocs folder ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Sep 2006, 10:44 PM
#10
rweiss avatar

rweiss

New Zenner

Join Date:
Dec 2003
Posts:
8
Plugin Contributions:
0

Re: 404 error on install

They are in the /httpdocs/catalog/ folder

7 Sep 2006, 10:58 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 404 error on install

So that would mean this should work.... ?

http://www.tees-online.com/catalog/

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Sep 2006, 11:04 PM
#12
rweiss avatar

rweiss

New Zenner

Join Date:
Dec 2003
Posts:
8
Plugin Contributions:
0

Re: 404 error on install

exactly! - But that is where I get the 404 error.

7 Sep 2006, 11:16 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 404 error on install

I don't get any error.
I see a Welcome screen ... click Continue ... see a License screen ... accept, Continue, system-inspection screen ... instructions to set configure files writable ... etc.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Sep 2006, 11:29 PM
#14
rweiss avatar

rweiss

New Zenner

Join Date:
Dec 2003
Posts:
8
Plugin Contributions:
0

Re: 404 error on install

OKay - this is really frustrating me.

I have 3 Mac browsers, and they all gave me the 404 error. So, I go to my Windows browser, and I get the welcome screen.

I had to shut down and restart my Mac to get the welcome screen.

What file on my Mac is holding on to this info with such force that all three browsers give the same error?

7 Sep 2006, 11:34 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 404 error on install

lol ... I could introduce a war here as to why anyone would use a mac ... but ... since I actually own Apple products, I won't :P

Short answer ... I don't know :shocking:

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.