Working gallery
http://beta.chilifrei.net/sazp/
SVN
http://developer.berlios.de/svn/?group_id=4265
SVN Client
here is the one I use
http://tortoisesvn.tigris.org/
It does not work with the subalbums branch. I didnt take into effect the new functions for the subalbums. My bad if I got your hopes up. I can see what I can do but I have no time frame.
Ok i got the SVN subalbum now but after setup if i want to go to the admin part i got this error:
[i]
Parse error: parse error, unexpected T_ELSE in C:\Program Files\Wamp\www\zptesting\zen\admin.php on line 501[/i]
What's wrong with the file it looks totally the same as the old admin.php file on that line.
the subalbums branch does not work with modrewrite. set it to false and it should work for ya.
I found one problem my thumbs do show now but my full images wont show up. Chilifrei64 you got it working is there some / problem in the url or what is the problem because the url is correct and if i change the %2F to an / the full images shows but within the development theme it will not show. How do i fix this?
do you have modrewrite enabled. I didnt do anything special to get it working. the %2F is correct(atleast it works on my theme) it is its equivilent.
modrewrite is on false can you maybe share your working theme, template-functions.php and Classes.php with me to let me check if the problem is not server related...
It really seems that by loading the images using the absolute path in the code like the /'s wont work but in de thumbs when it is using the php query it works allthough i'm not sure about the thumbnails by this theorie because they work like charm. I think it's rather strange.
Ok i got it working now with some tweaking using: [i]str_replace('%2F', '/', urlencode($album))[/i] in the i.php. It's weird it has to be like this but it works so now i can really work with it. If someone else has this problem i'm willing to help you with it. but changing
` // If the requested image is the same size or smaller than the original, redirect to it.
if (!$upscale && $newh >= $h && $neww >= $w && !$crop) {
header("Location: " . PROTOCOL . "://" . $_SERVER['HTTP_HOST'] . WEBPATH
. "/albums/" . urlencode($album) . "/" . urlencode($image));
return;
}`
to
` // If the requested image is the same size or smaller than the original, redirect to it.
if (!$upscale && $newh >= $h && $neww >= $w && !$crop) {
header("Location: " . PROTOCOL . "://" . $_SERVER['HTTP_HOST'] . WEBPATH
. "/albums/" . str_replace('%2F', '/', urlencode($album)) . "/" . urlencode($image));
return;
}`
Would do the trick i think
can someone tell me why album title, description and place are not saved when you are editing those fields. I removed the 'no images in album' check but the information is only saved when there is at least one image file in the album. But i have a subalbum so i dont want to have an image file there. can anyone point me to the right place to make saving empty album information work again.
Hello!!
I can't use SVN here (and also, I sadly I don't know how).
So is there a way of getting this subalbums feature? Someone could e-mail me with the files needed?
I already have a gallery running, and I have translated it to Brazillian Portuguese (BTW, if anyone has interest... 1.0.3...) so will be there any trouble (since the language's strings are mixed with the code)?
Thanks in advance!
Luiz - marelox [at] gmail [dot] com
ok, i could get svn to work. download the 'subalbum' folder from there to my computer, and overwritted with my zen photo old files...
Then when i clicked on the purge link, it said the loadFileNames() could not me found, so i changed it to the getFileNames() that was in the file. Stopped the error, ok...
But I'm still with no subalbums...
I have a the following folder structure:
albums/2006/September
But my gallery only show a '2006' link, with nothing inside it.
Any ideas what it's going on? Can someone help me?
Thanks
with some web server, i had a bug in the 'gallery index' link: i got an error :
Warning: array_search() [function.array-search]: Wrong datatype for first argument in /mnt/100/sdb/6/6/adegerai/zenphoto/zen/classes.php on line 624
it's a bug in zen/classes.php on lines 611, 617 and 624. I change
$this->index = array_search($this, $this->gallery->getAlbums(0));
to
$this->index = @array_search($this, $this->gallery->getAlbums(0));
(the original function in official zen/classes.php)
BUT: I don't had this bug on my ubuntu laptop with an apache/php5 server with only automatic configuration ...
I wouldnt say it is dead. more or less at a crawl as far as development goes. There hasnt been a major release in a while here and there doesnt seem to be one in sight.
as far as the subalbums go. A couple of things.. people tend to not respond to the stickies. Start a new thread for support on this. But to start.. I see you overwrote an existing zen install. there is no upgrade from the current to the subalbums.
Start a new album and run the install and see if that works for ya
I started a new install. There were some mysql errors when first detecting the files in 'albums' folder, but then it stopped.
After, the "loadFileNames" function could not be found, so I thought the function needed was the "getFileNames" in the same file (classes.php). Then stopped this error too.
One small reminder for those who possibily were having the same problems as me: also remember to use the "testing" theme...
And here at my localhost server I have to turn mod_rewrite off, don't now if in the real server it will work...
Well, thanks to everybody... Now I'll edit the testing theme to fit my needs =]
And wait for the final release of subalbums.
ZP is the best!