Member
Member
southdreamz   2008-11-10, 08:51
#1

Dear Support,

Today i checked my php error log file and i found the following four major errors:

[Mon Nov 10 07:35:09 2008] [error] [client 64.71.16.2] PHP Fatal error: Call to undefined function getAlbumStatistic() in /home/xxx/public_html/gallery/themes/default/sidebar.php on line 11

i have checked in my theme and i'm using this line:
$latestalbums = array(getAlbumStatistic(4, "latest"));

[Mon Nov 10 07:27:17 2008] [error] [client 67.202.59.141] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/gallery/zp-core/plugins/static_html_cache.php on line 112
[Mon Nov 10 07:27:17 2008] [error] [client 67.202.59.141] PHP Warning: fputs(): supplied argument is not a valid stream resource in /home/xxx/public_html/gallery/zp-core/plugins/static_html_cache.php on line 111
[Mon Nov 10 07:27:17 2008] [error] [client 67.202.59.141] PHP Warning: fopen(cache_html/) [function.fopen]: failed to open stream: Is a directory in /home/xxx/public_html/gallery/zp-core/plugins/static_html_cache.php on line 110

Pleas3 help me how to resolve this issue?

Member
Member
sbillard   2008-11-10, 20:18
#2

getAlbumStatistics() is a plugin function, so perhpas you have not got that plugin enabled.

The errors in static_html_cache.php seem to be related to not being able to open the cache file. There is a recent fix for this script so your best bet it to disable the script until after tonight's build. Then tomorrow install the nightly build and reenable the script.

Member
Member
southdreamz   2008-11-17, 08:43
#3

I have checked that, album statistics plug-in is enabled, but i'm getting this error.

Member
Member
southdreamz   2008-11-18, 12:42
#4

Sorry sbillard, this is my mistake, i'm using this function in 404.php page.

Member
Member
southdreamz   2008-12-04, 09:42
#5

i checked my php error log file and i found the following Errors:

[04-Dec-2008 03:13:45] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/xxxx/public_html/gallery/zp-core/functions-image.php on line 65
[04-Dec-2008 03:13:46] PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/home/xxxx/public_html/gallery/albums/actress/bhuvaneswari/super-hot-stills/bhuvaneswari-0013.jpg' is not a valid JPEG file in /home/xxxx/public_html/gallery/zp-core/functions-image.php on line 65
[04-Dec-2008 03:13:46] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/gallery/zp-core/functions-image.php:65) in /home/xxxx/public_html/gallery/zp-core/i.php on line 205
[04-Dec-2008 03:13:46] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/gallery/zp-core/functions-image.php:65) in /home/xxxx/public_html/gallery/zp-core/i.php on line 206
[04-Dec-2008 03:13:46] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/public_html/gallery/zp-core/functions-image.php:65) in /home/xxxx/public_html/gallery/zp-core/i.php on line 207

Member
Member
sbillard   2008-12-04, 18:58
#6

Something in the image is tripping out the PHP graphics processing. You can try loading the image in an image editor and resaving it. This often will make a more cononical image.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.