Welcome to Geeklog, Anonymous Wednesday, October 09 2024 @ 12:34 am EDT

Geeklog Forums

Error on mediagallery, to Add Media


Status: offline

manowar

Forum User
Regular Poster
Registered: 11/07/07
Posts: 81
Location:Santiago - Chile
I install mediagallery plugins, then I create an album, here all perfect, I add media to this album, add 1 or more file of photos and when I save this charge, display this error :

An error has occurred:

(This text is only displayed to users in the group 'Root'Wink

2 - move_uploaded_file(/home/huracan/public_html/mediagallery/mediaobjects/orig/4/4_dsci0002.jpg) [function.move-uploaded-file]: failed to open stream: Permiso denegado @ /home/huracan/public_html/mediagallery/lib-upload.php line 1395

Help me!!

Sorry but, no speak english. :kickcan:

Thanks you!
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello,

Directory Permissions

It is very important that Media Gallery be able to write to certain directories. Generally the web server is executing the Media Gallery programs, so the web server must be able to write to the following directories:

public_html/mediagallery/mediaobjects/* ALL DIRECTORIES UNDER THIS ONE

public_html/mediagallery/rss This is where the RSS feeds are kept

plugins/mediagallery/tmp Media Gallery’s temporary work area

How To Set Permissions

Setting the permissions will vary from server to server and depend on how you access your server. If you have shell access, changing permissions is as simple as running the following command from the mediagallery/mediaobjects/ directory:

chmod -R 777 * (doing this can be a big security issue)

If you use FTP to upload files to your server, you can use your FTP program to change the permissions. Below is an example of using FileZilla as the FTP program to set permissions:

* With your mouse, highlight the directory you wish to change the permissions for
* Right click and choose File Attributes
* This will open a window, select the checkbox for Read / Write for owner, group and public permissions.

You will need to repeat these steps for all the directories listed above.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

manowar

Forum User
Regular Poster
Registered: 11/07/07
Posts: 81
Location:Santiago - Chile
Muchas gracias.

Now media gallery works fine!
 Quote

All times are EDT. The time is now 12:34 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