[SOLVED] with PHP 5.4.12 I cannot login!

uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Thu, 2013-05-16 14:28


URL di Gallery = http://lnx.sinapsi.org/wordpress/gallery/main.php
Versione di Gallery = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
Versione PHP = 5.3.15 cgi-fcgi
Webserver = Apache/2.2
Database = mysqlt 5.0.92-enterprise-gpl-log, lock.system=flock
Strumenti = ArchiveUpload, Getid3, LinkItemToolkit, NetPBM, Thumbnail, ImageMagick, Exif, Gd
Accelerazione = partial/21600, partial/21600
Sistema operativo = Linux webxc09s10.ad.aruba.it 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC 2012 x86_64
Tema predefinito = matrix
gettext = abilitato
Locale = it_IT
Browser = Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20100101 Firefox/14.0.1
Righe nella tabella GalleryAccessMap = 194
Righe nella tabella GalleryAccessSubscriberMap = 943
Righe nella tabella GalleryUser = 5
Righe nella tabella GalleryItem = 940
Righe nella tabella GalleryAlbumItem = 48
Righe nella tabella GalleryCacheMap = 49120

If I use PHP 5.3.22 Gallery works fine, but if I set my host with PHP 5.4.12 I cannot login!

Should I move from G2 to G3 ? thanks.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-05-16 18:28

why not stay w/ php 5.3?

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-05-16 20:25
 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Fri, 2013-05-17 08:29
suprsidr wrote:
why not stay w/ php 5.3?

-s
________________________________
All New jQuery Minislideshow for G2/G3

I took advantage of this issue to decide myself in migrating all to Gallery 3. It was such an easy move and now I enjoy the clean and simple of G3 that works with the last PHP 5.4!

Many thanks.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2013-05-19 05:19

Just a point of note for any coming across this after a search perhaps.

G2 v.2.3.1 and above works just fine with PHP 5.4 and mine is running with no issues with PHP 5.4.15 which is more up to date than the 5.4.12 the OP referenced.

--
dakanji.com

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sun, 2013-05-19 08:00
Dayo wrote:
Just a point of note for any coming across this after a search perhaps.

G2 v.2.3.1 and above works just fine with PHP 5.4 and mine is running with no issues with PHP 5.4.15 which is more up to date than the 5.4.12 the OP referenced.

--
dakanji.com

Quite weird since I've read:

suprsidr wrote:
this is what breaks in php 5.4
https://github.com/gallery/gallery3/commit/6b306cddc1f25ecfe054b0a1c9d0dc3536da51f6

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2013-05-19 14:33

Not weird at all since your link refers to Gallery 3 which is a totally different application from Gallery 2. Hence, Gallery 2 has never had the Kohana framework's "ob_clean" issue the linked github commit addresses in Gallery 3 since Gallery 2 does not use this framework in the first place.

The G2 v2.3.1 core (and all official modules) was specifically released for full PHP 5.3 compatibility. While this was being done, full PHP 5.4 compatibility was also ensured.

--
dakanji.com

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Fri, 2013-05-31 13:05
Dayo wrote:
Not weird at all since your link refers to Gallery 3 which is a totally different application from Gallery 2. Hence, Gallery 2 has never had the Kohana framework's "ob_clean" issue the linked github commit addresses in Gallery 3 since Gallery 2 does not use this framework in the first place.

The G2 v2.3.1 core (and all official modules) was specifically released for full PHP 5.3 compatibility. While this was being done, full PHP 5.4 compatibility was also ensured.

--
dakanji.com

I was referring to this message: suprsidr wrote:
this is what breaks in php 5.4
https://github.com/gallery/gallery3/commit/6b306cddc1f25ecfe054b0a1c9d0dc3536da51f6

that tells php 5.4 is breaking gallery3.

Best regards