Welcome to Geeklog, Anonymous Monday, April 29 2024 @ 09:46 am EDT

Geeklog Forums

Media Gallery Error (Confgiuration)


Status: offline

jsgoodrich

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

Status: offline

mevans

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

Status: offline

nanvr

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

Status: offline

jsgoodrich

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

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

Status: offline

mevans

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

All times are EDT. The time is now 09:46 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content