Setup refuses to write config.php
raventures
Joined: 2003-09-19
Posts: 30 |
Posted: Wed, 2009-06-10 19:49 |
Gallery URL: www.coloradoruggedracks.com/gallery 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! 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? |
|
Posts: 16504
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
Posts: 30
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'
Posts: 30
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?
Posts: 16504
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