Status: offline

jsgoodrich

Forum User
Newbie
Registered: 07/04/05
Posts: 4
angelic
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?

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
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

Status: offline

nanvr

Forum User
Regular Poster
Registered: 09/02/02
Posts: 81
Hello. Try this. It may help.
Send Me To The Royal Wedding-http://www.royaltys.com - to enter my site.

Status: offline

jsgoodrich

Forum User
Newbie
Registered: 07/04/05
Posts: 4
What do you recommend setting the perm. at?

I have the www group read write access. And root is the owner.

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
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