gallery 2.2.6 installation - error at step 3

tomasio
tomasio's picture

Joined: 2006-01-19
Posts: 9
Posted: Sun, 2013-02-03 23:13

When I try to install Gallery 2.2.6 I get the following error code when trying to get past install step No. 3 (i chose not to use the multi-site-installation):

Deprecated: Assigning the return value of new by reference is deprecated in /data/web/e28030/html/tomasio/kraxfotos/gallery2/modules/core/classes/GalleryUtilities.class on line 854

Deprecated: Assigning the return value of new by reference is deprecated in /data/web/e28030/html/tomasio/kraxfotos/gallery2/install/steps/DatabaseSetupStep.class on line 583

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /data/web/e28030/html/tomasio/kraxfotos/gallery2/modules/core/classes/GalleryUtilities.class:854) in /data/web/e28030/html/tomasio/kraxfotos/gallery2/lib/support/GallerySetupUtilities.class on line 348

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /data/web/e28030/html/tomasio/kraxfotos/gallery2/modules/core/classes/GalleryUtilities.class:854) in /data/web/e28030/html/tomasio/kraxfotos/gallery2/lib/support/GallerySetupUtilities.class on line 348

Can anybody give me a clue how to fix this?


Gallery version: 2.2.6
PHP version: 5.3
PHPInfo Link (see FAQ):
Webserver: 2.2
Database: MySql 5.1.66
Activated toolkits (e.g. NetPbm, GD): bcmath, bz2, calendar, ctype, curl, date, dba, dom, exif, filter, ftp, gd inkl. gif write support, gettext, hash, iconv, imap, json libxml, mbstring, mcrypt, mime_magic, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, posix, recode, Reflection, session, shmop, SimpleXML, soap, SPL, sysvmsg, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
Operating system: Mac OS 10.6.8
Browser: Firefox 18.0.1

kind regards
--
tomasio
"describing an issue reveals the way to solve it"

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2013-02-04 00:42

Why would you want to install gallery 2.2.6?
the latest is 2.3.2

You are running PHP 5.3.x only gallery 2.3.1+ is compatible w/ PHP 5.3+

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
tomasio
tomasio's picture

Joined: 2006-01-19
Posts: 9
Posted: Wed, 2013-02-06 23:06

I tried to install gallery 2.3.2 and then replaced my old g2data folder (from gallery 2.0.4) with the new one. The Gallery went into the "Upgrader"-Mode, but stuck at upgrading the core module (step 4). I pasted the resulting error code below. Is there any help or did I just lost my whole old DB entries?

kind regards
--
tomasio
"describing an issue reveals the way to solve it"

Moderator Note:Removed and attached debug code as text file.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-02-06 23:18

You did not mention you were upgrading from 2.0.x there were major changes from 2.0 to 2.1 and we generally recommend doing incremental upgrades 2.0 -> 2.1 -> 2.2.6 -> 2.3.2
But w/ PHP 5.3 I don't know if incremental is possible.

Just make sure you keep a backup of your old gallery.

Quote:
ERROR_STORAGE_FAILURE

try fixing the filesystem permissions on the storage directory
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?

Lastly please don't copy that much debug text into any forum ever. Copy it to a txt file and attach it instead.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
tomasio
tomasio's picture

Joined: 2006-01-19
Posts: 9
Posted: Wed, 2013-02-13 00:08

Fixing the filesystem permissions of g2data did not change anything. I will try this incremental upgrade. I am still hoping the last years of maintaining the DB are not lost forever.

[edit] after copying my old gallery installation to my new server I get the error msgs listed in the attached text file. I guess the reason is the aforementioned php version incompability --> the php version my initial gallery installation (2.0.4) is not anymore used on my new web host. Can somebody help me there? [/edit]

kind regards
--
tomasio
"describing an issue reveals the way to solve it"

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-02-13 00:21

you may have to install php 5.2.x on a local machine, upgrade your gallery and migrate it back to your new server.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
joseph2012

Joined: 2013-05-07
Posts: 1
Posted: Tue, 2013-05-07 17:22

I have php5.3.5 but im still having this problem too is there any solution please ?

 
Monika123

Joined: 2013-05-08
Posts: 1
Posted: Wed, 2013-05-08 11:42

I'm too facing the same problem & still looking for the right solution. I have even followed the incremental upgrades.
Any help would be appreciated.

 
tomasio
tomasio's picture

Joined: 2006-01-19
Posts: 9
Posted: Wed, 2013-05-08 11:58

Considering the postings above, I don't think the a. m. procedure will work at all. I think i will switch to sth. else for my photographs. :-S
kind regards
--
tomasio
"describing an issue reveals the way to solve it"

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2013-05-08 12:20

I think those 2 are just spammers.
@tomasio I'm not sure how to fix that error. its too bad you let your gallery get so far out of date 2.0.4 was released 3/06
your storage issue seems to be w/ the adodb mysql driver, maybe you can edit line 348 to conform to the newer version.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2013-05-09 23:20

@tomasio do you have the PHP mysqli extension installed?

-s
________________________________
All New jQuery Minislideshow for G2/G3