• Resolved Eaton

    (@eatonz)


    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

    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

    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)
  • 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

    (@eatonz)

    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

    (@eatonz)

    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.