Ok, so I updated to the nightly so I could keep up with the recent fixes etc and then I noticed something... half of my image page doesn't show.. It's quite a large chunk of stuff that for whatever reason.. just doesn't load. I'm not seeing any errors or anything in the logs.
Compare the live version (which I updated to nightly) to the base 1.2.6 version that I uploaded as test and are using the exact same theme files.
Nightly (10-28 date):
http://www.michealmalone.com/zen/seattle-day-trip-10-9-2009/2009-10-09-09.44.39.jpg.php1.2.6:
http://www.michealmalone.com/zentest/seattle-day-trip-10-9-2009/2009-10-09-09.44.39.jpg.phpIt appears to be doing it on all themes. From what I can tell it just stops loading the page after imagedata... On default theme as well. I noticed it because the adminmenubox wasn't being loaded. I can't see anything outstanding in the code that would cause it but I haven't been over everything with a finetooth comb yet...
Comments
if (getImageEXIFData()) {echo "".gettext("Image Info")."";
printImageMetadata('', false);
}
?> `code`
it seems to stop from there on.. it's a theme just stylized off the example them for now. the default example theme does the same. In the error logs I'm seeing:
[Sat Oct 31 20:30:32 2009] [error] [client 24.16.176.27] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0, referer: http://www.michealmalone.com/zen/themes/my_theme/zen.css
[Sat Oct 31 20:30:35 2009] [error] [client 24.16.176.27] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0, referer: http://www.michealmalone.com/zen/index.php
[Sat Oct 31 20:30:35 2009] [error] [client 24.16.176.27] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0, referer: http://www.michealmalone.com/zen/seattle-day-trip-10-9-2009/
[Sat Oct 31 20:30:35 2009] [error] [client 24.16.176.27] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0, referer: http://www.michealmalone.com/zen/themes/my_theme/zen.css
[Sat Oct 31 20:30:40 2009] [error] [client 24.16.176.27] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0, referer: http://www.michealmalone.com/zen/seattle-day-trip-10-9-2009/
[Sat Oct 31 20:30:40 2009] [error] [client 24.16.176.27] PHP Fatal error: Call to undefined method _Image::getExifData() in /usr/local/pem/vhosts/200164/webspace/httpdocs/zen/zp-core/template-functions.php on line 2303, referer: http://www.michealmalone.com/zen/seattle-day-trip-10-9-2009/
[Sat Oct 31 20:30:40 2009] [error] [client 24.16.176.27] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0, referer: http://www.michealmalone.com/zen/seattle-day-trip-10-9-2009/2009-10-09-09.44.39.jpg.php
[Sat Oct 31 20:30:41 2009] [error] [client 24.16.176.27] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0, referer: http://www.michealmalone.com/zen/themes/my_theme/zen.css
This is just a theme based off the example theme. Not much in the way of code changes.
Edit: I tried turing on deprecated functions and it just leaves a blank white screen.
This page output errors happen on the default example theme as well.
Also, the reason that this happens on the example theme as well is that the example theme has been removed in the nightly builds and therefore has not been updated along with zenphoto.
function getImageEXIFData() {
global $_zp_current_image;
if (is_null($_zp_current_image)) return false;
return $_zp_current_image->getExifData();
}
While the base 1.2.6 contains:
function getImageMetaData() {
global $_zp_current_image;
if (is_null($_zp_current_image)) return false;
return $_zp_current_image->getMetaData();
}
Also, changing the one reference to getImageEXIFData() in the theme to getImageMetadata() doesn't resolve the issue.
Edit: in fact changing it to getImageMetadata generates:
[Sat Oct 31 21:15:01 2009] [error] [client 24.16.176.27] PHP Fatal error: Call to undefined function getImageMetadata() in /usr/local/pem/vhosts/200164/webspace/httpdocs/zen/themes/my_theme/image.php on line 47, referer: http://www.michealmalone.com/zen/seattle-day-trip-10-9-2009/
If you look at the example links above, I've changed the skin to default on both the test and live galleries. Just to make sure it's not any code modifications in my theme etc. It still produces the same errors, stopping the image.php page generation part way through.
Also, the default theme is still present in the nightly builds and should be updated accordingly with the zenphoto core.
Chalk one up to idiocy on my part, lol. Thanks for the patience and help guys.