![]() |
|
PHP Fatal error: undefined function is_newsarticle() hitcounter.php - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: PHP Fatal error: undefined function is_newsarticle() hitcounter.php (/thread-8004.html) |
PHP Fatal error: undefined function is_newsarticle() hitcounter.php - hkdigit - 2010-12-28 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? PHP Fatal error: undefined function is_newsarticle() hitcounter.php - acrylian - 2010-12-28 Quick fix: Enable the Zenpage plugin. Actually it is a bug as that plugin should of course work without Zenpage as well. PHP Fatal error: undefined function is_newsarticle() hitcounter.php - acrylian - 2010-12-28 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. PHP Fatal error: undefined function is_newsarticle() hitcounter.php - hkdigit - 2010-12-29 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. PHP Fatal error: undefined function is_newsarticle() hitcounter.php - sbillard - 2010-12-29 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". |