Support » Themes and Templates » Theme causing reloading problems in admin environment

  • Resolved talvitie


    I’ve developed a new theme which works locally perfectly. I am experiencing problems after I’ve uploaded the theme to my server.

    I have problems reloading admin page after I have made a change that requires data to be sent to the database. Data is saved but the page doesn’t reload, it leaves me with an empty page. The reload usually freezes in pages like /wp-admin/post.php, /wp-admin/profile.php or /wp-login.php?action=logout&_wpnonce=0c8419c2a7.

    Exception is logging out which does not work.

    Tried solutions:

      Manually reinstalled WordPress.
      A new database
Viewing 10 replies - 1 through 10 (of 10 total)
  • Forgot to mention one thing. The problem could be related to a plugin but I have deleted it.

    I’ve recently run into the same problem. No solution yet, but if I strip the url in the address bar back to just I can get back to the admin page. When I visit whatever page caused the problem, I see that it “took”, it got messed up finding its way back to the updated page only.

    It’s a frustration, but at least I am up and running.

    I’m having problems with Bluehost and throttling – a term I didn’t even know until a few weeks ago. Never saw it on the throttled site but after a fresh install with the latest WP it showed up.

    I am experiencing the same too with my themes and most plugins too. I think they should find a fix for this as soon as possible. am tired of all these bugs



    Forum Moderator

    @talvitie: Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    I have uninstalled all plugins, i even uninstalled my wordpress but its still hapening. i cant even use a theme, am stuck with the default theme and my admin panel is not loading

    [Don’t bump. And try posting your own topic instead of interrupting another poster’s thread.]

    I had to search with different keywords and I’ve found some other posts with similar problems. I think I’m close to a solution. The problem seems to be related to the theme’s functions.php file, something to do with empty spaces.

    Yes! So, the key is to avoid empty spaces from the bottom, top and middle. I had several <?php ?> tags in my functions.php file and I made one big PHP tag where I moved all the code. This solved everything and no more blank screens!

    Thank you “talvitie” you got it.
    I may just make it more clear from my case:

    My theme’s functions.php was like this..

    // my original php code
    // empty line that caused the problem
    // another php code in a new tag

    I just removed that empty line and the caused became as follows..

    // my original php code
    // another php code in a new tag

    I’m having this same issue, but am still a bit confused as to the solution–

    The empty lines Mr NoComment is referring to, are they actually commented lines with //, html, or just blank space inside/outside a php tag?

    I was looking at talvitie’s solution and I can’t just put my whole file inside one blanket php tag since I have all my loops and custom content types in the functions.php file.

    I’ll check again, but it looks like all my php tags were properly opened and closed–am I missing something?

    Didn’t have this problem til I updated to WP 3.3.1

    The idea is simple don’t make empty lines BETWEEN open and closed php tags ,,
    the comments here “//” just to refer to the lines causing the problem

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Theme causing reloading problems in admin environment’ is closed to new replies.