I just installed zenphoto 1.2.7 on a new local PC. At the end of the installation I was requested to set the admin user and password, which I did, but then when I got the login screen and entered the admin user and password I got this error:
Not Found
The address in the browser reads:
http://localhost:8080/zenphoto/C:\wamp\Cwww\zenphoto\zp-core\admin.php
The strange thing is that in spite of the above errors, I do get logged in, and I can use the admin interface. After the login errors if I enter the correct URL as below, I can used the admin interface ok.
http://localhost:8080/zenphoto/zp-core/admin.php
After I log out and try to log in I get the same errors as above but I still get logged in.
In the admin options I the mod_rewrite is disabled, even though I have it enabled in Apache and there is an .htaccess file in zp-core
Obviously, the error comes from the URL which somehow gets this string inserted: C:\wamp\www\zenphoto.
Now, why does this string get inserted and how can I correct this error?
I am stumped, I have previously installed zenphoto on XP and Vista, this is a new install on Windows 7 PC.
PS. I logged in again into zenphoto and now the mod_rewrite option is available so I selected it but I stil lget the errors.
The .htaccess file is set up as follows, I only changed the RewriteBase:
RewriteBase http://localhost:8080/zenphoto
Searching in the forum I stumbled upon this thread that references the very same problem - injecting a local path in the URL:
http://www.zenphoto.org/support/topic.php?id=6552
After replacing the code as in the above post, I can now login ok.
Would it be possible to fix this problem in the zenphoto release so that we do not have to manually update the distribution files?