Discussion Forum Problems / Errors - Part 2

Creating and modifying plugins.
Post Reply
Antonimo
Regular
Posts: 10
Joined: Sat Dec 30, 2006 4:22 pm

Discussion Forum Problems / Errors - Part 2

Post by Antonimo »

This might be related to my previous post (http://board.s9y.org/viewtopic.php?t=8282)

I tried to upload a file with the forum and received the following error:

Code: Select all

Warning: move_uploaded_file(/home/httpd/vhosts/domain.com/httpdocs/Serendipity//files/BIsEajMrgr80GfIOgrCi8I2IFp0Pvt): failed to open stream: No such file or directory in /home/httpd/vhosts/domain.com/httpdocs/Serendipity/plugins/serendipity_event_forum/include/functions.inc.php on line 267

Warning: move_uploaded_file(): Unable to move '/tmp/php/phpyCQ7SH' to '/home/httpd/vhosts/domain.com/httpdocs/Serendipity//files/BIsEajMrgr80GfIOgrCi8I2IFp0Pvt' in /home/httpd/vhosts/domain.com/httpdocs/Serendipity/plugins/serendipity_event_forum/include/functions.inc.php on line 267
Can anybody help me?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Discussion Forum Problems / Errors - Part 2

Post by garvinhicking »

Hi!

This error message suggests that your provider did not properly configure the safe_mode or open_basedir parameters. S9y is not allowed to read/write from the /tmp directory and move it into your s9y directory!

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Antonimo
Regular
Posts: 10
Joined: Sat Dec 30, 2006 4:22 pm

Post by Antonimo »

Hi Garvin,

Thanks for your reply.

I shall contact my host in the morning and report back to the forum.
Antonimo
Regular
Posts: 10
Joined: Sat Dec 30, 2006 4:22 pm

Post by Antonimo »

Warning: move_uploaded_file(/home/httpd/vhosts/domain.com/httpdocs/Serendipity//files/BIsEajMrgr80GfIOgrCi8I2IFp0Pvt): failed to open stream: No such file or directory in /home/httpd/vhosts/domain.com/httpdocs/Serendipity/plugins/serendipity_event_forum/include/functions.inc.php on line 267
Looking at the first line of the error and checking the directory structure on the server I saw that the directory "files/" was missing.

Creating this directory and setting the correct permissions fixed the error.

Doh!

Thanks for your help!
Post Reply