Blank main.php after installation
Oliver Cruzcampo
Joined: 2008-03-15
Posts: 15 |
Posted: Tue, 2011-04-12 12:33 | |||
Hi guys, I used to use Gallery2 for a couple of years before my website broke and I stopped using it. I then installed Gallery3 until I realized that version cannot be embedded in Drupal. I now tried to reinstall Gallery2(same hoster and everything) and I get a blank main.php after the end of the installation. It only says "Error". I tried two ways: Direct FTP upload and also via the preinstaller. Both ways returned the same error. During the installation process everything worked fine, no warnings, errors - nothing. Thanks in advance.
|
||||
Posts: 8339
Although in my experience just plain error usually means DB connection error you won't know for sure until you put gallery into debug mode.
FAQ: How to set/use Gallery in debug mode?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
@suprsidr
I attached the error messages.
Posts: 8339
gallery is trying to create directories in your g2data for cache, albums, module info...
chmod -R 0777 /path/to/g2data
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 15
Thanks for the fast answer but the folder is set to 777.
Posts: 8339
the -R is for recursive
chmod -R 0777 /path/to/g2data
FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2