When I click continue to step 3 in the installer i get this error.
Fatal error Call to a member function on a non-object in /home/***/public_html/gallery/install/steps/AdminUserSetupStep.class on line 35
I tried useing the latest cvs and got this error at this spot. so i went and got the released beta 2 and i recieved this error as well. The cvs i got like 3-4 days before beta 2 was released installed no problem on my testing subdomain. Also all test run in step 2 were successful.
Posts: 32509
please fill out the support template, give us more information about your system (php version, platform, webserver, ...). thanks.
this seems to be a very odd error related to a buggy server setup.
Posts: 22
PHP version 4.3.10
MySQL version 4.0.22-standard
Apache version 1.3.33 (Unix)
Machine Type i686
Operating system Linux
Kernel version 2.6.10-1.771_FC2smp
is that enough? I am still running my cvs version i got about 4 or 5 days ago now. I was thinking it might have been a recent change that is causing the problem.
Posts: 22
anything? I am still getting this error at this part with the latest cvs build
Posts: 7994
Hrm. I made a change pretty recently that could have caused this. I'm not sure how though. Can you do me a favor and add the following line to AdminUserSetupStep.class on line 35:
printf("<pre>%s</pre>", print_r($galleryStub, 1));
Then when you get to that point, it'll dump out some text that you can cut/paste here. That'll give me an idea of what's going wrong.
Also, can you reproduce it if you click the "start over" button in the upgrader?
Posts: 22
I get the following if i add that line right before 35.
but if i replace the line with that i just get the following at the top of the page but the rest of it shows correctly.
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/thedark/public_html/testgallery/gallery2/install/steps/AdminUserSetupStep.class:72) in /home/thedark/public_html/testgallery/gallery2/install/index.php on line 74
im pretty sure i get the same effect if i just remove that line. however when i type in a admin password and continue on the next page i get another error
If you could contact me i could give u temporary access to the gallery/ftp to take a look at it.
Posts: 22
If it is a configuration issue im sure my hosting provider would gladly fix it. What would i tell them? well that is if it is a configuration issue.
Posts: 7994
I'm not sure that it is a configuration issue. Did you try clicking the "start over" button? Did you get the same error? (comment out the line I asked you to add when you click "start over"). If that doesn't fix it, I'll ftp in and take a look when I get a chance.
Posts: 8601
See more info about this problem in this topic.
deathsol, it would have been more appropriate to post your new information about this problem here in this topic.
Posts: 22
sorry about that i forgot the name of the post and i didnt think of doing a search for my own topics.
i get this error when i click start over. when i have the code
printf("<pre>%s</pre>", print_r($galleryStub, 1));
i also get it when i dont have the code in there.
Fatal error: Call to a member function on a non-object in /home/thedark/public_html/gallery2/install/steps/WelcomeStep.class on line 50
Posts: 8601
so here's something odd.. some other topic mentioned php's register_globals setting so I was playing around with it turned on. With register_globals on when I click "start over" I get the error you mention above...
deathsol, try putting this in a .htaccess file in your gallery2 dir:
php_flag register_globals off
and see if it makes any difference..
Posts: 22
I tried that and it seemed to work just fine. Start over now works and i can also get past the parts where i was recieving the errors. Tommrow I will go through it and see if i notice anything else. I dont have the time to go through it all at this moment.
Posts: 7994
I checked in a fix for this. Get the next nightly and you can turn register globals back on, if you want.