• Resolved aaronjcrawford

    (@aaronjcrawford)


    Hello,
    I was receiving the “cheating uh” dialog box anytime I tried to upload media to the Discover theme and attempted to correct the issue with the fix on this website.
    http://www.techknot.com/how-to-fix-cheatin-uh-error-in-wordpress/

    I edited the open medialibrary-uploader.php file and now I receive the following message when I try to login:

    Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ‘)’ in /home/content/44/11337144/html/wp-content/themes/discover/admin/options-medialibrary-uploader.php on line 169

    Please help! I have no idea on how to even get back into my dashboard to try to fix the code.
    The site is
    http://bekoconstruction.ca/

    Thank you,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Never edit code via the built in editor. Get a code editor program and use ftp for file transfers. Also having a local install using wamp helps a bunch.

    Good luck

    to get back into the admin, try one of the following:

    – use FTP to rename your theme’s folder name to something different; this should activate the default theme and allow you back into the admin, where you can then repair the broken file.

    – use FTP to replace the broken /themes/discover/admin/options-medialibrary-uploader.php file with an unedited original from your theme;

    Thread Starter aaronjcrawford

    (@aaronjcrawford)

    Thanks folks! Dumb move by me. Just learning and hacking my way through this

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

The topic ‘Edited code, crashed my site’ is closed to new replies.