You are here:  » Can't install.. setup.php error


Can't install.. setup.php error

Submitted by antimonkey on Mon, 2006-10-16 22:23 in

Hi there,

I ahve installed the contents into a folder and have accordingly corrected my config.php path for folder. Hoever, when I run setup.php.. this is the error (404 not found):

The requested URL /setup.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

The steup.php is very much there. All the DB etc is coprrectly setup, as well.

I am confused .. please help.

Submitted by support on Tue, 2006-10-17 04:26

Hi,

This sounds like a server configuration or per directory configuration (.htaccess). From my knowledge of Apache, the only reason I can think of that might cause this is if you have a complex .htaccess in your top level directory that is re-writing the path that you have chosen for Price Tapestry into something else.

Can you verify that there is no .htaccess file in the top level directory that might be causing this? If there is a .htaccess file, it may be worth temporarily removing it (rename it to something else) in order to eliminate this as the cause.

I also notice from your original message that your server is showing the error message:

The requested URL /setup.php was not found on this server.

However, you mention that you have installed Price Tapestry into a sub-directory. In that case, I would have expected an error message along the lines of:

The requested URL /pricecomparison/setup.php was not found on this server.

...where "pricecomparison" is the directory that you have installed the script into. Please check that you are browsing to the correct setup URL and including the subdirectory in the request.

If you are browsing to what you think is the correct URL, this probably confirms my earlier suspicion about a .htaccess file in your toplevel directory re-writing the URL on the fly.

Hope this helps - if you still can't get it working free to drop me an email with further details of your site / server (if you're happy for me to login and have a look for you) and i'll happily take a look for you. Reply to your reg. code email or forum signup email is probably the easiest thing to do.

Cheers,
David.