Blank main.php page after Installation

OneTinMan

Joined: 2009-08-19
Posts: 4
Posted: Wed, 2009-08-19 18:27

Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.


Gallery version (not just "2"): Gallery2 v2.3
PHP version (e.g. 5.1.6): 5.2.10
PHPInfo Link (see FAQ):http://sudan.stathatos.com/test.php
Webserver (e.g. Apache 1.3.33): IIS
Database (e.g. MySql 5.0.32): MSSQL
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): Windows Server 2003
Browser (e.g. Firefox 2.0): IE and FF

I was able to *successfully* install Gallery2. Upon completion, I got his message:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
* The Archive Upload module was installed, but needs configuration to be activated
* The Ffmpeg module was installed, but needs configuration to be activated
* The ImageMagick module was installed, but needs configuration to be activated
* The NetPBM module was installed, but needs configuration to be activated
* The URL Rewrite module was installed, but needs configuration to be activated
* The Gd module was installed, but needs configuration to be activated

After finishing this installation, login as Admin and browse to Site Admin. Go to the Modules view and configure the above listed modules.

=========================
gallery
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

When I try to pull up the index.php page, I get redirected to the main.php page, but there is nothing that appears (blank page, and "done" at the bottom of browser). I can pull up the Readme.html... I can also pull up the "tools" directory" and log in to clear cache, etc. When I look at my MS Event Viewer, it shows my Database is "Starting Up" when I try to get main.php. I've tried to manually designate the login info in the URL, but still nothing.

I'm sure this is a simple problem, but can't seen to isolate it. I've enable PHP Error messaging, (as can be seeing in phpinfo), but still can't figure it out.

Thanks for any guidance.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-08-19 18:47

Put gallery into debug mode. Is there anything else displayed on the main page:
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
OneTinMan

Joined: 2009-08-19
Posts: 4
Posted: Wed, 2009-08-19 18:58

Nothing displayed. I put it into debug using both Buffered and Logged.

I currently have it on "buffered":

$gallery->setDebug('buffered');
* $gallery->setDebug('logged');
* $gallery->setDebugLogFile('/debug.info');
*
*/
* $gallery->setDebug(false);

Still nothing.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-08-19 22:05

going to /lib/support shows this:

Quote:
Parse error: syntax error, unexpected '*' in D:\Inetpub\Web Servers\Sudan\config.php on line 138

Fix that and make sure all files are intact:
FAQ: How can I make sure that my installation files are all intact?

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

 
OneTinMan

Joined: 2009-08-19
Posts: 4
Posted: Wed, 2009-08-19 22:26

Maybe I've not made the change correctly... This is line 138:
* $gallery->setDebug(false);

I assumed putting an asterisk was a comment... So, I took out the comment...

I've switched places, and now it appears I'm getting some debug messages, on the main.php.

Looks like some denied Permissions... on .inc files.

I'll have to look at it.

Thanks...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-08-19 22:33

FAQ: How can I fix the filesystem permissions of the Gallery storage folder?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
OneTinMan

Joined: 2009-08-19
Posts: 4
Posted: Wed, 2009-08-19 23:31

Looks like I'm in business...

- Debug parameter was in the wrong place:
$gallery->setDebug('buffered');

Once that was corrected I was able to determine the permissions on my data folder needed to be changed.

- Ran "Filesystem Permissions" on Data Folder and ran the "Clear Cache" from the "Cache Maintenance"

And now I get the login.

Thanks for your guidance, and help.