Title: function errors when uploading images
Last modified: August 20, 2016

---

# function errors when uploading images

 *  Resolved [jbwatt](https://wordpress.org/support/users/jbwatt/)
 * (@jbwatt)
 * [14 years ago](https://wordpress.org/support/topic/function-errors-when-uploading-images/)
 * Hello.
 * I have been trying to upload some new images to my site. Whether I attempt this
   from Pages, Posts or Media, I receive the same error message, included below.
 * Everything was working fine, until now. (haven’t you heard that one before!) 
   I’m not sure if this is a WP problem as I recently upgraded to 3.3.2 from 3.3.1.
   OR, perhaps its a server-side issue. Unfortunately, I’m not familiar with the
   error message.
 * Any help would be appreciated. Thank you.
 * Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.
   File(/home/livinit/public_html/wordpress/wp-content/uploads/2012/05) is not within
   the allowed path(s): (/home/livinit1:/usr/lib/php:/usr/php4/lib/php:/usr/local/
   lib/php:/usr/local/php4/lib/php:/tmp) in /home/livinit1/public_html/wordpress/
   wp-includes/functions.php on line 2095
 * Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/
   home/livinit/public_html/wordpress/wp-content/uploads/2012) is not within the
   allowed path(s): (/home/livinit1:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/
   php:/usr/local/php4/lib/php:/tmp) in /home/livinit1/public_html/wordpress/wp-
   includes/functions.php on line 2104

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [JohanAvalanche](https://wordpress.org/support/users/johanavalanche/)
 * (@johanavalanche)
 * [14 years ago](https://wordpress.org/support/topic/function-errors-when-uploading-images/#post-2761545)
 * Hi,
 * I get the same error – what’s the solution?
 * Why is this topic marked as RESOLVED – when there’s no solution posted?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years ago](https://wordpress.org/support/topic/function-errors-when-uploading-images/#post-2761547)
 * Try posting your own topic.
 *  [JohanAvalanche](https://wordpress.org/support/users/johanavalanche/)
 * (@johanavalanche)
 * [14 years ago](https://wordpress.org/support/topic/function-errors-when-uploading-images/#post-2761548)
 * I don’t understand Esmi, this topic describes exactly my problem, why is it closed
   without a resolution but marked resolved?
 * Did the person who started it close it and mark as resolved?
 *  Thread Starter [jbwatt](https://wordpress.org/support/users/jbwatt/)
 * (@jbwatt)
 * [14 years ago](https://wordpress.org/support/topic/function-errors-when-uploading-images/#post-2761549)
 * Hi,
 * Sorry, but yes I did resolve my own problem and didn’t post the solution as it
   was a server issue. I had recently had some server upgrades done by my hosting
   service. I didn’t realize at the time that they had changed my login. Therefore
   that affected some of my WP admin functions.
 * Specifically related to this issue, the fix was to go to Settings -> Media ->
   and update the Store Uploads in this Folder area with my new pathname.
 * Hope this helps!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘function errors when uploading images’ is closed to new replies.

## Tags

 * [function error](https://wordpress.org/support/topic-tag/function-error/)
 * [permissions](https://wordpress.org/support/topic-tag/permissions/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [jbwatt](https://wordpress.org/support/users/jbwatt/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/function-errors-when-uploading-images/#post-2761549)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
