• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Appfinite

Appfinite

Premium WordPress Themes for The Genesis Framework

  • Themes
  • Blog
  • Tutorials and Resources
  • Forums
  • Contact Us

functions.php file is breaking wp-admin log in

Home › Community Forums › Epik Theme Support › functions.php file is breaking wp-admin log in

Tagged: epik, functions, wp-admin

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 3 months ago by lisab.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 27, 2013 at 5:34 pm #8491
    lisab
    Customer

    http://brnonline.mandyroberson.com

    The designer and I have added numerous custom functions and stylings to the Epik theme. Individually they all function fine. And from the “outside” the site seems to function fine. However, each time we add something new to the functions.php file, the wp-admin login breaks and no one is able to log in to the site, or if they are already logged in, no changes or updates can be made. Please advise!

    We are on a deadline and need this resolved pronto. Thanks.

    October 27, 2013 at 5:42 pm #8492
    Eric
    Customer

    The theme’s function file doesn’t “break” anything on the admin side. Sounds like you may have added some faulty code in by mistake.

    Whatever issues you are having is due to an error in the custom code that you are adding to your file. If you are adding code to your functions file…or any php file, and there is an error in your code, then your entire site will break. This of course has nothing to do with the theme itself, you just have to figure what the error is in your code. So you may want to double check that you’re adding everything in correctly. Start fresh and add each code in separately so you can single out where your error is.

    It’s highly recommended to use FTP and a html/css/php editor to edit your files just in case you make a mistake like this again, because if you do, you’ll be able to undo any errors. If you use the WP admin editor then you’ll be stuck on the error screen and it won’t allow you to go back (that’s just the way WordPress and PHP works)….so use FTP if you can.


    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

    October 27, 2013 at 5:52 pm #8493
    lisab
    Customer

    Hi, Erik.

    I appreciate your response. However, I’m afraid it isn’t very helpful. There is no error code at all, just a blank screen when we attempt to access the dashboard. And we have used FTP and html/css/php editors to edit the files (neither of us are new to this). We have successfully removed and added back in all the customizations separately, and each one works without error. But the next time anyone tries to access the wp-admin area, we are not able to.

    Anyone else have a suggestion as to what might be causing this? All code snippets used are Genesis/WP correct. No error messages, and code has been entered through an editor and was verified as we went.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Primary Sidebar

Search Forums

Affiliate Program

Looking to earn some money? Join our Affiliate program and earn 35% of every sale you refer. Top referrers earn 40-50%.

Join Now →

The Genesis Framework

All of our themes are designed for the Genesis Framework. You will need to purchase Genesis in order to use any of our themes.

Purchase Genesis

Hire a Web Developer

Need help setting up or customizing your website?

Contact Us →

Search Full Site

  • Buy Genesis!
  • Shopping Cart
  • Themes
  • My Account
  • Support Forums
  • Tutorials and Resources
  • Privacy Policy
  • Contact Us
  • Follow Us on Twitter

Copyright © 2023 · Appfinite · Built With The Genesis Framework