Member
Member
reneesanguinetti   15-06-2011, 15:58
#1

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!

Administrator
Administrator
acrylian   15-06-2011, 18:00
#2

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

Member
Member
reneesanguinetti   15-06-2011, 18:05
#3

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.

Member
Member
reneesanguinetti   15-06-2011, 19:25
#4

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.

Administrator
Administrator
acrylian   15-06-2011, 19:29
#5

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...

Member
Member
sbillard   15-06-2011, 22:05
#6

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

Member
Member
sbillard   15-06-2011, 22:29
#7

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.

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