WordPress.org

Ready to get started?Download WordPress

Forums

V1.2.1 Broken link to CSS (7 posts)

  1. mzeecedric
    Member
    Posted 9 years ago #

    Once in a while wordpress generates a scrambled css link (it adds many false folders to the link e.g. /smilies/ /images/ ....) so that the css file cannot be found.
    Here is a sample of the code that I get:

    <style type="text/css" media="screen">

    @import url( http://mzeecedric.de/blog.v3b/wp-login.php?redirect_to=/
    blog.v3b/wp-admin/wp-style/wp-images/smilies/
    wp-images/smilies/wp-images/smilies/wp-style/
    cactus/wp-style/cactus/wp-style/cactus/
    wp-images/wp-images/smilies/wp-images/
    smilies/wp-images/smilies/wp-content/
    wp-images/smilies/wp-images/smilies/
    wp-images/smilies/wp-images/smilies/
    wp-style/listenlouder/style.css );
    </style>

    It also forgets the login, so that I have to login again to the adminarea.
    As soon as I login the page is displayed correctly, at least for a while.
    This happens with Firefox and IE 6.0.
    Any one seen sth. similar? Ideas on what to do about? I would appreciate your suggestions. Thanx.

  2. BenDG
    Member
    Posted 9 years ago #

    Let me guess, you are still on 1.2.1? And you didn't search the forums?

    This is a know bug: http://wordpress.org/support/2/14231

  3. As stated above, it is a known bug. You will need to manually fix your 'site_url' and 'home' values via phpmyadmin: http://www.tamba2.org.uk/wordpress/site-url/
    Then, upgrade to WP v1.2.2.

  4. mzeecedric
    Member
    Posted 9 years ago #

    Thank you for the links. Couldn't find the cause in the forums, allthough I'd serched. Seems the best is to update to 1.2.2.

  5. justinbaeder
    Member
    Posted 9 years ago #

    I'm running 1.3-alpha-5 and just started getting the same thing (though I've been running this version for several weeks). I'll try fixing it using Tamba's directions.

  6. justinbaeder
    Member
    Posted 9 years ago #

    Tamba's solution is a general wp/PHPMyAdmin tutorial, and does not work in this situation because the buggy code in wp-login.php will just overwrite whatever edits you make via PHPMyAdmin, as the link to the other thread above says. This happened to me, and continued happening until I commented out the code in wp-login.php. See:
    http://www.radicalcongruency.com/20050124-no-style-at-all

  7. As stated above, it is a known bug. You will need to manually fix your 'site_url' and 'home' values via phpmyadmin: http://www.tamba2.org.uk/wordpress/site-url/
    Then, upgrade to WP v1.2.2 [or the latest Nightly Build].

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.