Warning:Wrong datatype Nightly trunk

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!

Comments

  • acrylian Administrator, Developer
    Try a re-upload, maybe some files got corrupt via FTP. Can happen for whatever reasons.
  • 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.
  • 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.
  • acrylian Administrator, Developer
    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...
  • Check your CGI logs as well. This error is most likely a down-stream effect of some other error.
  • 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.
Sign In or Register to comment.