Title: PHP Error with Theme
Last modified: August 19, 2016

---

# PHP Error with Theme

 *  Resolved [Eaton](https://wordpress.org/support/users/eatonz/)
 * (@eatonz)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-theme/)
 * Hi, I recently installed the popular Mystique theme on my site hosted on a Windows
   server.
 * It has an option to change the logo image. So I go to do so, but I am presented
   with this: [http://img249.imageshack.us/img249/8298/capturehc.png](http://img249.imageshack.us/img249/8298/capturehc.png)
 * **However,** I had a Linux server before and it worked fine on that server.
 * Now when I save the settings, it directs me to here: `http://fatxplorer.eaton-
   works.com/wp-admin/themes.php?page=theme-settings&error=3`
 * See how it is error 3? According to the script, it failed to upload/move.
 * Here is the script itself: [http://www.mediafire.com/download.php?mmmwmmtifto](http://www.mediafire.com/download.php?mmmwmmtifto)
 * All I want is to set the freaking logo image.. It shouldn’t be this hard. I have
   tried modifying the script, but I know virtually no PHP so I had no success.
 * If anyone can modify it to work or tell me how to make it work, I would appreciate
   it.

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

 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-theme/#post-1477425)
 * Did you edit the functions file? Remove some translation related functions / 
   code from it at all?
 * Doesn’t do that here on a fresh installation of the theme (downloaded it to test).
 * There shouldn’t be a problem with them unless you’ve removed some code from the
   functions file that is required for the text to translate correctly.
 * If you’d rather just fix those lines, open up the theme-settings.php , goto lines
   370 – 372, and replace this..
 *     ```
       1 => _("Please upload a valid image file!","mystique"),
              2 => _("The file you uploaded doesn't seem to be a valid JPEG, PNG or GIF image","mystique"),
              3 => _("The image could not be saved on your server","mystique")
       ```
   
 * with..
 *     ```
       1 => "Please upload a valid image file!",
              2 => "The file you uploaded doesn't seem to be a valid JPEG, PNG or GIF image",
              3 => "The image could not be saved on your server"
       ```
   
 *  Thread Starter [Eaton](https://wordpress.org/support/users/eatonz/)
 * (@eatonz)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-theme/#post-1477493)
 * Thanks for the reply. I did not change anything in the code.
 * When I save the settings now, I get: “Error: The image could not be saved on 
   your server.”
 *  Thread Starter [Eaton](https://wordpress.org/support/users/eatonz/)
 * (@eatonz)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-theme/#post-1477499)
 * I FIXED IT!!!
 * It was a problem with the write permissions.
 * Thanks for the help! Glad this is out of the way..

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

The topic ‘PHP Error with Theme’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [script](https://wordpress.org/support/topic-tag/script/)
 * [server](https://wordpress.org/support/topic-tag/server/)
 * [windows](https://wordpress.org/support/topic-tag/windows/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Eaton](https://wordpress.org/support/users/eatonz/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/php-error-with-theme/#post-1477499)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
