Hi,
I've run through this 4 times now. Installs go fine. I can get into the administration. It LOOKS like I can upload an image. On the server the album directories and files are being added but the gallery (
http://www.christopherdouglassmall.com/blog/zenphoto/) is completely blank.
I've edited my .htaccess and my zp-config.php as per all the instructions I've found here.
My site is hosted on godaddy...
Any help would be so very much appreciated.
Thanks!
Comments
If not, then maybe you need to set the server path manually at the bottom of zp-config.php. Give that a shot and see if it works. You can find that path (usually) in an FTP program or in your control panel, or using a phpinfo() file.
I have the following at the bottom of my zp-config.php
define('SERVERPATH', 'd:/hosting/cdsmall/blog/zenphoto');
define('WEBPATH', '/blog/zenphoto');
define('SERVERCACHE', SERVERPATH . "/cache");
define('WEBCACHE', WEBPATH . "/cache");
thanks
Could be an IIS problem... if you have IIS then .htaccess means nothing...
Try changing the permissions on the Albums directory and all subfolders... it might not be getting anything from them because of that...
Other than that I can't stress enough how much better Apache is than IIS ;-)
change /zp to /zenphoto, the .htaccess should be in the zenphoto folder
It's not a file/folder/server related problem i think, because my 'albums' table is still empty. I tried searching were this information should be added to the DB, but i couldn't quite find it.
Does this help the developers any closer to a solution? I certainly hope so, because i would love to use this piece of software.
Since the original thread was opened, there have been a number of revisions to Zenphoto to correct some issues. One of these new releases might correct yours.
You can either install the latest "stable" release from here or you can use the SVN repository for the latest, bleeding edge revisions.
If this doesn't fix your trouble, please write back. Tris may also have another take.
See http://www.zenphoto.org/support/topic.php?id=1017&replies=2 for my Mediatemple server path settings.
I just recently (yesterday) found out about zenphoto. I am using 1.05, which is the latest version. On the SVN i see a 1.06 version, but i don't see anything in the changelog what fixes this problem i think. I would try it, but i don't know how to download the files from there.
If you're on Linux, I believe that functionality for SVN is built-in, or may just require a small package installation for it.
If you're on 1.0.5, then you shouldn't need to go any higher. I believe 1.0.6 is due to be released shortly.
So to recap your installation:
1. Downloaded files for 1.0.5
2. Uploaded everything to your web server (including .htaccess file in root zenphoto directory)
3. Changed zp-config.example file to zp-config and made modifications as necessary.
Make sure you set mod_rewrite to true if you wish
Make sure you set your admin information, and your correct DB information.
4. Change your rewrite-base in your .htaccess file to your root zenphoto path.
5. Make sure you have an albums and cache directory and chmod them 777.
6. Upload the pics you want into your albums dir, and organize them how you wish in folders and subfolders (zenphoto will handle the creation of the subalbums if you're using the subalbums testing-dev theme)
7. After this is all done, go to http://www.yourwebserver.com/zendir/zen/setup.php and follow the steps. This sets up your DB and gets everything ready. It then will allow you to either administrate or view your gallery. I suggest administration, check your theme, I usually run "refresh" (garbage collection) on the Overview page just for kicks, and then you should be good to go.
8. Have fun with your pictures.
If you've done all this, and something still doesn't work, write back and let us know. Trisweb might have some more insight.
Thank you very much!
Now i'm copying all of my pictures to /albums but ZP doesn't see them. There is noting being written in /cache, no mather how many times i click refresh.
The first time i ran the setup all the files in /albums were read and added. If i delete the tables and run setup again, it only reads the files it read the first time (+ the ones i admin-added).
I'm pretty sure about chmodding al the files and folders and the serverpath is defined correctly
http://www.nsrvphocas.nl/PhotoAlbum/
I have send you my password via email
phpinfo: http://one-docs.com/php5/
register_globals = on
safe-mode = on
mysql version: 4.0.24
upload component: PHP upload()
upload_max_filesize = 12M
post_max_size = 12M
they're asking for software requirements.
is PHP 4.10+ with GD support, MySQL 4+, a brain. all?
There are over a hundred folders in /albums not being proccessed.
Most of them are named by a number and have the subfolders /thumbs and /fotos
This should result in galleries with to subfolder, right?
The 4 albums/50 pictures you dó see, are the one i had on the server when i reinstalled zp, as suggested by thinkdreams a few posts up.
I've just tried it again (by deleting all files but /albums). Still nothing though.
I don't know what is different with these files. they're about the same size, same rights (777), same extension.
Zenphoto handles the creation and caching of the images once they are placed in the zenphoto/albums directory, so there is no need to manually create thumbs or subdirs for thumbs and fotos, as they would look when generated by programs such as JAlbum.
I know this may be redundant information, but I just want to make sure everything is in order.
So, to review, the structure should be:
zenphoto->albums->albumname->subalbumname->image
of course you can also do:
zenphoto->albums->albumname->image (like before subalbums existed)
So far, Zenphoto has really no limit on how many subalbums you may have, although I wouldn't try to do too many just to be safe.
A good working example is my page, for my family album. I have 5 images in the root album directory entitled family, and then 16 subalbums. Of those subalbums, the one entitled baby has 3 subalbums (upper left thumbnail in the subalbums area)
You may also want to remove all the files in your cache directory, except the one named theme and run a garbage collection (refresh on the overview page). Also, and I know you said you did, but check ALL your files, in ALL your album directories to make sure they are ALL chmodded 777. I have been bitten by that many times where the files don't take the permissions all the way down the tree.
When I said things were working, they are, we just have to figure out what's going on with the other albums.
I hope that helps, don't get frustrated. We're here to help.
//(is there a reason you are doing thumbs and fotos subalbums?). Are you uploading them from another gallery application?
//
Yiz. I'm going to remove those thumbs. I have already fixed some folders.
/////
//So, to review, the structure should be:
//zenphoto->albums->albumname->subalbumname->image
//
Current
/////
//of course you can also do:
//zenphoto->albums->albumname->image (like before subalbums existed)
//
Planned. I don't think i'll be using subfolders. but it's a lot of work fixing 160 albums and i was a little lazy and busy
/////
//You may also want to remove all the files in your cache directory, except the one named theme and run a garbage collection
//(refresh on the overview page).
//
Yes, i have tried this. nothing changes. when i refresh my album homepage it re-caches those 4 albums.
/////
//Also, and I know you said you did, but check ALL your files, in ALL your album directories to make sure they are ALL
//chmodded 777.
//I have been bitten by that many times where the files don't take the permissions all the way down the tree.
//
For testing puposes i removed most of the folders. just one new left. checked the chmod, refreshed and it was there.
I think that when there is only one file not 777, none of the files after it can be added. I'm testing it now, i'll let you know.
/////
//I hope that helps, don't get frustrated. We're here to help.
//
Thank you very much for your time
/////
//Sorry. The link to my family album is: http://www.thinkdreams.com/zenphoto/index.php?album=family
//
You have a cute little baby
If i add folders correctly, they are added to the db. Stats say i have 8 albums. They don't appear on the frontpage (or gallery archive).
This is what i found out:
I can reach them by entering the foldername in the url. -> www.nsrvphocas.nl/PhotoAlbum/1/
This albums has been on my frontpage. it is not anymore.
notice the link to "PhotoAlbum" at the top of the page. it redirects to xxx/page/2, instead of /PhotoAlbum/
on that /page/2/ i find the missing albums
From here you can reach the albums, but can't navigate to the album archive or frontpage
I do find it strange that /index.php?p=archive does not display all. is this also theme defined?
If you are talking about the stopdesign theme, then there are a few changes in that theme that can cause some difficulty for new users, since it "strays" from the original core files zenphoto uses, and adds an archive page.
So. You can either:
A. build on sterile for your custom theming, which is packaged in with zenphoto.
B. download the thinkdreams theme, which is a similar custom theme by myself and skwid and try that, which has some nifty features, but opens some other possible customization issues, and it is built from stopdesign
C. or build your own using the basic default theme as an example.
I would lean toward choice A, because it gives you a framework to build from. Making the thumbnails look like stopdesign is fairly easy, and I kind of like that "stretched" preview look myself. The sterile theme is also a no nonsense no frills theme from which to build and test, and helps to make sure everything works.
Anybody else have any suggestions?
1.03 is working perfectly: ziemer.pl/gallery/
1.05 or 1.06 are wrong: ziemer.pl/zenphoto/
Here is my php info: ziemer.pl/zenphoto/info.php
I'm asking for a help, because I need the subalbums option.
Thanks for Your time!
Image output:
http://ziemer.pl/zenphoto/Childhood/image/thumb/old.JPG
Otherwise, 1.0.3 is your only option at this point. I'm working on a fallback, but it'll be a while...
BTW in my opinion, any host that enables PHP safe mode isn't worth paying for.
They've turned off the SAFE_MODE and the thumbs are there. But there is still problem with subalbums
Do U have some advice: www.ziemer.pl/zenphoto ?
I've just read Your post:
"mod_rewrite is not ready for subalbums, you need to turn it off to use them."
and that was it!!!
Thanks once againg for Your help and support.
And thank U very much for all the hard work Tristan!
As a simple fix, do this: change the "$conf['mod_rewrite'] = true;" to be "$conf['mod_rewrite'] = false;"
You won't have "pretty" URLs, but you'll at least get to see your photos and albums.
Once I get the "basics" working, I'll go back and figure out what I want in the rewrite rules.