Title: Cheating message even when posting as Admin
Last modified: August 20, 2016

---

# Cheating message even when posting as Admin

 *  Resolved [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/)
 * I’m using Prof99’s fork 4.2 (latest) version with WP 3.5.1 including some additional
   code updates as discussed in the following thread:
 * [Thread Here](http://wordpress.org/support/topic/inserting-media-directly-into-post-with-the-add-media-button?replies=27)
 * However, I am trying to submit a post with a featured image and get the ‘Cheating’
   message come up after Submitting.
 * I would guess this is to do with permissions but I am logged in as admin trying
   to submit.
 * I’ve been having problems with the plugin since WordPress 3.5 (and the new media
   manager). I’ve had error messages trying to upload new attachments or inline 
   content images using the Visual editor (An error occurred in the upload. Please
   try again later.)
 * Also, the featured image uploader won’t successfully upload – the upload ticks
   to 100% but no thumbnail appears.
 * I wonder if this is all to do with roles/capabilities but as an admin, I would
   assume this shouldn’t happen.
 * Any help would be gratefully received.
 * [http://wordpress.org/extend/plugins/wp-user-frontend/](http://wordpress.org/extend/plugins/wp-user-frontend/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/page/2/?output_format=md)

 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517301)
 * Hi Jonga,
 * Haven’t had this problem myself. I’m about to release the 4.3 version of the 
   development release within a day once I’ve finished a few more tests. I will 
   get you to try it just in case it solves your problems.
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517306)
 * Hi Jonga,
 * My new [development](http://wordpress.org/support/topic/frontend-updates-2rrr-fork/page/2)
   version 4.3 passed my remaining tests in no time and is now released. Give it
   a try to see if it solves your problems.
 *  Thread Starter [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517322)
 * Hi prof,
 * Have updated your dev version 4.3 although support page in admin is still showing
   version as 4.2 – which I suppose could indicate I haven’t updated correctly. 
   Although remote files show correct 4.3 version.
 * Anyway, I am getting the same issue as described above. I seem to think all my
   issues in this thread and the one before where we’ve been discussing are to do
   with permissions. The behaviour is as if I don’t have permissions to upload images
   or post. I am using plugin s2member but have tried disabling all plugins and 
   still getting this CHEATING? message and no images will upload or select via 
   the Add Media or the Upload button.
 * J.
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517326)
 * Hi Jonga1306,
 * You probably have updated fine as I just checked my support page and found my
   version number is still 4.2. So congratulations for finding the first bug. I 
   have two cans of insecticide in front of me as I type and are in a dilemma as
   to which one to use :).
 * As to your dilemma in order to further define the problem try doing the following.
 * 1. Disable all plugins including s2member
 * 2. Clean out the cache of your browser just in case an old javascript file is
   causing the problem
 *  Try uploading as admin using the following three methods (you did mention some
   of this above but just making sure).
 * 3. Featured image upload.
    4. Editor ‘Insert Media’ upload 5. Attachment upload(
   using the Frontend attachment field)
 * 6. Can you use insert an image already in the media library without problems 
   for methods 1 and 2?
 * 7. Just in case it’s a WordPress problem try doing an upload from the backend
   admin Media Library page.
 *  Thread Starter [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517347)
 * Hi prof,
 * OK, have worked through the list above.
 * I did 1 and 2 as instructed then tested in Firefox and Chrome (latest versions).
 * When trying to upload a featured image or attachment, I get the issues as previously
   reported – it uploads to 100% but then no thumbnail appears or attachment. Then,
   when submitting the form, both browsers now have ‘Please Wait’ just hanging and
   the Firefox Firebug console flags up an error which reads:
 * `Load denied by X-Frame-Options: https://mysite/wp-admin/admin-ajax.php does 
   not permit cross-origin framing.`
    and `Error: Permission denied to access property'
   document'`
 * The second error then points to line 11 in file jquery.form.min.js as the code
   error.
 * The Chrome browser throws up (on submit):
 * `Refused to display 'https://mysite/wp-admin/admin-ajax.php' in a frame because
   it set 'X-Frame-Options' to 'SAMEORIGIN'.`
 * As for the other bits, the inline editor won’t upload images and throws an error
   but you can select existing ones. The attachment and upload featured image as
   we have said don’t work properly either.
 * You can upload images in the wordpress media manager in the admin area however
   so it doesn’t seem to be a WP issue.
 * I have screen grabs of all the code errors but I wasn’t sure how to save log 
   files from the console.
 * So, any thoughts?!
 *  Thread Starter [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517348)
 * Oh, and despite the errors, it did seem that the posts were actually being created
   as they appeared on the site and in the admin section however with no images 
   or attachments.
 * Having re-enabled the plugins, I go back to the error ‘cheating’. coming up on
   submit and no errors showing in the console (presumably because the form is never
   getting to ‘submit’).
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517354)
 * Hi Jonga,
 * I have never seen this ‘X-Frame-Options’ error before. It may be related to using
   https so try it again with just http.
 * As to getting logs off Firebug the following two tools are what I use.
 * To enable the ability to save a ‘Net’ log install the following Firebug extension
   [NetExport](http://www.softwareishard.com/blog/netexport/) and restart Firefox
 * Using the ‘Export’ option on the ‘Net’ option in the Firebug bar save the log
   as a ‘HAR’ file.
 * To save the console log along in a similar manner use [ConsoleExport](http://www.softwareishard.com/blog/consoleexport/).
 * Send both to me at abruinATihugDOTcomDOTau
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517356)
 * I looked at little bit more into the X-Frame problem and found [here](https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options)
   it is a web server setting. This is what I think is causing your problems. One
   potential fix is [here](http://stackoverflow.com/questions/6666423/overcoming-display-forbidden-by-x-frame-options)
 *  Thread Starter [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517358)
 * Right,
 * I have had a break through.
 * I have not been using SSL on all the pages of the site other than for payment
   or sensitive data. Therefore the site has mainly been using http with https hyperlinks
   and overides for particular pages only.
 * Having set to use https on the WPUF add item page, this seems to have resolved
   the ‘cheating?’ issue and the fix in your post above seems to have resolved the
   X-Frame problem.
 * I need to spend a bit more time testing to ensure that the problem is resolved
   but we seem to have at least made a move in the right direction and hopefully
   this will be resolved.
 * Thanks for your help so far.
 *  Thread Starter [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517359)
 * I will email you my two firebug exports – one with http and one without in case
   this helps with more specific debugging issues.
 * Thanks.
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517360)
 * Thanks jonga. Could you post details of your fixes here in order to help other
   users who might experience the same problem.
 *  Thread Starter [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517361)
 * Hi prof,
 * In terms of the X-Frame-Options error:
 * `Load denied by X-Frame-Options: https://mysite/wp-admin/admin-ajax.php does 
   not permit cross-origin framing.`
 * which I was seeing in the Firebug console when trying to submit a post using 
   WPUF, the fix was to add the following line to the file admin-ajax.php after 
   the opening PHP tag:
 * `header('X-Frame-Options: GOFORIT');`
 * Then, to resolve the error where I was receiving a ‘Cheating?’ message when submitting(
   which was the next error after the fix above), I realised that my configuration
   was throwing an error due to me not using SSL on the submission page. I changed
   this so that the WPUF Add post and edit post pages now use SSL and this resolved
   the error.
 * The exact route cause of the second part I am unsure but I have sent you the 
   console log for the non-http submission so if anything crops up please do let
   me know.
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517362)
 * Hi Jonga,
 * You mention below of having to use SSL to solve the problem is not normal behaviour
   as Frontend generally works fine for http. This sounds like a server problem 
   too. Could your please send me the logs with the ‘Cheating?’ message in it as
   well.
 * > Then, to resolve the error where I was receiving a ‘Cheating?’ message when
   > submitting (which was the next error after the fix above), I realised that 
   > my configuration was throwing an error due to me not using SSL on the submission
   > page. I changed this so that the WPUF Add post and edit post pages now use 
   > SSL and this resolved the error.
 *  Thread Starter [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * (@jonga1306)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517363)
 * I thought that was the log with the ‘cheating?’ message? was it not?
 * If not I may have to regenerate it.
 *  [professor99](https://wordpress.org/support/users/professor99/)
 * (@professor99)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/#post-3517365)
 * I’m yet to look at the log but it seems I misunderstood your previous message.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/page/2/?output_format=md)

The topic ‘Cheating message even when posting as Admin’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

## Tags

 * [permissions](https://wordpress.org/support/topic-tag/permissions/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)
 * [wpuf](https://wordpress.org/support/topic-tag/wpuf/)

 * 19 replies
 * 2 participants
 * Last reply from: [jonga1306](https://wordpress.org/support/users/jonga1306/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/cheating-message-even-when-posting-as-admin/page/2/#post-3517373)
 * Status: resolved