"Unable to write to /config.php" - Tried everythin
Arachne
Joined: 2004-01-17
Posts: 10 |
Posted: Sat, 2004-01-17 04:53 |
I'm installing Gallery on my space at a friend's webserver. It passes the initial config tests "with flying colors" - everything is a success except the extra languages. I can get past Step 4 when configuring, with no errors, but then I immediately see a page that says "Unable to write to /config.php. You are missing either config.php or .htaccess." But - I'm not missing anything! Step 1 confirmed that my .htaccess file was writeable. I have checked and checked and checked config.php and cannot find why this error is occurring. I even chmodded everything to 777 to try and prevent permissions-related errors. An excerpt of my directory structure is as follows: I've included the paths and URLs that I'm using in the setup below. Gallery URL: http://www.whack.org/~kelly/gallery Album directory: /home/kelly/public_html/albums Absolutely EVERYTHING else is left as the default! HELP! I'm becoming frustrated! Thank you very much! |
|
Posts: 10
After searching this whole site, I found that at least a couple of other users have had the same problem I've had. Consensus seems to indicate that the gallery root is being set to / instead of to (in my case) /home/kelly/public_html/gallery.
BUT I have made absolutely sure that the settings listed above are the ones entered into the config program! Is there a separate place (perhaps in Step 2) where the gallery root is set?
Posts: 10
Have fixed the problem - apparently this is a bug, and has happened to other users as well (found by searching for the error message on this website). The "solution" is to edit the write.inc file within gallery/setup so that each instance of $GALLERY_DIR is replaced by the correct pathname.
Seems easy enough to fix in a future version of the software - can you please consider doing that?
Thanks for your, well, forum, I guess. Love the software (now) and am glad it's working.