Forums

Blank pages for entire site - even admin (16 posts)

  1. Jer995
    Member
    Posted 5 years ago #

    WP-Cache 2.0.17

    This all started yesterday. The last thing I remember doing was clearing the cache manually via the Options>Wp-Cache menu. The page never refreshed after clicking that, and I think I just ended up closing the browser window. I didn't think much of it but when I came back to work on it later, and ever since then, all of my pages are blank including the admin area. I tried the two fixes I read about but this is my first time using WP and I don't know where else to look. Assuming it it something wrong with the cache, is there a way to disable that plugin via the database or any config pages directly? Thanks for any help.

    What I've tried so far:
    >Edited wp-cache-phase2.php to include ob_end_flush();
    >Deleted everything in wp-content/cache
    >Refreshing the page does nothing
    >Cleared browser cache, tried FF and IE, tried multiple machines.

    Ugh.
    Jeremy

  2. vkaryl
    Member
    Posted 5 years ago #

    Disable the plugin by accessing your installation through your ftp client or your host control panel, and simply delete the plugin from wp-content/plugins.

    Would be a really good idea to get a database dump (backup) through phpmyadmin first....

  3. Jer995
    Member
    Posted 5 years ago #

    Oh, and sorry for not including what version of WP this is, (I don't know) but if you can tell me where to look in the pages/db I can reply with it. This was installed for me by Yahoo, who is hosting it, and they say they use the latest and greatest, but I'm not sure.

  4. vkaryl
    Member
    Posted 5 years ago #

    Version might not matter at this point. I think you can find it in the wp-options table.... maybe. Better would be to look at the files in the install, and open the wp-includes/version.php file.

  5. Jer995
    Member
    Posted 5 years ago #

    Alright, thanks. I'm working on the backup now. And if I understand what your telling me to try, all I need to do is delete the wp-cache folder from wp-content\plugins?

  6. vkaryl
    Member
    Posted 5 years ago #

    Yes, unless the plugin also has a .php file within the wp-content/plugins folder too (not likely, but some plugins in the past did that - had a folder, plus a separate file).

  7. Jer995
    Member
    Posted 5 years ago #

    no good :(

    I deleted the folder as well as a wp-cache-config.php file from wp-content\

    but I still get blank pages for everything. Any other ideas?

  8. spencerp
    Member
    Posted 5 years ago #

    For the Yahoo hosted, cache issue.. read these threads..
    http://wordpress.org/support/topic/85909?replies=15#post-439254
    http://wordpress.org/support/topic/83231?replies=10

    Those should help you.. ;) :)

    spencerp

  9. vkaryl
    Member
    Posted 5 years ago #

    Gosh, I missed all that! Didn't realize there was a specific cache problem with Yahoo.... sorry then Jeremy for leading you astray in an attempt to help....

  10. Jer995
    Member
    Posted 5 years ago #

    Interesting spencerp, it appears I am also on 2.02 with "auto" updates.

    Yup, I went into the Blog's CP, disabled the wp-cache plugin, when into the FTP directory... removed ALL wp-cache files, folders..everything in the cache/ folder made in the wp-content/cache directory too.

    Also, download a copy of the wp-config.php file to your computer.. remove this line from the wp-config.php file:
    define('WP_CACHE', true); //Added by WP-Cache Manager

    Reupload it to your FTP directory, over the existing one.
    Example of what was done here, as well.

    She was running 2.0.2 to start with, view her page source now. Says <meta name="generator" content="WordPress 2.0.4" />

    Also, not sure if you know that or not, but..I just used this to access the FTP:

    FTP URL: http://ftp.your-domain.com
    FTP USER = HOST USERNAME
    FTP PASS = HOST PASSWORD

    Made access, deleted 2.0.2 crap files, uploaded 2.0.4 files then. Ran upgrade.php file.. all was peachy! Wish ya luck, if ya need help with it.. drop a line here.. I'll handle it for ya! =)

    http://install4free.wordpress.com/2006/06/25/get-in-touch/

    spencerp

    P.S. Also, not sure, but..inside the YAHOO CP, there's a spot to choose, for them to auto update, or YOU manually update the blog, I chose for manually doing it.. Who needs Yahoo to do that stuff lol! ;)

    P.S.S. Yes, I know.. I'm just awesome like that...

    When I go into the blog control panel in Yahoo and click on the manage plugins link, it's just taking me to the blog/wp-admin/plugins.php page in my site which comes up blank.

    I modified and uploaded the wp-config.php file like you suggested - still blank

    Assuming I want to disable auto updates and manually update to 2.0.4 myself, but is there anything else I can try to get the site back?

    I can handle error messages...at least that give me something to research, but blank pages?! its driving me nuts.

  11. spencerp
    Member
    Posted 5 years ago #

    If you want, send me an email, with your login informations, FTP login informations and such too. I'll go in and see what I can do for ya. I'll even upgrade you to the LATEST version of WordPress too. ;) :)

    Send it to: spencerp1 [at] gmail [dot] com

    I gotta go do some running, but will be back soon.

    spencerp
    /That's if you want to do that, of course. lol! ;)

  12. Jer995
    Member
    Posted 5 years ago #

    Alright, well in a last ditch effort to get it working I removed i:3;s:21:"wp-cache/wp-cache.php";
    from the database in wp-options.active_plugins. I was then able to access the site and admin area. When I went to the plugins area the wp-cache was not listed and all of the other plugins were deactivated. When I went back to wp-options.active_plugins the field only had a:1:{0} (or soemthing very similar, previously it contained data for all of the plugins.

    Anyway, when I went back to the control panel and tried to activate another plugin (that had previously been active), I ended up with a blank screen after clicking activate, and now the entire site is back to being blank.

    So I think I've screwed this up enough already. I don't mind starting from scratch since I was just starting out with it anyways, but it concerns me since we couldn't find a solution for it that it could happen to me again later on.

    Spencesp - Sending you an email now about maybe helping me start over with 2.0.4.

    Thanks vkaryl for trying, its at least encouraging to see how fast you guys are at trying to help someone out.

  13. spencerp
    Member
    Posted 5 years ago #

    When you sending an email? I didn't get one yet lol. But, you could have just left me handle it all for ya.. would have saved you from all these other issues .. ;) :)

    I've been there, done it before.. so..again, it's up to you. ;) Also, I would install the "latest" version of WordPress, 2.0.4 isn't the latest lol.. =P

    Heck, I could even upgrade it to WP 2.0.6-beta1 for you, and then just keep it updated myself.. You'd be ahead of the "game" then.. lol! They'll be releasing that then soon anyway.. my as well, since 2.0.5 is a little buggy..

    spencerp

  14. spencerp
    Member
    Posted 5 years ago #

    UPDATE: Jer995 had sent me an email, and we also discussed the "plan" on GoogleTalk, before I had done his upgrade. He gave me his FTP informations, and phpMyAdmin login informations too.

    After he had done what I mentioned above, he was still having problems, which he had mentioned above here.

    Then, in the email he had sent me, he basically said he uninstalled most of the plugins, and believed that playing with a few "rating plugins" (example: post_star_rating), might have *also* been a factor in his having problems..

    While on GoogleTalk, he was talking about the wp-cache database table again, which he mentioned above. I had then told him to put a check by that wp-cache database table, and choose DROP.

    Which he had done. NOW, I had gone into his FTP directory, downloaded a copy of his wp-config.php file, ALL his plugin files, a copy of his current running theme, just to be safe.

    Also, had made a database backup of ALL the tables, which wasn't much, thank God! Saved the Database backup to my hard drive, with his other stuff..

    Then! Deleted EVERYTHING, but the wp-content/ folder, of course. And uploaded ALL NEW 2.0.6-beta1 files. I did this, because it's a beta now anyway, and most likely will be released this month.. besides.. 2.0.5 is buggy, and stuff..

    Anyway, after uploading ALL those files, and ran the upgrade script. I had received the following Database error on the "success page", or, 2nd page if you will, after clicking the "UPGRADE WORDPRESS" link.

    WordPress database error: [Access denied for user 'hisusername'@'localhost' to database 'blog']
    ALTER TABLE wp_posts ADD KEY post_status (post_status)

    Which told me, he didn't have ALL his privileges on his database there, however, his blog was fully upgraded to the 2.0.6-beta1. BUT! When trying to delete a post under the Manage => Posts => Deleting - a post.. It gave the "You don't have permission to do that." Message.

    I then went to check his "USER" table(s) in the database, following Podz's guide on "restoring admin role".. After checking his database tables, to what was shown on Podz's guide.. it was ALL correct and right, how weird is that right, lol?

    After scratching the head for a few minutes, and talking with JeremyVisser about it, on GoogleTalk. By the way, thanks again JeremyVisser! ;) :) He basically said to restore the original database, then, re-run upgrade again.

    However, here is what I did.. I then made a backup of the database with 2.0.6-beta1 in it, just to be safe. I saved that Database copy, into a folder called: 206 Database Backup, to keep it apart from the other one. ;)

    THEN!(WHILE LEAVING THE 2.0.6-BETA1 FILES STILL IN THE BLOG'S FTP DIRECTORY), I followed Podz's guide on restoring into the existing database. Once the original 2.0.2 copy of the database was done, and everything went well..

    Remembering his database user didn't have ALL his privileges for it, I went to the HOME page of the phpMyAdmin .. clicked on the Privileges link, then, found his username listed there.. clicked on the EDIT button..

    On next page, scrolled down to the:
    Database-specific privileges section, and clicked the EDIT button again, for his Blog database..

    I then noticed that ALL the check boxes weren't checked:
    The DATA COL was all checked.
    The STRUCTURE COL.. just has create checked.
    Administrator COL has two options, GRANT and REFERENCES.

    I then CHECKED ALL, for it. Then, hit the Go button, everything was applied successfully then.

    However, when on the privileges home page, it's showing his user with GLOBAL PRIVILEGES of USAGE.. with a red message on top of page..

    "Warning: Your privilege table structure seem to be older than this MySQL version!

    Please run the script mysql_fix_privilege_tables that should be included in your MySQL server distribution to solve this problem!"

    Which I'm not sure about how to do, maybe he'll have to do that, or the host..

    Anyway, after giving the USER ALL PRIVILEGES, as I mentioned a little ways up there.. I then RE-RAN the upgrade.php script, and it upgraded with NO DATABASE ERRORS...

    However, at first, when in the admin control panel, I was still getting the "You don't have permission to do that." Message when trying to delete a test post, but, I did a hard clear of cache, and logged out, then back in again.

    And was then able to delete the posts.. If anything more comes of this, I'll report back here with another update. I hope this helps someone else down the road..

    For now, Merry Christmas!
    http://gfsupport.com/blog/

    spencerp

  15. MichaelH
    Volunteer
    Posted 5 years ago #

    Unfortunately, the Database Administrator at a yahoo (or yahoo small business or geocities) hosted account gets assigned almost NO database rights. In addition, the database user that Yahoo automatically creates when using their Blogging Tool, which installs WordPress 2.0.2, gets very limited rights.

    So if a WordPress update requires database table changes/additions, then the database user defined in the wp-config.php will need their rights advanced via phpMyAdmin.

    Just for information, on yahoo you have to specifically install the Database tool which installs phpMyAdmin. Also found you may need to use IE (not FireFox) to use phpMyAdmin when it's a Yahoo site.

  16. spencerp
    Member
    Posted 5 years ago #

    Thanks MichaelH for sharing that.. ;):) I guess when it comes down to it, Yahoo hosting STILL sucks.. hahaha. =P Well, hopefully this will help others down the road, and I'm going to bookmark this thread for future reference purposes. ;) :)

    spencerp

Topic Closed

This topic has been closed to new replies.

About this Topic