My admin site is broken after I edited the admin.php file in Theme Editor!

This topic has 6 replies, 2 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler

  • Avatar: brentas
    brentas
    Participant
    November 1, 2017 at 21:23

    My site (https://test.brianrentas.com/enlightenedtest/) works fine but I am unable to login to my site editor at http://test.brianrentas.com/enlightenedtest/wp-admin/

    I edited the admin.php file in the Theme Editor and added the code max_input_vars = 5000 at the end of the file (because I thought this would increase the menu items limit) and now I’m unable to edit my site and neither are the other admins of the site.

    I tried replacing the admin.php code in the hosting client with the admin.php code from the downloaded zip file and it still is not working. Maybe i pasted the code in the wrong location.

    PLEASE HELP!!! As I am unable to make any edits and cannot do anything without admin editing capabilities.

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 2, 2017 at 08:54

    Hello,

    Thank you for purchasing our theme and for reaching us.
    Please provide wp-admin and FTP access in Private Content, so we could check the problem.

    Regards

    Avatar: brentas
    brentas
    Participant
    November 2, 2017 at 16:10

    See private content.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 3, 2017 at 15:03

    Hello,

    We’ve renamed theme folder and uploaded latest theme version. Please check your site now. You may delete old theme folder via FTP.
    Please note, that it is a bad practice to edit .php files via Theme Editor, if it is needed you can edit files via FTP.
    Also, we disabled RSS Importer plugin, because this plugin creates problem on your site. Sorry, we don’t provide support for 3rd-party plugins.
    Please note we don’t guarantee full compatibility of 3rd-party plugins with the theme.
    Also, you need update required plugins https://www.8theme.com/download-plugins/ (To update free plugins just click on update link from your Dashboard (Plugins > Installed Plugins). To update premium plugins, connect to your server using FTP. Copy extracted plugins folders into wp-content/plugins/ ).

    Regards

    Avatar: brentas
    brentas
    Participant
    November 3, 2017 at 15:11

    Thank you so much!! I can finally edit the site! There seems to be a problem though. The site nav bar is not displaying. The text on top of the site reads “can’t find the file framework/templates/headers/header-main.php”

    Would you be able to fix that or let me know how? Also, let me know if you need any more information.

    Again, thanks so much.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 3, 2017 at 15:21

    You’re welcome!
    Fixed.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.