Page 1 of 1

Discussion Forum Problems / Errors - Part 2

Posted: Wed Jan 03, 2007 3:11 pm
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?

Re: Discussion Forum Problems / Errors - Part 2

Posted: Wed Jan 03, 2007 6:08 pm
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

Posted: Wed Jan 03, 2007 9:31 pm
by Antonimo
Hi Garvin,

Thanks for your reply.

I shall contact my host in the morning and report back to the forum.

Posted: Thu Jan 04, 2007 1:32 pm
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!