WordPress.org

Forums

"Cheatin' uh ?" when you want to change the theme (28 posts)

  1. webtechIMT
    Member
    Posted 2 years ago #

    Hi,

    Since 3.4.2 release, when I want to change a theme to any another theme elsen (even Tweenty Ten), I get the message "Cheatin' uh?".

    Any ideas ?

    Thx

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    Try:
    - switching to the Twenty Eleven theme by renaming your current theme's folder inside wp-content/themes and adding "-old" to the end of the folder name using FTP or whatever file management application your host provides.

    - resetting the plugins folder by FTP or phpMyAdmin.

  3. webtechIMT
    Member
    Posted 2 years ago #

    I've tried both, and it's the same message when I try to change theme...

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    How did you reset the plugins folder? Using Phpmyadmin? If not, try that.

  5. webtechIMT
    Member
    Posted 2 years ago #

    I reset the plugins folder by replacing it by the plugins folder coming with the install package. I've made a simple move unix command. And I get the same message.

  6. webtechIMT
    Member
    Posted 2 years ago #

    And I've tried too to replacing the themes folder by the one which comes in the install package, and I get (again and again) the message "Cheatin' uh?".

    Any other ideas ?

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    Site url?

  8. webtechIMT
    Member
    Posted 2 years ago #

    It's a multisite WordPress, here's one (but there's the same problem with all other sites) :
    http://sigfin12.wp.mines-telecom.fr/

  9. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried setting up a test single-site install on this server?

  10. webtechIMT
    Member
    Posted 2 years ago #

    No, but it would take time. A test with the same plugins and themes ? Is it really necessary ?

  11. esmi
    Forum Moderator
    Posted 2 years ago #

    It would help to confirm whether this is a Multisite specific issue or if it's being caused by a server configuration problem.

  12. webtechIMT
    Member
    Posted 2 years ago #

    OK I try ASAP and keep you in touch

  13. mattisstorm
    Member
    Posted 2 years ago #

    I am having the same issue with twentyten on a single site install...

  14. esmi
    Forum Moderator
    Posted 2 years ago #

    Interesting... although very frustrating for you, I'm sure. This means that it's more likely to be a server issue. I'll ask around and see if any of the other forum volunteers have come across this situation before. In the meantime, did you create this new site using a fresh download of WordPress?

  15. esmi
    Forum Moderator
    Posted 2 years ago #

    Another thought: Have you tried emptying your browser cache and deleting your cookies?

  16. mattisstorm
    Member
    Posted 2 years ago #

    I know this isn't a good solution, but I rolled back my installation to a previous version of WP and the error message disappeared.

  17. esmi
    Forum Moderator
    Posted 2 years ago #

    That is a really, REALLY, bad idea. Rolling back leaves your site(s) open to hackers.

  18. mattisstorm
    Member
    Posted 2 years ago #

    It is not a clean install and I tried a clean install locally and it's all working fine. I also tried the twentyelleven theme before I rolled back my wp and I had the same issue.

  19. esmi
    Forum Moderator
    Posted 2 years ago #

    I tried a clean install locally and it's all working fine

    Which suggests that this is a server configuration issue.

  20. mattisstorm
    Member
    Posted 2 years ago #

    Thanks esmi i will have a look into it and I will post whatever I find out.

  21. webtechIMT
    Member
    Posted 2 years ago #

    So I tried single-site clean install on the same server with same configuration (PHP, I'm using 5.4.6 and Apache rewriting for permalinks) and it's OK, I can switch from twenty-eleven to twenty-ten theme.

    I tried too emptying your browser cache and deleting your cookies, and it's the same.

  22. webtechIMT
    Member
    Posted 2 years ago #

    When I tried too emptying your browser cache and deleting your cookies, and said "it's the same" : it means that I get the message "Cheatin' uh?".

  23. esmi
    Forum Moderator
    Posted 2 years ago #

    Still having problems with the Multisite?

  24. webtechIMT
    Member
    Posted 2 years ago #

    Yes, unfortunatly...

  25. esmi
    Forum Moderator
    Posted 2 years ago #

    Just to re-cap, have you tried removing all plugins from all sites? Is there any difference if you log in as Super Admin?

  26. webtechIMT
    Member
    Posted 2 years ago #

    Yes I tried removing all plugins from all sites by replacin plugin directory by ehe one provided by install package, the message was still there.

    Logged as admin on the root site, it's also the same message when changing theme.

  27. esmi
    Forum Moderator
    Posted 2 years ago #

    I'm pretty much out of ideas. :-( All I can suggest is that you try posting in the Multisite forum and mention that previous testing has confirmed that the issue is specific to this multisite. Posting a link to this topic might help too.

  28. webtechIMT
    Member
    Posted 2 years ago #

    I'VE FOUND THE SOLUTION... AT LEAST...

    It's because of the constant NONCE_SALT :
    define( 'NONCE_SALT', 'xx' );

    This line was after this line :
    require_once(ABSPATH . 'wp-settings.php');

    When you put it before, there's no more message "Cheatin' uh?".

    Weird no ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.