Setup refuses to write config.php

raventures
raventures's picture

Joined: 2003-09-19
Posts: 30
Posted: Wed, 2009-06-10 19:49

Gallery URL: www.coloradoruggedracks.com/gallery
Gallery version: 1.5.10
IIS version: 6
PHP version: 4.4.4
Graphics Toolkit: ImageMagick
Operating system: Win Sever 2003 R2 64 bit SP2

I have added the albums folder, config.php file, chmod'ed them 777. But at the time I submit via setup program I get over 80 errors, many of which I KNOW I have set. e.g. I have valid path names, Gallery Title, etc. but the error messages says these are not yet filled in.

Missing value: Gallery Title!
Missing value: Admin password!
Missing value: Use Icons?!
Missing value: Skin Name!
Missing value: Default upload method!
Missing value: Album directory!

However, at the bottom of the error page I also see:

PHP Warning: array_keys() [function.array-keys]: The first argument should be an array in d:\users\coloradoruggedracks\gallery\util.php on line 1023 PHP Warning: Invalid argument supplied for foreach() in d:\users\coloradoruggedracks\gallery\util.php on line 1025

Is this a significant clue to what the real problem is?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-06-10 21:45

chmodding doesn't mean squat on Windows, there is no such thing.

Open up Windows Explorer, Right-Click and change the permissions of the file.

If you're on a shared host, you'll need to contact your host to change the permissions, they might have an option do to this through their control panel, maybe.

Good luck getting any web based app that needs to edit/create files to run on Windows if you're on a shared host.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
raventures
raventures's picture

Joined: 2003-09-19
Posts: 30
Posted: Thu, 2009-06-11 19:20

I own the server and have full access. I did use Win Explorer for setting the permissions, this was just my way of saying "the folder/file permissions are correctly set" to the UNIX-speaking folks. I have set up earlier versions of Gallery 1.x with no problem. I am also well conversant with both chmod and attrib ;^) but this does not seem to be a permissions error as the Setup program warns when any target files or folders are missing or not properly permitted.

It appears that the setup module is simply broke, or not receiving any of the setup screen parameters. The error message at the bottom of the screen indicates this and I am plugging through the PHP now. May also be a PHP installation issue pertaining to session variables, etc.

Typical of the 80-odd error messages are:

Missing value: Gallery Title!
Missing value: Admin password!
Missing value: Use Icons?!
Missing value: Skin Name!
Missing value: Default upload method!
Missing value: Album directory!

...for every setup parameter, including those with untouched default values.

Thanks for the help tho'

 
raventures
raventures's picture

Joined: 2003-09-19
Posts: 30
Posted: Thu, 2009-06-11 19:18

I just sucessfully installed 1.5.5 using the very same server, steps, and permissions. It went with no problems. So this suggests to me that there is something very wrong with 1.5.10 installation in the Win/IIS environment!

No comments or help out there?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2009-06-11 19:38
Quote:
No comments or help out there?

You're running Windows.

G1 is no longer supported, period. Go here http://jallery.com/ if you want to continue on the G1 path.

Only G2 and G3 are supported. G3 is currently in Beta and isn't supported on Windows, if it works, it works, if not, you can try to make it work, but it's not supported. If you want to help with that, great.

http://gallery.menalto.com/gallery_3_begins

G2, while it's suppose to work on Windows and is supported, those of us doing support have little to no experience running G2 on Windows, even me, a Windows system administrator will still give you crap for running Windows as a web server :) I hate managing Windows as a web server, this is one place that Linux just excels at. I can do more, faster and easier on Linux for a web server than I can on Windows any day and I live and breath Windows.

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