Hello there,
Fairly new to ZenPhoto but starting to like it a lot.
I copied the theme zenpage and made fairly simple changes to the style.css file (header photo, left margin from 590 to 600), moved the search icons from the header. I also made changes to the footer.php.
The gallery and the hierarchy of albums are working okay. I have 3 levels of albums hierarchy and my albums are private (with the use of a user and password).
Some of the albums and photos are tagged. At times (yes at times) if I search on a word that has been tagged or I click on the hyperlink of the tagged word, the page loses the design. The header stays, but the rest of the screen shows the black background with the albums or the photos showing on an add way. Although the text staying how many hits were in the search cannot be seeing, they are generated. If I look at the html source the information is there but somehow the format of the css gets overwritten by something else. I just don't know what is it.
Has any one experience this problem? Could this be an option that I have to check/unchecked?
Thanks in advance
Comments
I then opted to ignore 'albums' on the search and that appeared to work. I added the tags and so far the test has been successful.
What could be causing this behavior? The version that I installed via my host provider (1&1) Build option was 1.4.0.3 and it did not behave that way. Due to some constraints that 1&1 gives me where I cannot modify folders and therefore I couldn't even duplicate a theme, I installed my own version, using the latest zenPhoto 1.4.3.3. However, please note that 1&1 (at least the server that I'm using) does not have the latest version of mySQL or PHP. Perhaps something special from PHP is being used? I don't believe is mySQL as the results appear to be okay but I'm might be wrong.
Anyway I thought to give you more information. I would like to enable the search for images and albums.
Thanks again
Your best approach is to find your script error files and see what, if anything, is reported.
I am not aware, though, of any such issues with simple searches.
The only other thing I can think of is maybe special characters in the tags? If those are not handled correctly they might distrupt the HTML output.
I do not have special characters and the problem went away when I disabled the search on albums. I would like to see the java script error (I haven't changed any JS) but I do not know where to look. Where can I find these errors? Or how can I enable debug for the java scripts? I checked the log (debug tab) but it does not give me any information.
I do believe the problem is related to the level of PHP that 1and1 (my host server) supports as I made the same changes to my zenphoto in my localhost (with the latest PHP and mySQL versions) and the pages are rendered with no problems regardless of the type of search (albums, photos).
For JS errors browsers have generally logs.
But good that upgrading the PHP and MySQL seems to have fixed the issue. I guess we will assume it was caused by one of those plugins that triggered the PHP bug.