Fatal error: Cannot re-assign $this in .../public_html/gallery/classes/gallery/UserDB.php on line 67
lwist
Joined: 2009-11-27
Posts: 9 |
Posted: Mon, 2011-09-26 02:48 |
The following information is required to get an answer: I started getting "Fatal error: Cannot re-assign $this in /home/wist002/public_html/gallery/classes/Album.php on line 604" when trying to view my gallery. After looking through the help files, I tried upgrading to 1.5.10 (before migrating to version 2), but now I am getting this error: Fatal error: Cannot re-assign $this in /home/wist002/public_html/gallery/classes/gallery/UserDB.php on line 67 When I open UserDB.php line 67 says this: $this = unserialize($tmp); I saw another user had the same problem and the technician asked for this information: |
|
Posts: 6818
Hi,
probably me
Nevertheless, it seems your upgrade was not complete?
That file version looks like 1.4.2, but not the upgraded 1.5.10.
Should be: * $Id: UserDB.php 17801 2008-08-05 23:10:49Z JensT $
Jens
--
Gallery 1.5.10 Developer
Posts: 9
By George, you're right on both counts!
I re-upgraded and had to find a build of netpbm to upload too. It started updating my albums but seemed to have a hard time. Wasn't sure if it just needed more time, then discovered I should set some netpbm permissions to be executable. Most of the albums still don't have thumbnails, but some do:
http://wist.org/gallery/wist
The ones that do have a weird square showing at the corners:
http://www.wist.org/gallery/tahoe-2009
Not sure if I should go directly to the 2.0 upgrade or try to get everything processed in 1.5.10 first?
Posts: 6818
Hi,
glad you could solve it.
You can recreate all thumbnails.
What do you mean with "weir square showing"?
Go to latest Gallery 2 (not 2.0), no need to fix visual things in 1.5.x
Jens
--
Gallery 1.5.11 Developer