"Cannot re-assign $this" after host move

zwendel

Joined: 2003-07-23
Posts: 13
Posted: Thu, 2007-02-08 21:29

I just moved hosts.
My new host made a full backup from the previous host and did a full restore. My old gallery worked perfectly on my old host and I get a fatal error on the new host. Help!

Gallery URL : http://prive.zgallery-art.com
Gallery version: 1.3.4 (I meant old when I said old ;))
Apache version: 1.3.37 (Unix)
PHP version (don't just say PHP 4, please): PHP version 5.0.5
Graphics Toolkit: Imagemagick
Operating system: Linux

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-02-09 10:57

;)

Gallery 1.x prior to Gallery 1.5.4 is not fully compatible with PHP5

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
zwendel

Joined: 2003-07-23
Posts: 13
Posted: Fri, 2007-02-09 11:06

Hmmm, I more or less figured that out by now.
So, I'll have to upgrade. I want to upgrade to 2.1, but I don't think that can be done in one go vrom 1.3.4, right?
Better start reading up on how to upgrade.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-02-09 11:17

There is no real upgrade to 2.1
Its a migration.

But yes, you should upgrade to a recent 1.5.x and then do the migration.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
zwendel

Joined: 2003-07-23
Posts: 13
Posted: Fri, 2007-02-09 11:36

Alright, thanks for the tip, I'll give it a shot this weekend on my local server first.
If I get it working here I'll try moving it to my online server.