WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Lost All Formatting (3 posts)

  1. waldejewp
    Member
    Posted 4 years ago #

    I built my first WP site this weekend and all was fine. I was about to turn it loose in the ether after just a little more wordsmithing. After a save, all my formatting disappeared and it looked like a site with no CSS. I logged out, tried to log back in and an unformatted signin screen came up and when I entered my credentials, it took me to the first page of the site (still unformatted) and no edit/admin capability. It is as if WordPress is no longer involved. My hands are tied. I went into PhpMyAdmin, checked my tables, all returned "Status OK".
    I browsed them and found them to be populated with "reasonable" looking data... Any help would be greatly appreciated.

    Thanks in advance.

  2. eriewire
    Member
    Posted 4 years ago #

    Having the same problem!

    We're building a wordpress.org site — http://www.eriewire.org.php5-14.dfw1-1.websitetestlink.com/ — and installed a few different plugins, which seem to have disabled our admin pages all together. Now, all we get are blank admin screens ???????????

  3. waldejewp
    Member
    Posted 4 years ago #

    I resolved this the old fashioned way: Hard Work. I analyzed, in detail, the data in the SQL tables to gain an understanding of how it functioned. I analyzed the generated HTML (via view source in the browser). I looked for elements that appeared to me to be likely candidates for tweaking. I narrowed it down to this statement:

    <link rel="stylesheet" type="text/css" media="all" href="http://justinseine.com/WP/?page_id=2/wp-content/themes/twentyten/style.css" />

    I removed the "?page_id=2" parameter, uploaded it to the server in the appropriate directory and tested it. Voila! my formatting was back on my header page.

    I then went into PhpMyAdmin and edited the WP_Options table and removed the same parameter from row one (siteurl).

    This gave me back my formatted login and admin capability.

    The problem is solved, but I do not know what caused it????

    Never having touched WordPress before this weekend I had little appreciation for how it worked. Now I do. I also know what to back up and when to back it up..... Someone on this forum wrote: "Code is Poetry" I would like to add that "Bad Code is Hell!" Code On!

    Persistence pays...

Topic Closed

This topic has been closed to new replies.

About this Topic