Member
Member
mrsherman   2010-04-22, 12:26
#1

I've suddenly got a Zen album (using the Default theme) showing this message in the admin panel:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home2/triniud1/public_html/zen/zp-core/admin-functions.php on line 2343

along with an option to "edit" plus a strong warning to be careful WHAT you change...

I am not a programmer, and chose Zen (for several clients) because it didn't require me to code anything. Can someone tell me (very simply) what I have to do to fix this installation? (The same error is showing in the admin theme panel for all the theme options). Is this a program on the hosting end or with Zen?

Thanks for any assistance.

Administrator
Administrator
acrylian   2010-04-22, 12:39
#2

If your directory is really named "zen" you probably have a quite old version of Zenphoto (which you did not state at all). If that is the case please upgrade.

Member
Member
mrsherman   2010-04-22, 12:45
#3

Sorry -- it is version 1.2.9.

Member
Member
mrsherman   2010-04-22, 12:58
#4

Let me add that I checked the admin for the theme after site visitors reported this message next to every image in the album (a new problem - it was working just fine):

Notice: getSubAlbums is deprecated. Use getAlbums(). in /home2/triniud1/public_html/zen/zp-core/class-album.php on line 1429

Researching this error I found other Hostmonster customers (as I am) with this problem, and a response from Zen about not using Simple Scripts to auto-install (which like other Hostmonster customers, I did). I am guessing based on other posts about this issue that the advice from Zen is going to be to do a manual install?

Administrator
Administrator
acrylian   2010-04-22, 13:15
#5

Yes, if you installed via a installation helper we won't support that as these scripts often do not honor changes the right way (one might be the "zen" folder that since quite some time is named "zp-core"). We have lots of report with issues with them.

Well, the error is what is says. You can enable the deprectated functons plugin but the long term solution is to update your theme if you use a custom theme. If not it's again an install script issue.

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