Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've purchased hosting from Fastwebhost.Then I installed Wordpress on it.Now when I'm uploading any image.I'm getting the following error:

Warning: filesize() [function.filesize]: open_basedir restriction in effect. File(/tmp/phpwoW2a0) is not within the allowed path(s): (/home) in /home/codem132/public_html/wp-admin/includes/ms.php on line 31

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp/phpwoW2a0) is not within the allowed path(s): (/home) in /home/codem132/public_html/wp-includes/functions.php on line 1722
Dismiss“post.png” has failed to upload due to an error
The uploaded file could not be moved to /home/codem132/public_html/wp-content/uploads/2012/09.

Any Ideas?

share|improve this question
Hi Rajat, I'm sorry, but this question is off topic. You've to contact your host about this issue. When you read the error message, you see that you are restricted regarding the max. file size. – kaiser Sep 22 '12 at 20:11
Oh I'm sorry.I'm still figuring out what the problem is. – Rajat Saxena Sep 22 '12 at 20:21

closed as off topic by kaiser, Michael, Brian Fegter, Wyck, Rarst Sep 24 '12 at 21:02

Questions on WordPress Answers are expected to relate to WordPress within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.