Member
Member
firsttimezenphoto   2008-07-15, 01:30
#1

Hello,

I installed ZenPhoto to http://mydomain.com/zenphoto/. Everything so far seems working fine except that
1) the path rolls back to http://mydomin.com/zp-core/..... from http://mydomin.com/zenphoto/zp-core/..... any time when I click "save" on my admin control panel to save some setting, which generates "Zenphoto Error: the requested object was not found. Please go back and try again";
2) my gallery page shown is completely text-based whatever theme I choose.

Could anyone give me some clue?

Thanks a lot!

Member
Member
Connie   2008-07-15, 19:54
#2

there is a mistake in your configuration and the reason sits in your .htaccess-file:

if you use mod_rewrite, you should take care of this entry in .htaccess:

`

RewriteEngine On`

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

RewriteBase /zenphoto`

check if there is something wrong here

if your images are not shown, did you upload them via FTP or via the script?
If you uploaded them using the script, contact your hoster, as the script and the browser are running as different users with different permissions...

Member
Member
firsttimezenphoto   2008-07-16, 16:12
#3

Thanks for your reply! I haven't uploaded any photos yet. This is exactly what's in my .htaccess file:

RewriteEngine On

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


RewriteBase /zenphoto

I have no idea about rewrite modules. Could you give me some clue?

Thanks a lot!

Member
Member
sbillard   2008-07-16, 19:45
#4

Your best bet it to upload the .htaccess file that comes with zenphoto and run setup.php so that it will properly modify it.

Member
Member
firsttimezenphoto   2008-07-16, 20:25
#5

That's what I have done. But the problem stays. Thanks!

Junior Member
Junior Member
ccmcgeek   2008-07-29, 04:13
#6

Hi firsttimezenphoto-

First of all: even though your other post says you're using Gallery 2, I'd try this out and switch back to ZenPhoto. It's so much friendlier to use!

I encountered your same problem when I set zenphoto up on my Dreamhost server recently. I had .htaccess uploaded, ran setup.php (everything checked out "green" there), was using mod_rewrite, had the RewriteBase set correctly, and still encountered your symptoms. Basically, I was in your same exact position: ZenPhoto just kept sending me to /zp-core instead of /photos/zp-core.

The solution for me: Edit your zp-core/zp-config.php file. Down at the very bottom are two commented out lines that are marked for "ONLY IF YOU'RE HAVING PROBLEMS". Well, I was I uncommented the first line and set it for my path, and all now works well:

// Uncomment the following two lines ONLY IF YOU'RE HAVING PROBLEMS,
// like "file not found" or "not readable" errors.
// These allow you to override Zenphoto's detection of the correct paths
// on your server, which might work better on some setups.
////////////////////////////////////////////////////////////////////////////////

define('WEBPATH', '/photos');
// define('SERVERPATH', '/full/server/path/to/zenphoto');

I hope that helps!

Member
Member
Kwest1216   2008-08-05, 03:28
#7

I do not have an .htaccess file in my Zen Photo download. What am I missing?

Administrator
Administrator
acrylian   2008-08-05, 08:47
#8

The file is invisible on Macs for example since it begins with a point. If you are using a mac here are several tools to make invisible files visible: http://www.macupdate.com/search.php?keywords=invisbile+files&starget=google

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.