troubles with installation of Gallery2 localhost with XAMPP 1.7.4

milplus

Joined: 2011-02-06
Posts: 32
Posted: Mon, 2011-02-14 19:51

I've installed Gallery3 successfully in 20 secs.

FOr Gallery2 I keep getting locally the below list of errors

Strict Standards: Non-static method GallerySetupUtilities::startSession() should not be called statically in C:\xampp\htdocs\drupal\gallery2\install\index.php on line 85

Strict Standards: Non-static method GalleryUtilities::getRequestVariablesNoPrefix() should not be called statically in C:\xampp\htdocs\drupal\gallery2\lib\support\GallerySetupUtilities.class on line 320

Strict Standards: Non-static method GalleryUtilities::_getRequestVariable() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 289

Strict Standards: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 875

Strict Standards: Non-static method GalleryUtilities::_internalGetRequestVariable() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 879

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 293

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 708

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 714

Strict Standards: Non-static method GallerySetupUtilities::areCookiesSupported() should not be called statically in C:\xampp\htdocs\drupal\gallery2\lib\support\GallerySetupUtilities.class on line 326

Strict Standards: Non-static method GallerySession::getRemoteIdentifier() should not be called statically in C:\xampp\htdocs\drupal\gallery2\lib\support\GallerySetupUtilities.class on line 365

Strict Standards: Non-static method GalleryUtilities::getServerVar() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GallerySession.class on line 1266

Strict Standards: Non-static method GalleryUtilities::sanitizeInputValues() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 1408

Strict Standards: Non-static method GalleryUtilities::getRemoteHostAddress() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GallerySession.class on line 1267

Strict Standards: Non-static method GalleryUtilities::isTrustedProxy() should not be called statically in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryUtilities.class on line 1008

Strict Standards: Non-static method GallerySetupUtilities::getConfigDir() should not be called statically in C:\xampp\htdocs\drupal\gallery2\lib\support\GallerySetupUtilities.class on line 367

Strict Standards: Non-static method GallerySession::compareIdentifiers() should not be called statically in C:\xampp\htdocs\drupal\gallery2\lib\support\GallerySetupUtilities.class on line 370

Strict Standards: Non-static method GalleryUtilities::strToUpper() should not be called statically, assuming $this from incompatible context in C:\xampp\htdocs\drupal\gallery2\modules\core\classes\GalleryTranslator.class on line 418

AND then no way to select any language and go ahead.

I've tried to re download english package .zip or .rar with no luck.

Can someone give me an help or explanation of this strange issue?
It is not the first time I've installed G2 before with XAMPP 1.7.3 with NO ISSUES.

now I'm not sure if all is related to the new version of XAMPP 1.7.4.

G3 is running perfectly.

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2011-02-14 19:59

IIRC, that update in XAMPP was the jump from PHP 5.2.x to 5.3

Make sure that you are using the latest version of G2 2.3.1. It was released specifically for PHP 5.3 updates and a couple of other minor updates.
____________________________________________
Like Gallery? Like the support? Donate now!

 
milplus

Joined: 2011-02-06
Posts: 32
Posted: Tue, 2011-07-19 06:49

sir

I'm experiencing the same problem again. I've version 5.3 and g2 2.3.1 but still same message related to

http://localhost/drupal/sites/all/modules/gallery2/install/<br /><b>Strict Standards</b>: Non-static method GallerySetupUtilities::areCookiesSupported() should not be called statically in <b>C:\

G3 is installed in barely 10 sec but canot be integrated with drupal unfortunately to my knowledge.

hope you can help me on this that is gonig to be an issue.

thanks

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2011-07-19 07:51

XAMPP is primarily designed for developers to test scripts before going live and as such, the php settings out of the box have been changed by XAMPP to report each and every "error" no matter how minor/irrelevant they are ... more so with XAMPP 1.7.4.

You need to change this to a more suitable setting for production if you are not a developer testing scripts.

1. Open your XAMPP php.ini file (C:\xampp\apache\bin\php.ini)
2. Search for error_reporting = ( This will most likely be error_reporting = E_ALL | E_STRICT )
3. Either ...
- Comment out the XAMPP error reporting change so that it falls back to the normal php default by adding ";" in front of the line ; error_reporting = E_ALL | E_STRICT
- Set the error reporting to a production level error_reporting = E_ALL & ~E_NOTICE
4. Reboot XAMPP or Apache

--
dakanji.com

 
milplus

Joined: 2011-02-06
Posts: 32
Posted: Tue, 2011-07-19 08:49

thanks for the support

now it works what is strange is that these errors reporting were impeeding to go ahead in the installation. no matter how many they were.

this is very strange.

thanks by the way.

can you help me in understanding if there is any way to easily integrate Gallery3 into drupal 6.x?

thanks

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2011-07-19 10:39

You are welcome.

On the G3 integration, I'm sorry but I don't use G3.

--
dakanji.com