Problem med filuppladdning

Events happening in the community are now at Drupal community events on www.drupal.org.
MorganG's picture

Jag har stött på ett problem när jag nu testar modulen Dash Media Player.
Under filuppladdning av filmer står följande:

File attachments are disabled. The file directories have not been properly configured. Please visit the file system configuration page.

Tittar jag under länken "file system configuration page." så hittar jag följande:

File system path:
sites/default/files

Temporary directory:
/var/spool/php-upload

Download method:
Public - files are available using HTTP directl

jag får även detta felmeddelande:

warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/spool/php-upload) is not within the allowed path(s): (/srv/www/:/var/spool/php-upload/:/usr/share/php:/usr/share/fpdf:/usr/share/pear:/tmp) in /srv/www/morgangrip.com/www/includes/file.inc on line 102.

Comments

Mapp för tillfälliga filer

hs@henrikstrindberg.se's picture

Hej!

Tycker att ditt Temporary directory ser obekant ut - var finns den mappen?
Skulle testa att skapa en mapp, kalla den "temp" och lägga den inne i sites/default/. Då får du sökvägen sites/default/temp, och det anger du i fältet Temporary directory.

Felmeddelandet säger också att var/spool/php-upload is not within the allowed path

Lycka till / Henrik

Tack!

MorganG's picture

Testade med sites/default/temp och det funkar som det ska, tack Henrik.

Morgan | Forweb

Sweden

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: