Can't get to Step 3 of a Clean Install

plympton

Joined: 2005-03-21
Posts: 4
Posted: Mon, 2005-03-21 17:59

I'm doing a clean install of Gallery2 Beta 1, and I can't get to Step 3. I get this error from PHP:
Fatal error: AdminUserSetupStep::loadTemplateData() [function.loadTemplateData]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "GalleryStub" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /usr/local/apache/htdocs/gallery2/install/steps/AdminUserSetupStep.class on line 35

I don't really want to delve into the code too much at this point (I just wanted to see if it's worth replacing my current home-brew solution, so if I gotta make code, I'd prefer to work on my own, sorry!)

----

Gallery URL (optional): gallery.freepdx.com
Gallery version: Beta 1
Webserver (with version): 1.3.27 (Apache)
Datatabase (with version): Mysql 4.0.x
PHP version (eg 4.2.1): 5.0.3
phpinfo URL (optional): http://www.plymptonia.com/php/info.php
Graphics Toolkit(s):ImageMagick (eventually)
Operating system: Linux (Fedora Core 3-ish)
Web browser/version:
G1 version (for migration bugs):NA

-Dan
http://www.theimagedepot.com

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2005-03-22 10:51

That's an unusual error. On step 2, when it did the file integrity check did it mention that any files were modified? If so, perhaps you have a corrupted install and may need to reinstall some files.

If not, this is very strange. We load the definition of the GalleryStub class immediately at the beginning of the installer so it is definitely around at that point in the code. The only thing I can think of that might cause that is if you have session.auto_start enabled. Can you check your phpinfo and tell me what that's set to?

 
plympton

Joined: 2005-03-21
Posts: 4
Posted: Wed, 2005-03-23 02:33

Hmm.. that could be the problem - I've turned it off via .htaccess instead of globally - I'm using it for my site (I believe.. it's been a while), so I don't want to turn it off globally if I can help it just for testing.

My .htaccess for that directory is:
php_value session.auto_start 0

Do I need to copy it down to all the other directories recursively?

-Dan

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2005-03-23 05:03

Theoretically our installer is supposed to work with session.auto_start enabled. Last time I checked, it all worked. You should only have to turn it off for the gallery2/install and upgrade directories.

So did turning it off fix the problem? If so, I'd like to figure out why it causes the problem in the first place and take care of it.

 
plympton

Joined: 2005-03-21
Posts: 4
Posted: Wed, 2005-03-23 16:01

Same here. :-)

No, it didn't fix the problem, so I'm a bit up in the air as to what to try next.

Suggestions?

-Dan

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2005-03-30 03:54

PM me your ssh info and I'll try installing it myself and resolve whatever bugs occur.