"Undefined class name 'galleryutilities'" after update to 2.2.2

freesoft

Joined: 2007-06-22
Posts: 8
Posted: Fri, 2007-06-22 15:36

Hi

I've just updated my Gallery 2.1 to 2.2.2 and now I get:
Fatal error: Undefined class name 'galleryutilities' in /home/www/billeder.fdfbillund.dk/main.php on line 34

What can it be?

The upgrade went just fine.
What can I have missed?

http://billeder.fdfbillund.dk/lib/support/index.php?gd


Gallery version (not just "2"): 2.2.2
PHP version (e.g. 4.3.11): 4.3.10-18
PHPInfo Link (see FAQ): http://billeder.fdfbillund.dk/lib/support/index.php?phpinfo
Webserver (e.g. Apache 1.3.33): Apache 2.0.54
Database (e.g. MySql 4.0.11): 4.1.11
Activated toolkits (e.g. NetPbm, GD): GD, I think.
Operating system (e.g. Linux): Debian GNU/Linux
Browser (e.g. Firefox 1.0): IE 7.0 and FF 2.0.0.4

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-06-22 15:44

it looks like you didn't upload the files successfully. one or more files are corrupt.

please reupload modules/core/classes/GalleryUtilities.class, overwriting the file.

once you can visit upgrade/index.php again, check: FAQ: How can I make sure that my installation files are all intact?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
freesoft

Joined: 2007-06-22
Posts: 8
Posted: Fri, 2007-06-22 17:02

Under the upgrade there was some changed files, but I didn't think of that.
I've have reuploaded the files, and it working now.
Thanks!

 
cflphotog

Joined: 2007-06-22
Posts: 5
Posted: Sat, 2007-06-23 02:32

I'm getting a similar error after upgrade using Fantistico
Fatal error: Undefined class name 'galleryutilities' in /home/wrnagers/public_html/gallery/upgrade/index.php on line 75

Here is report from Fantastico:

Upgrading...

Initializing Parameters - Done.
Generating MySQL Backup - Done.
Generating Files Backup - Done.
Warning: fread(): Length parameter must be greater than 0. in /tmp/cpanel_phpengine.1182565208.240253583.07229661481 on line 1448

Copying New Files - Done.

Upgrade completed

Your installation of Gallery was upgraded.
You can view it here: http://wrnagersculptor.com/gallery/

You MUST follow this link to finish upgrading: http://wrnagersculptor.com/gallery/upgrade/index.php

When I followed that link is when I got the error

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2007-06-23 10:43

cflphotog

please don't cross-post. you have already created a new topic to discuss your case. let's continue your discussion there.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage