Help, I have a problem with a previously solid installation of Zenphoto (1.03). I can view my main gallery page (
http://www.japikse.com/photography/) but I cannot view any albums. However, I can view all of the administrative pages (
http://www.japikse.com/photography/zen/) This previously happened once and went away on its own. This time the problem does not appear to be self resolving. I tried switching themes and still had the same problem. This account is on dreamhost and I am using php 5.1.2 without mod_security (just removed per some google inspired idea). I would be grateful if someone could help me figure out how to fix this problem. I know python but know nothing about php. Thanks!
Rusty
Comments
This is where your HTML ends:
`
Home »
<a class="nobold" href="`
Which is very weird. It seems like the printGalleryLink function is killing the whole script. I'm checking it out now.
1. On lines 17 and 23, remove the '`@`' symbols in front of the two `mysql_...` functions.
2. Change line 37 to:
`$result = mysql_query($sql);`
removing the `or die(...)` part.
Then come back and let me know what that did...
Cheers,
Rusty
(Or if you want, I'd love to do that for you and give you a custom version to test...)
If it is not too hard, I would like to go for the custom version. Right now I am in Bolivia, so ssh editing sessions can be a little slow. I will be out tomorrow, but should have time on Thursday afternoon.
Cheers,
Rusty
Rusty
The bottom line is that it's most useful to the most number of people if written in the most popular language with the most widespread server support. It's a sad truth, but PHP is it, and PHP4 at that. So I try to do PHP4 as elegant as humanly possible... it's not alright I guess... :-)