ZenphotoCMS Forum
Error 404 on fresh install - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Error 404 on fresh install (/thread-1492.html)



Error 404 on fresh install - dimsal - 2007-06-19

Using WP 2.1.3 and ZP 1.0.8

Uploaded zenphono into WP root, setup .htaccess and zp-config.php

Whenever I try to access /zenphoto/zen/setup.php I get 'Error 404'.

Here's a link: http://chicagoarts-lifestyle.com/zenphoto/zen/setup.php

Could it be the WP permalinks related issue? Although it works perfectly well on my local machine. I ran out of ideas how to fix it...

Please, help!




Error 404 on fresh install - dimsal - 2007-06-20

anyone?




Error 404 on fresh install - DarrellD - 2007-06-21

Hmm... yeah, that looks like .htaccess rules are getting mixed up.

Can you copy and paste a copy of your zp-config.php file as well as your .htaccess file?




Error 404 on fresh install - dimsal - 2007-06-21

Here are my zp-config and htaccess files:

`

`

`# htaccess file for zenphoto

NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory.


RewriteEngine On

!!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!


RewriteBase /zenphoto


RewriteRule ^admin/?$ zen/admin.php [R,L]

RewriteCond %{REQUEST_FILENAME} -f [NC,OR]

RewriteCond %{REQUEST_FILENAME} -d [NC]

RewriteRule ^.*$ - [R,L]

RewriteRule index.php$ index.php [L,QSA]

RewriteRule ^page/([0-9]+)/?$ index.php?page=$1 [L,QSA]

RewriteRule ^page/([A-Za-z0-9-_]+)/?$ index.php?p=$1 [L,QSA]

RewriteRule ^(.*)/page/([0-9]+)/?$ index.php?album=$1&page=$2 [L,QSA]

RewriteRule ^(.*)/image/(thumb|[0-9]{1,4})/([^/]+)$ zen/i.php?a=$1&i=$3&s=$2 [L,QSA]

RewriteRule ^(.*)/image/([^/]+)$ zen/i.php?a=$1&i=$2 [L,QSA]

Catch-all - everything else gets handled in PHP for compatibility.


RewriteRule ^(.*)/?$ index.php?album=$1 [L,QSA]

`




Error 404 on fresh install - DarrellD - 2007-06-22

Hmm... I don't necessarily see anything wrong with your zp-config file or your .htaccess file. I'm beginning to wonder if it's some kind of server setting. The reason why is because on a normal install, when someone goes to http://www.domain.com/zenphoto/zen they will automatically be sent to http://www.domain.com/zenphoto/zen/admin.php, but in your case, your server redirects me to a page (http://serv01.siteground159.com/zeni/user_type=user/domain=chicagoarts-lifestyle.com/user_type=user/time=1182477171192) with the following message: "Mac computers cannot be used to create sites; They can be used to view the final results.

Please note that finished websites created with this system can be viewed with any browser version 5.0 or better on almost any computer with 800x600 or better resolution."

Weird. You may require some special setup needs such as those on dreamhost.




Error 404 on fresh install - dimsal - 2007-06-23

I found a solution to fix this issue. Apparently, my host provider has a Sitebuilder application that uses zen directory and it was conflicting with Zenphoto's zen directory.
Simple renaming of 'zen' to 'mychoice' directory and all files that contain 'zen' in them.
It's now working fine.

Thank you for your help anyway.




Error 404 on fresh install - DarrellD - 2007-06-23

No problem.