Strict Standards: Non-static method GallerySetupUtilities::startSession() should not be called statically in /public_html/gallery/lib/support/security.inc on line 33
Strict Standards: Non-static method GalleryUtilities::getRequestVariablesNoPrefix() should not be called statically in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 320
Strict Standards: Non-static method GalleryUtilities::_getRequestVariable() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 289
Strict Standards: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 875
Strict Standards: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 879
Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 293
Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 708
Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 714
Strict Standards: Non-static method GallerySetupUtilities::areCookiesSupported() should not be called statically in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 326
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /public_html/gallery/lib/support/security.inc:33) in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 357
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /public_html/gallery/lib/support/security.inc:33) in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 357
Strict Standards: Non-static method GallerySession::getRemoteIdentifier() should not be called statically in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 365
Strict Standards: Non-static method GalleryUtilities::getServerVar() should not be called statically in /public_html/gallery/modules/core/classes/GallerySession.class on line 1266
Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1408
Strict Standards: Non-static method GalleryUtilities::getRemoteHostAddress() should not be called statically in /public_html/gallery/modules/core/classes/GallerySession.class on line 1267
Strict Standards: Non-static method GalleryUtilities::isTrustedProxy() should not be called statically in /public_html/gallery/modules/core/classes/GalleryUtilities.class on line 1008
Strict Standards: Non-static method GallerySetupUtilities::getConfigDir() should not be called statically in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 367
Strict Standards: Non-static method GallerySession::compareIdentifiers() should not be called statically in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 370
Strict Standards: Non-static method GallerySetupUtilities::getGalleryConfig() should not be called statically in /public_html/gallery/lib/support/security.inc on line 36
Strict Standards: Non-static method GallerySetupUtilities::getConfigDir() should not be called statically in /public_html/gallery/lib/support/GallerySetupUtilities.class on line 244
Posts: 1642
Ask your host why they have left PHP's E_STRICT setting on.
The host should know that this should not be set for production servers.
--
dakanji.com
Posts: 39
Hi Dayo
Thanks for your quick reply. Inmotion hosting changed the php.ini file to read
I was able to access the gallery/lib/support/index.php and wipe the cache, unfortunately I still have the same problem of broken thumbnails. Thanks for solving the error of being unable to access the maintenance page.
I read your post yesterday that you had the same problem but with random broken thumbnails appearing after the page is refreshed. Would your module/script solve my problem or should I just downgrade gallery to a version that didn't have this problem?
reference: http://galleryproject.org/node/111794
Posts: 1642
What your host has just set is:
Show E_ALL warnings
Ignore E_NOTICE warnings
Ignore E_DEPRECATED warnings
Since E_STRICT was included in E_ALL as from PHP 5.4, their setting is no good with respect to disabling E_STRICT warnings.
What is needed for PHP 5.4 and above is:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
It seems your host has not kept themselves up to date on the requirements of a key server side software.
Ask them to read up on: http://php.net/manual/en/errorfunc.constants.php
--
dakanji.com
Posts: 39
Thanks for your help Dayo. Unfortunately that didn't fix the problem of broken thumbnails.
I spent yesterday trying to work out the problem & think I might just have to revert back to gallery 2.2.
I really like your photos at http://www.dakanji.com/ Great documentary style photography. Your work reminds me of the magnum photographers: http://www.magnumphotos.com
Have a great day.
Posts: 1642
Thanks for viewing my site.
Note that G2.2 will not work with PHP 5.4 (or, more accurately, will randomly crash depending on a number of things).
Whatever the case, the answer is most definitely not a downgrade to G2.2 and that is probably about the worst possible decision you could make in these circumstances.
The broken thumbs issue is either a resource (host server overloaded) or toolkit issue.
Since you say ImageMagick is installed fine, just leave it alone. Most probably your host is overloaded.
Do make sure you haven't selected the option to only create thumbs when first viewed.
--
dakanji.com
Posts: 39
Thanks the advice and time. I will keep trying to find an answer without downgrading gallery. Will post me answer here.
In the meantime I will fix the proplem by rebuilding thumbnails after each upload.
cheers
Posts: 39
I think the problem is now solved, thanks to Dayo & Suprsidr for their advice.
Here is how I fixed it:
+ Reinstalled Gallery 2.3.2 and didn't activate any extra plugins.
+ Went into Cpanel & repaired the database (back it up first).
+ Went into Gallery, Admin, Maintenance and did the following: Delete database cache, Delete template cache and Build all thumbnails/resizes.
BINGO no more problem. I suspect that all was repaired with the reinstall, but have inclused all my steps just in case.
Hope this helps someone else.