After Upgrading to 2.3 Blank Page

esydor

Joined: 2009-09-29
Posts: 6
Posted: Tue, 2009-09-29 17:31

Upgraded to 2.3, from i believe 2.1, after i upgraded to PHP 5.x - the Upgrade Wizard works just fine and finishes. But When i try to go to the Main.php page to view the Gallery2 it comes up blank. Looked online for solutions, and no luck so far. Any body have an idea?

site is: www.hikeadks.com

Gallery is working, except for the main home page of Gallery2. Example is you go to the site and click on the gallery slideshow, it'll bring you to the image and galleries. But the moment you try to go to the main page it goes blank.

http://www.hikeadks.com/index.php?option=com_gallery2&Itemid=36&g2_itemId=9486 (working gallery image)

Hope someone has a clue to why this is happening! Thanks - Eric

Gallery version 2.3 Full
PHP version 5.2.6
PHPInfo Link (see FAQ):
Webserver 1.3.41 (Unix)
Database 4.1.22-standard
Activated toolkits NetPbm, GD, etc. Regular stuff
Operating system Linux
Browser Firefox 3.5.3

error_log as of today:
[29-Sep-2009 11:49:12] PHP Notice: Undefined index: sfPhotosRecursiveLimit in /home/hikeadks/public_html/gallery2/modules/rss/SimpleRender.inc on line 76
[29-Sep-2009 11:49:12] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/hikeadks/public_html/gallery2/modules/rss/SimpleRender.inc:76) in /home/hikeadks/public_html/gallery2/modules/rss/Render.inc on line 179
[29-Sep-2009 11:52:03] PHP Notice: Undefined index: sfPhotosRecursiveLimit in /home/hikeadks/public_html/gallery2/modules/rss/SimpleRender.inc on line 76
[29-Sep-2009 11:52:03] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/hikeadks/public_html/gallery2/modules/rss/SimpleRender.inc:76) in /home/hikeadks/public_html/gallery2/modules/rss/Render.inc on line 179
[29-Sep-2009 12:00:49] PHP Fatal error: Call to a member function setConfig() on a non-object in /home/hikeadks/public_html/gallery2/config.php on line 35
[29-Sep-2009 12:18:06] PHP Fatal error: Call to a member function setConfig() on a non-object in /home/hikeadks/public_html/gallery2/config.php on line 35

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-09-29 17:46

Post a phpinfo link:
FAQ: How do I create a phpinfo page?

And zip and attach your upgrade log file that's located in your g2data directory.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
esydor

Joined: 2009-09-29
Posts: 6
Posted: Wed, 2009-09-30 15:25

Here's the Upgrade log, and the Install Log. Also added the phpinfo to the gallery2 directory. Works like a charm. Let me know if you need anything else. Thanks! - Eric

AttachmentSize
Archive.zip615.88 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-09-30 16:55

That upgrade log is from June, have you been having this problem since then or did it just start when you upgraded PHP?

Put gallery into debug mode and see if that gets you any more information
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
esydor

Joined: 2009-09-29
Posts: 6
Posted: Wed, 2009-09-30 18:45

Put it on Debug mode, tried that before... now it says "$gallery->setDebug('buffered');" on the config page.

Updated it back in June, but didn't realize it had the problem until a member pointed it out, or i did notice but never had the chance to figure out what was wrong. I've run the update yesturday, and it says Success... Thanks! - Eric

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-09-30 19:01

hmm, check a couple of things here.

Go ahead and take it out of debug mode.

1) While in config.php, check that mode.embed.only is set to false

2) Try uninstalling and deleting the RSS plugin, then re-downloading it and reinstalling it. You'll loose your settings, but it looks like something might not be right with it. Or just download it from here: http://codex.gallery2.org/Gallery2:Download#Modules and try overwriting the files.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
esydor

Joined: 2009-09-29
Posts: 6
Posted: Fri, 2009-10-02 20:24

how do i properly uninstall the RSS plugin, i never use it. do i just delete the directory RSS in the Modules directory?

turned off debug, and mode.embed was already false

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-02 20:30

Go to Site Admin > Plugins But since you get a blank page, try the following:

You can try logging in manually:
FAQ: I can't login anymore, what can I do now?

FAQ: How can I deactivate a module when I am unable to login?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
esydor

Joined: 2009-09-29
Posts: 6
Posted: Fri, 2009-10-02 20:35

Ok.. this is what i did

Reinstalled RSS, just downloaded the file you said, unpacked it and it went right into the Module dir. Nothing new happened, same problem.

Then i renamed the RSS Folder.. now i get an error!

Security Violation

The action you attempted is not permitted.

Back to the Gallery

 
esydor

Joined: 2009-09-29
Posts: 6
Posted: Fri, 2009-10-02 20:39

Trying manual login, getting

Authentication Failure

Your change cannot be completed due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in.

Back to the Gallery

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-02 20:43

First rename the rss folder back to what it should be.

If you PM me (click Write to author) your Gallery login details I can take a look and see if I can get this done.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-02 21:29

hmmm, Yeah, I can't get logged in there either.

Try editing the database manually:
FAQ: How can I deactivate a module when I am unable to login?

If that still doesn't work, post or PM me a link to a phpinfo page that's under your gallery2 directory:
FAQ: How do I create a phpinfo page?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-02 21:52

o.k. try setting the session.save_path to a valid path that the webserver can write to, probably /tmp or something like that.

Try adding this line to your .htaccess file:
php_flag session.save_path /tmp

EDIT: and then try logging in manually.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here