ZenphotoCMS Forum
Abend With Statistics - 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: Abend With Statistics (/thread-11366.html)



Abend With Statistics - Ganesh - 2013-09-21

Hello,

Running statistics in Admin mode, i have after most recent albums, this error (apparently for most recent albums upgrade) :

Fatal error: Call to undefined function getAllAccessibleAlbums() in /home/users3/b/zzzzz/www/yyyyyy/zp-core/zp-extensions/image_album_statistics.php on line 42

Are you aware about this error and does i need to chack something ?

Thanks in advance.




Abend With Statistics - acrylian - 2013-09-21

You mean you get that on the statistics page of the main overview page? I cannot reproduce this. The function the error is about is part of the main template-functions.php file.

That function in question was formerly part of the plugin but under a different name. It was moved because it was useful for other places, too.




Abend With Statistics - Ganesh - 2013-09-22

Yes, Acrylian, it is from the main overview page.

On my test site it is OK, with few pictures.
On the other one, i have always this message.

I use the standard package, but how can i check where is the problem ? I can add a trace if you wants (if yes, tell me where and which lines add in which file). I can also check inside the tables.




Abend With Statistics - acrylian - 2013-09-22

Anything else in the logs?




Abend With Statistics - sbillard - 2013-09-22

Fix is now in the support build.




Abend With Statistics - acrylian - 2013-09-22

Strange that this didn't show up for me.




Abend With Statistics - sbillard - 2013-09-22

You did not setup the right conditions.




Abend With Statistics - Ganesh - 2013-09-29

Sorry for delay, but where does i need to check the access rights ? For which directory or folder ?




Abend With Statistics - acrylian - 2013-09-29

Did you try the support build since it was an error fixed?




Abend With Statistics - Ganesh - 2013-09-29

I took only gallery_statistics.php from 1.4.6 and i have the same abend.




Abend With Statistics - acrylian - 2013-09-29

1.4.6 is the development build and not the 1.4.5.x support build. Besides you should never just replace one file anyway as there might be other code dependencies. (as they are here since it uses several plugins).




Abend With Statistics - Ganesh - 2013-09-29

It is OK Acrylian, thanks a lot.