Member
Member
hkdigit   2010-12-28, 15:05
#1

Hi,

I got following error when checking error log:

[27-Dec-2010 23:04:13] PHP Fatal error: Call to undefined function is_newsarticle() in /home/hklb/public_html/hkgimg/pic/zp-core/zp-extensions/hitcounter.php on line 160

I am using ZenPhoto 1.3.1.2 [5831]

My website: http://www.hkgimages.com/pic

Any hints?

Administrator
Administrator
acrylian   2010-12-28, 16:14
#2

Quick fix: Enable the Zenpage plugin.

Actually it is a bug as that plugin should of course work without Zenpage as well.

Administrator
Administrator
acrylian   2010-12-28, 17:27
#3

Actually that error would only appear if you are on a Zenpage plugin theme page (pages.php or news.php). Without that plugin being enabled it is unlikely that you do access those. Please try to describe what you have done exactly.

Member
Member
hkdigit   2010-12-29, 00:22
#4

I just modified the default theme and I never use pages.php and news.php... Don't know why it's appear on errlog file.

Member
Member
sbillard   2010-12-29, 01:05
#5

Do you see this error if you run an unmodified theme? If not we will need detailed information about the modifications you have made. Also what plugins you have enabled.

As acrylian has said, this error can occur only if Zenphoto thinks it is loading a script named "new.php".

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