![]() |
|
Empty Page in Default and Testing Theme, works in Stopdesign - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Empty Page in Default and Testing Theme, works in Stopdesign (/thread-860.html) |
Empty Page in Default and Testing Theme, works in Stopdesign - jules - 2006-11-07 I have been browsing around here for some time and couldn't find the same problem posted anywhere, so I'll give it a shot because I love Zenphoto and really hope that I'll get it to work on my server. Initially, I could not see any thumbnails or full-size pictures, but set the mod_rewrite to false, and that seemed to do the trick - the thumbnails were there. When I try to open the album, however, I get an empty (not blank) page in the default theme. Same with the testing theme. Strangely enough, I get a functional gallery with Stopdesign. I could just accept it, but I do prefer the default Zenphoto theme, so if anyone knows what I could try, I'd be really grateful. This is the gallery: Direct link to one of the images: And according to the test.php output, my server has got this to say on "GD": gd Thanks in advance, Empty Page in Default and Testing Theme, works in Stopdesign - jules - 2006-11-07 I just noticed something else: When I browse the pictures in Stopdesign, and then switch to the default theme (in a different Firefox tab), I am still able to see and browse them in that theme: http://hellagood.pytalhost.com/zenphoto/index.php?album=the-killers&image=IMG_3852.JPG Returning to the album index page still results in an empty page though... TIA, Empty Page in Default and Testing Theme, works in Stopdesign - k-jello - 2006-11-08 Julia, Empty Page in Default and Testing Theme, works in Stopdesign - k-jello - 2006-11-08 Alright, I just figured it out!!! That theme doesn't like php 5 (other themes?). My host has both php 4.4 and 5 installed and I have a user defined handler that says all php files to be processed by php-5. I deleted that handler and it started working again. My php isn't that strong, so it will take me a while to figure out what's freaking out. If any php junkies out there can look into this, that'd be AWESOME! kjo Empty Page in Default and Testing Theme, works in Stopdesign - jules - 2006-11-08 Ooh that might be it - my server has got PHP 5.2.0... not that there's much I could do with that, unfortunately. My PHP "skills" are basic at best, and the server doesn't have PHP 4. I noticed that opening the page in IE (Win) will display " Empty Page in Default and Testing Theme, works in Stopdesign - Woutie - 2006-11-08 I have the same problem. And I just tried it in IE and I also get " Empty Page in Default and Testing Theme, works in Stopdesign - clam - 2006-11-09 I too am having this issue. I installed zenphoto on my server running IIS 6.0 with MySQL 5.0 and PHP 5.2.0 (gd2 enabled) and everything works great except for the album page. I can see the main page with a list of my albums and I can see the thumbnails, but when I click on them it simply shows a blank page (blank template page). If I manually type the link to a picture within an album it shows up fine and I can click on next and view all the pictures withing the album, but when I go back to the album's main page it is blank (and shows " Empty Page in Default and Testing Theme, works in Stopdesign - jules - 2006-11-09 Hmm, the evidence so far seems to support this... I installed ZP 1.0.3 on a free webserver (with annoying pop-ups, so sadly hosting my gallery there is not an option) running PHP 4, and it works, so it might indeed be the PHP version causing this, as discovered by kjo. Let's just hope this is resolvable somehow... Empty Page in Default and Testing Theme, works in Stopdesign - clam - 2006-11-09 I fixed it for my system! You will need to make the following change to the php.ini file on your server: Find the line "zend.ze1_compatibility_mode = off" and change it to "zend.ze1_compatibility_mode = on" (without the quotes). This seemed to fix the issue for my configuration... Hope that helps! Empty Page in Default and Testing Theme, works in Stopdesign - jules - 2006-11-09 Sounds good, but sadly I don't have permissions to make changes to the php.ini file on my server Is there any way to solve this within the ZP files? Empty Page in Default and Testing Theme, works in Stopdesign - trisweb - 2006-11-10 I've taken a look at this and based on the output of the script, it's failing on the weirdest of functions... `` My guess is that execution fails there with an error, but y'all have the PHP setting to supress errors turned on (which is good for security but hard for debugging). I'll look into it more now, be back later. Empty Page in Default and Testing Theme, works in Stopdesign - trisweb - 2006-11-10 Actually I've suppressed the error myself, go figure. One of you with the problem want to do a little hacking? Go to line 581 in classes.php, remove the '@' symbol in front of array_search, reload your album, and come back with the error message. I probably already know what it is though -- something about bad type for array_search... (Technical explanation) Like I said in the tech. babble, the fix is already in the codebase and has been for some time, but I know that doesn't help much until I release something. Maybe I'll release what I have now for this and the performance improvements... Anyway, the temp fix, if you want your galleries to work is this: In the file [zenphoto basedir]/zen/classes.php, change line 338 from: This will unfortunately make the link back to your gallery always go to page 1, but it's better than a blank album! Let me know how it works. Empty Page in Default and Testing Theme, works in Stopdesign - jules - 2006-11-10 Oh wow, thank you sooooo much, trisweb! Not just for the fix, but for writing Zenphoto in the first place |