WordPress.org

Ready to get started?Download WordPress

Forums

WP 2.5: Login screen lost formatting post-upgrade (20 posts)

  1. communityguy
    Member
    Posted 6 years ago #

    I just upgraded two blogs to WP 2.5 and everything seems to be fine (knock on wood) save one issue:

    Before the upgrade, the login screen on both sites was nicely styled in the default WP login style. But now the login screen for both blog admins are missing all formatting. I didn't make any changes to the theme (the default for the admin or the public theme itself post-upgrade).

    Any idea what's going on, or better - how to fix?

    Thanks!
    Jake

  2. dambox
    Member
    Posted 6 years ago #

    Hi - I had the same thing - I deactivated all the plug ins and that seemed to fix it - It was then a case of restarting each one and checking which one caused the problem

  3. Bjooti
    Member
    Posted 6 years ago #

    I am having the same problem, even with my plugins deactivated.

  4. byph4t7h
    Member
    Posted 6 years ago #

    I have the same problem here. It's quite simple to understand: the login screen is using the wrong CSS. There is a login.css in de wp-admin/css folder but that one doesn't seem to get used. You can hard-code the URL to login.css, but it's not the most elegant way to solve the problem.

  5. PyrO PrOfessOr
    Member
    Posted 6 years ago #

    I'm having this problem as well, Again, I have deactivated the only plugin I was running, Akismet, and nothing has helped. How would you go about hard coding the login.css?? I'm ok with code but relatively new to WordPress. Cheers

  6. aka.calisto
    Member
    Posted 6 years ago #

    I figured it out for my site. I tried disabling all plug-ins and it didn't work either, so this is what I did to get it working without hard-coding the URL into the wp-login.php page:

    1. Open wp-login.php in your base directory (or the directory containing your blog)
    2. Add 'css/login' to line 38 (should be line 38, I haven't edited this file since installing):

    From this: <?php wp_admin_css(); ?>

    To this: <?php wp_admin_css('css/login'); ?>

    3. Save it/upload it and you should have a formatted login screen. Not sure if mine displays exactly as it should, but I can't find pics of the 2.5 login screen anywhere to verify.

    I hope this helps!

  7. byph4t7h
    Member
    Posted 6 years ago #

    Ok, this is a possible solution although not entirely correct if you compare it to the demo site here.
    I installed WordPress in a subdirectory. Maybe everbody with this problem did the same?

  8. PyrO PrOfessOr
    Member
    Posted 6 years ago #

    Cool thanks very much, I'll try this when i get the chance. Sort of got a half fix by adding a link to the login.php file linking to the login.css file but it only worked for the top half of the login screen so the register links are still left aligned. Ill get back to you on this method!

    <link rel='stylesheet' href='http://pyroprofessor.is-a-geek.net/wp-admin/css/login.css' type='text/css' />

    Yeah your method does the same thing without have to use this code. thanks!

  9. communityguy
    Member
    Posted 6 years ago #

    So then this seems to be a WP2.5 bug, no? Seems strange considering the fact that this one is so hard to miss.

    Does anyone know if it's been submitted to the dev team?

  10. marko7
    Member
    Posted 6 years ago #

    I'd say this is supposed to be like that...

  11. aka.calisto
    Member
    Posted 6 years ago #

    Ok, this is a possible solution although not entirely correct if you compare it to the demo site here.

    That's now the 2.6 Demo site though. The actual code of the page looks slightly different where the Register | Lost your password links are.

    I installed WordPress in a subdirectory. Maybe everbody with this problem did the same?

    I installed WordPress in the root of my site and got this problem.

  12. communityguy
    Member
    Posted 6 years ago #

    @marko, you're not serious are you?

  13. aka.calisto
    Member
    Posted 6 years ago #

    @mrtnhndrkx You were right, the 2.6 demo login looks exactly the same as the 2.5 login should.

    I notice there are two css files, one is the login.css and the other is colors-fresh.css.

    In my login page the Register/Lost password links are separated with <ul> but in the demo login they are in a <p>. I'd say we have the wrong files for some reason.

    I'm going to try replacing my wp-admin folder (again). Maybe this will fix it.

  14. aka.calisto
    Member
    Posted 6 years ago #

    I replaced my wp-admin folder, which wasn't the problem.

    It turns out that the newest version of wp-login.php was not in my blog's base directory. I guess it didn't get overwrittern properly when I upgraded via FTP

    Try this:

    1. Backup the files in your blog!
    2. Clear out the files (not the folders) in your blog's base directory. Don't delete wp-config.php or you will have to re-enter all of your database information. Be careful not to delete other files you have placed in there as well, such as a favicon.ico or google hosted service pages, etc.
    3. Download WordPress 2.5 again (just to be sure it's current) and upload all of the files (again, no folders) in the /wordpress directory.
    4. Check out your /wp-admin folder and if it worked, you will see the newest version of the login screen

    That's how I got mine working. It was probably a problem due to FileZilla not overwriting all of the files for some reason.

  15. sebgonz.org
    Member
    Posted 6 years ago #

    I tried doing the same thing aka.calisto posted. That hasn't worked for me either. I removed all my files from the base directory and reuploaded them. I still have no formatting on my login screen OR admin panel. Anyone have any other suggestions?

  16. nareshsays
    Member
    Posted 6 years ago #

    Mine is a fresh installation after I had issue of a messy upgrade. This was done on a new database. Deleted all the old files from the root and uploaded the 2.5 files. Installation went well but I am unable to get the styles working on the Admin as well as User pages.

    Kindly suggest possible solutions. TIA.

  17. biscuitware
    Member
    Posted 6 years ago #

    Backup the files in your blog!
    Clear out the files (not the folders) in your blog's base directory. Don't delete wp-config.php or you will have to re-enter all of your database information. Be careful not to delete other files you have placed in there as well, such as a favicon.ico or google hosted service pages, etc.
    Download WordPress 2.5 again (just to be sure it's current) and upload all of the files (again, no folders) in the /wordpress directory.
    Check out your /wp-admin folder and if it worked, you will see the newest version of the login screen
    That's how I got mine working. It was probably a problem due to FileZilla not overwriting all of the files for some reason.

    Worked for me.
    Thanks aka.calisto

  18. fisherzahari
    Member
    Posted 5 years ago #

    Oh man, what the hack? I can't even find my plugin link in my WordPress v2.5. I saw some videos in Youtube showing everyone has a plugin link.

    Plugin Settings Users

    But I'm only have..

    Settings Users

    Oh god, this isn't fair to me. I'am an advance user and I would like to customize my themes and I wanted to put some ads in my blog. This is quite disapointing. I already try to use Filezilla ftp software but it fails me and leaving me watching the moon in the sky at night wondering how should I do to customize my the themes and putting some ads (Google Adsense, Adbrite, and so on..) in my WordPress 2.5 blog.

    Any gurus here can show me how to enable the ftp file? I need that so that i can make plugin option available and not just only Setting and Users only. Oh man.. anybody please help me!!!!

  19. cdamianou
    Member
    Posted 5 years ago #

    ive installed version 2.5.1 and the whole thing is messed up. It all look fine until i decided to save some changes in the setting. Now the template has desappeared from both front and admin.

    Can anyone help?

    Thanks

  20. msheno01
    Member
    Posted 5 years ago #

    This is the solution:

    Make sure that the "wp-admin" folder is set to premission "755".
    Also all the folders and files inside should be set to the same thing.

    It should work right after!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags