Title: Another uploading problem
Last modified: August 18, 2016

---

# Another uploading problem

 *  Resolved [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * (@caramellamorbide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/)
 * Or I’m being blond again or I’m the first with this problem but I did search 
   and search and search and I couldn’t find any thing that would have helped me
   prove that it has nothing to do with my hair color (yet).
 * I’ve tried uploading an image, I’ve set all the chmods correctly, it uploads 
   the image fine but then I get the next warning:
 * imagejpeg(): Invalid filename ‘/home/****/domains/www.com/public_html/***/wordpress/
   wp-content/bb_background.thumbnail.jpg’ in /home/****/domains/www.com/public_html/***/
   wordpress/wp-admin/admin-functions.php on line 761
    Thumbnail path invalid.
 * I’ve tried using WP-upload and the Filosofo Old-Style Upload plugin, both gave
   me the same warning.
    Where did I go wrong…do I need to create a thumbnail file?
   Or something else…any help would be obliged.
 * TIA

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

 *  Thread Starter [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * (@caramellamorbide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346615)
 * Probably I should have gave this little problem another title, “another upload
   problem” is just one of the many 🙁
 * But anyways anybody have a clue what I should do to make my problem go away?
 *  [red-star](https://wordpress.org/support/users/red-star/)
 * (@red-star)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346616)
 * Why do you upload your image in the wp-content folder? Why not in the image folder?
   Just a question to understand the motivation.
 *  Thread Starter [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * (@caramellamorbide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346618)
 * ‘Cause there is where WP wants me to upload my images, I’ve changed this several
   times under options -> uploads, but when doing so WP gives me the: Unable to 
   create directory /home/***/domains/***/public_html/***/wordpress/wp-content/uploads/
   2006/03. Is its parent directory writable by the server, warning.
 * Just to be sure…I did chmod this path aswell, then I get the first mentioned 
   problem.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346620)
 * _ Is its **parent directory** writable by the server_
 * The “parent” is wp-content. That’s the one that should be writable.
 *  Thread Starter [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * (@caramellamorbide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346621)
 * Yup…everything is set to 777.
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346622)
 * Could be this bug (does your host run PHP in safe mode?):
 * [http://trac.wordpress.org/ticket/2402](http://trac.wordpress.org/ticket/2402)
 *  Thread Starter [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * (@caramellamorbide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346624)
 * Kafkaesqui, that link is exactly what I keep encountering. And yes my host runs
   PHP safe mode.
 * So if I understand correctly it has to do with the PHP safe-mode?
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346637)
 * Yep. I won’t blame safe mode for all of society’s ills, but there’s a number 
   of (real good) reasons why it’s being phased out of PHP.
 * You could try changing the code in admin-functions.php as mentioned in the “patch,”
   which is the addition of this line after $thumbpath is assigned:
 * `touch($thumbpath);`
 *  Thread Starter [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * (@caramellamorbide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346657)
 * Thnx..am at work now but shall give it a try a soon I get back home. Will up-
   date if it worked or not.
 *  Thread Starter [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * (@caramellamorbide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346727)
 * Don’t know what happened here but I tried adding: touch ($thumbpath); in the 
   admin-functions.php and after that there was no possibility I could ever login
   again. Luck that it was just my testing blog, and I could undo by a clean install(
   saves the hassle of up-dating to 2.0.1) but somehow it looks like I’m not aloud
   to upload files 🙁
 * Guess I can live with that.

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

The topic ‘Another uploading problem’ is closed to new replies.

## Tags

 * [admin-functions](https://wordpress.org/support/topic-tag/admin-functions/)
 * [line](https://wordpress.org/support/topic-tag/line/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 4 participants
 * Last reply from: [Anne-Marie](https://wordpress.org/support/users/caramellamorbide/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/another-uploading-problem-2/#post-346727)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
