I would very much like to run zenphoto on my own server. I have been using Abyss for quite some time now and it suits me fine. I just installed PHP, mySQL and PHPadmin. All went well. Then I created a database called zp and ran zenphoto setup. Again all went well. I was about to pat myself on the shoulder when things went wrong. The frontpage
http://mydomain.com/zp is accessible and works, but that is about it. From there I cannot go to the admin section and I cannot view galleries. I just get blank pages. I must have overlooked something but it is driving me nuts. Please help
Comments
Abyss doesn't allow .htaccess so I deleted the and changed the config.php:
$conf['mod_rewrite'] = false;
I can actually enter the webgalleries now! However I cannot see anthything but the titles of the images, so something else is not right.
zp/zen/admin.php is still not accessible either
admin url:
domain.com/zp/zen/admin.php
after i submit it redirects me to
domain.com/zp/admin.php
and as far at the images not showing up.. you said that you just installed php and all that other stuff.. did you activate the gd extension for image processing?
Just retype the zen into the url and hit enter.. then hit refresh...
since I am using IIS, I dont have mod reqrite either and this is what I have to do.
However I still can't get into the admin.php. Even when i manually type the url I get nothing. It really confuses me.
I reinstalled zenphoto and it's database. Setup works fine. I then have a choice to view the gallery (which works fine) and going to the admin section. When I click the latter (I checked the url) I get a blank screen. I am about to cry
On a sidenote. Not all thumbs seem to load all the time. I read in this forum people change the cache memory from 8 to 150mb, by adding two lines in the .htacces file. Maybe this is another dumb question but where can I change cache memory, I am not using the .htaccess file. Or could it be that the local server I am using is too slow to handle all this php and mySQL stuff. Please have patience with me I only started learning about setting up my own server
First, what you're talking about with "cache memory" is just the amount of memory PHP can use to manipulate images. The .htaccess lines and explanation can be found here:
Oh, and as long as that file is in the directory, the server will pick it up. If you deleted your old one, just make a new file called .htaccess and change that one.
http://www.zenphoto.org/support/topic.php?id=8
That might help with images not appearing. I don't know what's wrong with the admin screen, but I need to see your gallery to try to diagnose it. Please give a URL to it if you don't mind.
My url:
http://hoogenhoff.no-ip.com/zp/
ps what kind of server specs do you need to run all this, if you are using say 1mb pics?
The admin.php blankness is really unusual, I can't think of what it could be... Have to go now, but try deleting your cookies and re-logging in? That's the only thing that I could see stopping the page from loading... but even then, it should work... very weird. Try reinstalling?
http://www.apachefriends.org/en/xampp-windows.html
Admin.php works like a charm now!!
I also run my own server using Abyss Web Server. While my ZenPhoto gallery isn't yet live, I had not trouble getting it to work correctly (it and about 8 other php/mysql based galleries while comparing).
Jeff
Abyss 2.4 (both the free X1 version and the commercial X2 version) now support URL rewriting. It doesn't directly support the Apache .htaccess file, but the rules are easy to convert over to the Abyss-style configuration.
I've successfully converted the ZenPhoto rewrite rules, and am happily chugging along with cruft-free URL's. WhoooHooo! ;^)
Jeff