Title: Errors when submitting a post
Last modified: August 19, 2016

---

# Errors when submitting a post

 *  [usrbingeek](https://wordpress.org/support/users/usrbingeek/)
 * (@usrbingeek)
 * [17 years ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/)
 * I am using 2.7.1. Could someone please explain how to resolve these errors that
   I get when submitting a post:
 * > Warning: getimagesize() [function.getimagesize]: URL file-access is disabled
   > in the server configuration in /pathto/www.example.com/wp-content/themes/monotone/
   > functions.php on line 109
   > Warning: getimagesize([http://www.example.com/wp-content/uploads/2009/05/l-1600-1200-1faea376-5741-419d-92cb-22b6b494b69b.jpeg](http://www.example.com/wp-content/uploads/2009/05/l-1600-1200-1faea376-5741-419d-92cb-22b6b494b69b.jpeg))[
   > function.getimagesize]: failed to open stream: no suitable wrapper could be
   > found in /pathto/www.example.com/wp-content/themes/monotone/functions.php on
   > line 109
   > Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: URL file-access
   > is disabled in the server configuration in /pathto/www.example.com/wp-content/
   > themes/monotone/functions.php on line 235
   > Warning: imagecreatefromjpeg([http://www.example.com/wp-content/uploads/2009/05/l-1600-1200-1faea376-5741-419d-92cb-22b6b494b69b.jpeg](http://www.example.com/wp-content/uploads/2009/05/l-1600-1200-1faea376-5741-419d-92cb-22b6b494b69b.jpeg))[
   > function.imagecreatefromjpeg]: failed to open stream: no suitable wrapper could
   > be found in /pathto/www.example.com/wp-content/themes/monotone/functions.php
   > on line 235
   > Warning: imagesy(): supplied argument is not a valid Image resource in /pathto/
   > www.example.com/wp-content/themes/monotone/functions.php on line 237
   > Warning: imagesx(): supplied argument is not a valid Image resource in /pathto/
   > www.example.com/wp-content/themes/monotone/functions.php on line 239
   > Warning: imagecolorat(): supplied argument is not a valid Image resource in/
   > pathto/www.example.com/wp-content/themes/monotone/functions.php on line 251
   > Warning: imagecolorat(): supplied argument is not a valid Image resource in/
   > pathto/www.example.com/wp-content/themes/monotone/functions.php on line 252
   > Warning: imagecolorat(): supplied argument is not a valid Image resource in/
   > pathto/www.example.com/wp-content/themes/monotone/functions.php on line 253
   > Warning: imagecolorat(): supplied argument is not a valid Image resource in/
   > pathto/www.example.com/wp-content/themes/monotone/functions.php on line 254
   > Warning: imagecolorat(): supplied argument is not a valid Image resource in/
   > pathto/www.example.com/wp-content/themes/monotone/functions.php on line 255
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /pathto/www.example.com/wp-content/themes/monotone/functions.php:
   > 109) in /pathto/www.example.com/wp-includes/pluggable.php on line 850
 * (Path and domain intentionally obfuscated for the purpose of this post.)

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

 *  Thread Starter [usrbingeek](https://wordpress.org/support/users/usrbingeek/)
 * (@usrbingeek)
 * [17 years ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077030)
 * Problem solved. It was a PHP configuration issue.
 *  [theguitarmaster](https://wordpress.org/support/users/theguitarmaster/)
 * (@theguitarmaster)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077173)
 * I’m glad you got this issue resolved. I’m now experiencing the same problem. 
   Would you mind sharing your solution?
 *  [theguitarmaster](https://wordpress.org/support/users/theguitarmaster/)
 * (@theguitarmaster)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077174)
 * `[Tue Jun 9 10:58:14 2009] [error] PHP Warning: imagecolorat(): supplied argument
   is not a valid Image resource in (real-path-removed)/wp-content/themes/monotone/
   functions.php on line 300`
 * That’s what I’m getting in my error_log.
 * Anyone have any ideas?
 * Pwetty Pwease?
 *  [theguitarmaster](https://wordpress.org/support/users/theguitarmaster/)
 * (@theguitarmaster)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077175)
 * The picture does actually upload, but it does not set the CSS for the page correctly(
   it’s always the default black background) and the picture does not show correctly.
 * If I edit the code using firebug to remove the width setting of the picture it
   then does display, but the CSS (which is set at upload time) is not working.
 *  [theguitarmaster](https://wordpress.org/support/users/theguitarmaster/)
 * (@theguitarmaster)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077182)
 * 🙁
 *  [theguitarmaster](https://wordpress.org/support/users/theguitarmaster/)
 * (@theguitarmaster)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077183)
 * 🙁
 *  [theguitarmaster](https://wordpress.org/support/users/theguitarmaster/)
 * (@theguitarmaster)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077186)
 * 🙁
 *  [theguitarmaster](https://wordpress.org/support/users/theguitarmaster/)
 * (@theguitarmaster)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077187)
 * 🙁
 *  [odyssey](https://wordpress.org/support/users/odysseygate/)
 * (@odysseygate)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077240)
 * sorry to late response, but my friend told me how to fix this problem.
    by using
   php.ini, write as follows
 * > allow_url_fopen = on
 * I could solve on my server(media temple).
    FYI//

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

The topic ‘Errors when submitting a post’ is closed to new replies.

## Tags

 * [monotone](https://wordpress.org/support/topic-tag/monotone/)

 * 9 replies
 * 3 participants
 * Last reply from: [odyssey](https://wordpress.org/support/users/odysseygate/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/errors-when-submitting-a-post/#post-1077240)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
