Gallery version = 2.3.2 core 1.3.0.2 r20999
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.4.10 apache2handler
Webserver = Apache/2.2.3 (CentOS)
Database = mysql 5.5.29-log, lock.system=flock
Toolkits = ArchiveUpload, NetPBM, Gd, ImageMagick, Exif, jpegtran, Thumbnail, LinkItemToolkit, Getid3, Ffmpeg
Acceleration = full/900, none
Operating system = Linux gallery2.gemneye.org 2.6.18-308.24.1.el5.centos.plus #1 SMP Tue Dec 4 19:11:28 EST 2012 x86_64
Default theme = carbon
gettext = enabled
Locale = en_US
Rows in GalleryAccessMap table = 142
Rows in GalleryAccessSubscriberMap table = 10025
Rows in GalleryUser table = 35
Rows in GalleryItem table = 10019
Rows in GalleryAlbumItem table = 384
Rows in GalleryCacheMap table = 3509
I recently upgraded to PHP 5.4 and now the web server (apache) error logs have several errors like the following:
[Tue Jan 08 14:34:42 2013] [error] [client 180.76.5.187] PHP Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /Apache/Gallery2/modules/core/classes/GalleryUtilities.class on line 708.
These errors are quite frequent and the function names and location are different. Here are some other functions that are also showing up with the same error.
GalleryCoreApi::requireOnce()
GalleryEventLogHelper_medium::addEventLogEntry()
GalleryCoreApi::addEventLogEntry()
GalleryUtilities::prefixFormVariable()
The web site appears to function, but it does look like there are some issues, even if they are warning, with PHP 5.4 and Gallery2.
Thank You.
Posts: 27300
Try checking Google for an answer:
http://www.google.com/search?q=site:gallery.menalto.com+remove+E_STRICT+from+php.ini
I think the defaults have changed.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 1642
Yes, as from PHP 5.4, E_STRICT has been added to E_ALL
--
dakanji.com
Posts: 46
I'm continuing here...
Got ton's of these messages in my error log:
PHP Strict Standards: Non-static method GalleryDataCache::containsKey() should not be called statically, assuming $this from incompatible context in /var/......./gallery2/modules/core/classes/Gallery.class on line 922, referer:.....
Following the thread above I changed the log level from "E_ALL" to "E_STRICT" - if I'm getting this right above but that doesn't help. Got enormous logfiles!
-> php.ini error_reporting = E_STRICT & ~E_DEPRECATED
Sorry - I don't get it - anyone a hint for me? Thanks!
Debian Squeeze & PHP 5.4.13