Posted on: 11/13/05 07:33pm
By: jsgoodrich
After installing Media Gallery. I went to setup so of the configuration when I say save I get about 20 errors saying:
"/srv/www/htdocs//mediagallery/mediaobjects/orig/1 NOT Writable"
I have looked to find where the extra / between htdocs and mediagallery is coming from.
Has anyone else ran in to this? If so how did you fix it?
Media Gallery Error (Confgiuration)
Posted on: 11/13/05 07:39pm
By: mevans
I don't think the extra slash is causing the problem, but I do think that the directories it mentions are not Writable and they need to be writable by your webserver to upload media.
Can you check the permissions of the directories and make sure they are writable by your webserver?
Thanks!
Mark
Media Gallery Error (Confgiuration)
Posted on: 11/13/05 08:18pm
By: nanvr
Media Gallery Error (Confgiuration)
Posted on: 11/13/05 08:41pm
By: jsgoodrich
What do you recommend setting the perm. at?
I have the www group read write access. And root is the owner.
Media Gallery Error (Confgiuration)
Posted on: 11/13/05 08:50pm
By: mevans
That sounds like it should be fine, as long as you are sure the www group is what your webserver is running as. The line that performs the check is (actually, there are 3 of them...):
envcheck.php (admin/plugins/mediagallery)
line 149, 166 and 184. You can edit this file and remove the beginning / before mediagallery in that line. That might fix it, but that extra slash shouldn't make a difference.
The other thing to check is to see if you can upload media. The configuration checks are just checks, they do not determine whether or not the uploads will work, they just report what it thinks are errors.
Last, you might change the owner of all the directories below mediagallery/mediaobject (chown -R owner:group *) to be the same as the webserver's running process owner.
Thanks!
Mark