Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438086 - www-apps/gallery-2.3.1 - "Begin Installation" fails with "The requested URL /gallery/install/<br /><b>Strict Standards</b>: Non-static method GallerySetupUtilities::areCookiesSupported() should not be called statically ..."
Summary: www-apps/gallery-2.3.1 - "Begin Installation" fails with "The requested URL /...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 08:13 UTC by Juergen Rose
Modified: 2016-02-20 17:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2012-10-12 08:13:01 UTC
After emerging gallery and creating a gallery2 database browsing to http://localhost//gallery/install gives a lot of warings:

Strict Standards: Non-static method GallerySetupUtilities::startSession() should not be called statically in /var/www/localhost/htdocs/gallery/install/index.php on line 85

Strict Standards: Non-static method GalleryUtilities::getRequestVariablesNoPrefix() should not be called statically in /var/www/localhost/htdocs/gallery/lib/support/GallerySetupUtilities.class on line 320

Strict Standards: Non-static method GalleryUtilities::_getRequestVariable() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 289

Strict Standards: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 875

Strict Standards: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 879

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 293

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 708

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 714

Strict Standards: Non-static method GallerySetupUtilities::areCookiesSupported() should not be called statically in /var/www/localhost/htdocs/gallery/lib/support/GallerySetupUtilities.class on line 326

Strict Standards: Non-static method GallerySession::getRemoteIdentifier() should not be called statically in /var/www/localhost/htdocs/gallery/lib/support/GallerySetupUtilities.class on line 365

Strict Standards: Non-static method GalleryUtilities::getServerVar() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GallerySession.class on line 1266

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 1408

Strict Standards: Non-static method GalleryUtilities::getRemoteHostAddress() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GallerySession.class on line 1267

Strict Standards: Non-static method GalleryUtilities::isTrustedProxy() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryUtilities.class on line 1008

Strict Standards: Non-static method GallerySetupUtilities::getConfigDir() should not be called statically in /var/www/localhost/htdocs/gallery/lib/support/GallerySetupUtilities.class on line 367

Strict Standards: Non-static method GalleryTranslator::getLanguageCodeFromRequest() should not be called statically in /var/www/localhost/htdocs/gallery/install/index.php on line 91

Strict Standards: Non-static method GalleryUtilities::getServerVar() should not be called statically in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryTranslator.class on line 444

Strict Standards: Non-static method GalleryUtilities::strToUpper() should not be called statically, assuming $this from incompatible context in /var/www/localhost/htdocs/gallery/modules/core/classes/GalleryTranslator.class on line 418

Strict Standards: Non-static method GallerySetupUtilities::generateAuthenticationKey() should not be called statically, assuming $this from incompatible context in /var/www/localhost/htdocs/gallery/install/steps/AuthenticateStep.class on line 32


Selecting the first step in the installation menu (Begin Installation) fails with:


The requested URL /gallery/install/<br /><b>Strict Standards</b>: Non-static method GallerySetupUtilities::areCookiesSupported() should not be called statically in <b>/var/www/localhost/htdocs/gallery/install/index.php</b> on line <b>318</b><br />index.php was not found on this server.



In file:///usr/share/doc/gallery-2.3.1/html/README.html I find:
...
PHP version 4.x (4.3.0 or more recent) or 5.x (5.0.4 or more recent) 
Note: PHP's safe_mode must be disabled! Read this forum thread for a safe_mode discussion.
...

and in http://us2.php.net/manual/en/features.safe-mode.php#ini.safe-mode

PHP's safe_mode:
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.



root@orca:/var/www/localhost/htdocs(68)# qlist -Iv php
app-admin/eselect-php-0.6.7
app-doc/php-docs-20101029-r1
dev-db/phpmyadmin-3.5.2.2
dev-java/netbeans-php-7.2
dev-lang/php-5.4.7
virtual/httpd-php-5.4-r1



Could it be that gallery-2.3.1 does not work with php-5.4.7?


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2016-02-20 17:42:03 UTC
removed