Xaraya 2x and Gallery2 installation

psspl

Joined: 2009-06-17
Posts: 1
Posted: Fri, 2009-06-19 05:11

I installed Gallery2 and everything works fine in stand alone mode as well as with xaraya 1.1.5.

But, when try integrating gallery2 with Xaraya 2x, facing following issue.
I did the gallery2 installation in Xaraya 2x.
When I modify the configuration after setting the embed variable to ‘true’ in the config.php and add the relative URL and G2 include paths on the web page, it throws below error -

Any idea on probable cause of the error

Thanks.

File : ..\html\modules\gallery2\embed.php
Line : 32
Code : 2048
Message : Non-static method GalleryDataCache::put() should not be called statically.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2009-06-19 08:00

i'm assuming that you're using gallery 2.3 with some php 5.2 or 5.3 version.

gallery 2.3 is compatible with php 4 and php 5, and not compatible with php 6. that means that when you run gallery 2.3, you'll need to set php's error_reporting level to exclude E_STRICT. the above warning / error seems to indicate that either your php config includes E_STRICT warnings or xaraya changes the error reporting level at runtime to include E_STRICT.

you'll need to change that to get rid of this warning. it's a harmless warning anyway.