Template changes simply ignored, page frozen in a buggy state

Hello.
I'm facing a strange bug:
I'm working on a template and editing gallery.php
All of a sudden, all modification stop being caught by the template engine, the outputed page remains on one old template state, it's like frozen.
I've double checked that my template file are updated on the server, and even tried to reboot the whole apache without success.
log system outputs some info:
--------------------
{Sat, 21 Apr 2012 19:28:14 GMT} Zenphoto v1.4.2.3[9710]
Backtrace: class-album detected an invalid folder name: 1.
Album->__construct called
from getRandomImagesAlbum (template-functions.php [3226])
from printRandomImages (template-functions.php [3317])
from include (gallery.php [127])
from include (index.php [10])
from index.php [128]
---------------------

So I assume there's a bug in my template:

---------------------
printRandomImages( '30', 'gall_album_random' , 'album', albumNumber() , '150' , '150', 'false', 'false' );
---------------------

but even if I comment out the whole line, it's like the template engine stopped taking the modified template, and just "froze " in one previous state.

So my question is: how one can force the template system to take the modifications again?
Is there a template cache somewhere?

Thank you for your help.

Comments

  • I am not really sure what you mean by "froze". I suspect you mean that the page stops displaying. If so there is almost always a PHP error responsible. In the case of your call to `printRandomImages()` you certainly have the parameter wrong for indicating the album.

    The function document describes the `$rootAlbum` parameter as "string $rootAlbum optional album from which to get the images" but you are passing an integer to it. This does explain the invalid folder name of "1".

    But with that line commented, there must be another PHP error. For that you will need to find your server Apache/PHP error log.
Sign In or Register to comment.