ZenphotoCMS Forum
Warning:Wrong datatype Nightly trunk - 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: Warning:Wrong datatype Nightly trunk (/thread-8722.html)



Warning:Wrong datatype Nightly trunk - reneesanguinetti - 2011-06-15

I have just installed a "test gallery" for the zenphoto-2011-06-14-trunk. When I view the gallery for any of the included themes, I receive the following message:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home6/advertk3/public_html/advertk3/zptest/zp-core/class-gallery.php on line 851

Warning: Cannot modify header information - headers already sent by (output started at /home6/advertk3/public_html/advertk3/zptest/zp-core/class-gallery.php:851) in /home6/advertk3/public_html/advertk3/zptest/index.php on line 150

Warning: Cannot modify header information - headers already sent by (output started at /home6/advertk3/public_html/advertk3/zptest/zp-core/class-gallery.php:851) in /home6/advertk3/public_html/advertk3/zptest/index.php on line 151

Warning: Cannot modify header information - headers already sent by (output started at /home6/advertk3/public_html/advertk3/zptest/zp-core/class-gallery.php:851) in /home6/advertk3/public_html/advertk3/zptest/index.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home6/advertk3/public_html/advertk3/zptest/zp-core/class-gallery.php:851) in /home6/advertk3/public_html/advertk3/zptest/index.php on line 153

Also on the gallery options in admin of the section "unprotected pages"

Thank-you!




Warning:Wrong datatype Nightly trunk - acrylian - 2011-06-15

Try a re-upload, maybe some files got corrupt via FTP. Can happen for whatever reasons.




Warning:Wrong datatype Nightly trunk - reneesanguinetti - 2011-06-15

Ok. I will do that, but yesterday I installed zenphoto-2011-06-13-trunk with the same results. That's why I waited until today to try a fresh install of the latest trunk.
Thank-you.




Warning:Wrong datatype Nightly trunk - reneesanguinetti - 2011-06-15

Hello,
I deleted my previous installation and database. Started over. Same warnings. This time I uploaded the zip file to my host and extracted it directly.
Thank-you.




Warning:Wrong datatype Nightly trunk - acrylian - 2011-06-15

Try another unarchiver maybe. The files itself are okay, at least when taken from the svn directly. You could do an export as well. Sorry, I have no other idea...




Warning:Wrong datatype Nightly trunk - sbillard - 2011-06-15

Check your CGI logs as well. This error is most likely a down-stream effect of some other error.




Warning:Wrong datatype Nightly trunk - sbillard - 2011-06-15

I was able to re-create this. It was caused by an error in Setup. This will be fixed in the nightly build. But the install you did will need to be re-done.