Narrowed down a problem

deathsol

Joined: 2005-04-15
Posts: 22
Posted: Wed, 2005-04-20 20:42

I have narrowed down a problem i was having between 2 nightly builds.
gallery2.2005-04-12-08-33-04.tar.gz (the one im currently useing with no problems)
gallery2.2005-04-13-08-33-56.tar.gz (get error during install right after i choose an admin password.)
Fatal error: Call to a member function on a non-object in /home/***/public_html/gallery/install/steps/AdminUserSetupStep.class on line 35
Latest cvs build still returns this problem at same place. If any additional info is needed or even access to work with it yourself let me know.

the files can be found off of http://galleryupdates.jpmullan.com/
----

Gallery URL (optional):
Gallery version: currently gallery2.2005-04-12-08-33-04.tar
Webserver (with version): Apache version 1.3.33 (Unix)
Datatabase (with version): MySQL version 4.0.22-standard
PHP version (eg 4.2.1): PHP version 4.3.10
phpinfo URL (optional): if needed ill provide
Graphics Toolkit(s): gd
Operating system: Linux
Web browser/version: firefox 1.03
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-04-20 23:08

There was a change to install/index.php on that date, to allow the installer to work even if php has session_autostart turned on.
Please put this right after "global $galleryStub;" in install/steps/AdminUserSetupStep.class:
var_dump($galleryStub);
var_dump($this);

Then post the resulting output from when the create admin user page first comes up and from when you submit that page. Thanks.

 
deathsol

Joined: 2005-04-15
Posts: 22
Posted: Wed, 2005-04-20 23:38

at the top of the page where i choose admin password.

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/thedark/public_html/gallery2/install/steps/AdminUserSetupStep.class:73) in /home/thedark/public_html/gallery2/install/index.php on line 74
object(gallerystub)(2) { ["_hash"]=> array(1) { ["galleryId"]=> string(30) "www.thedarkfactor.com/gallery2" } ["_debug"]=> NULL } object(adminusersetupstep)(5) { ["_stepNumber"]=> int(3) ["_isComplete"]=> bool(false) ["_isInError"]=> bool(false) ["_isLastStep"]=> bool(false) ["_hasBeenLoadedBefore"]=> NULL }

when i choose one i get

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/thedark/public_html/gallery2/install/steps/AdminUserSetupStep.class:73) in /home/thedark/public_html/gallery2/install/index.php on line 74
object(gallerystub)(2) { ["_hash"]=> array(1) { ["galleryId"]=> string(30) "www.thedarkfactor.com/gallery2" } ["_debug"]=> NULL } object(adminusersetupstep)(6) { ["_stepNumber"]=> int(3) ["_isComplete"]=> bool(false) ["_isInError"]=> bool(false) ["_isLastStep"]=> bool(false) ["_hasBeenLoadedBefore"]=> int(1) ["_password"]=> string(0) "" }

however now that i added that line it said my info was added successfully

and at the top of every page this appears but im sure u expected that because of the change

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/thedark/public_html/gallery2/install/steps/AdminUserSetupStep.class:73) in /home/thedark/public_html/gallery2/install/index.php on line 74

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-04-21 00:09

no, i didn't expect that. looks like you added a blank line or whitespace at the end of the file.. remove that. does it still work ok with the var_dump's in place? if you remove them and start over does it get the error again? that's quite odd.

 
deathsol

Joined: 2005-04-15
Posts: 22
Posted: Thu, 2005-04-21 00:44

ok before it worked and only had the error at the top of the page but i typed the entire thing in the quick post and then i hit post reply and i lost the entire thing so i had to go back and do it all again but this time it didnt load the page and just gave this error. I have done that a few times now its annoying. but anyways where i should be seeing the screen to make admin password i get this.

bool(false) object(adminusersetupstep)(5) { ["_stepNumber"]=> int(3) ["_isComplete"]=> bool(false) ["_isInError"]=> bool(false) ["_isLastStep"]=> bool(false) ["_hasBeenLoadedBefore"]=> NULL }
Fatal error: Call to a member function on a non-object in /home/thedark/public_html/gallery2/install/steps/AdminUserSetupStep.class on line 37

when i click start over i get this

Fatal error: Call to a member function on a non-object in /home/thedark/public_html/gallery2/install/steps/WelcomeStep.class on line 50

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-04-21 05:39

Further discussion of this problem is here