WordPress.org

Ready to get started?Download WordPress

Forums

White pages of death everywhere (12 posts)

  1. Crinkle
    Member
    Posted 10 months ago #

    All of the wordpress site is giving white pages. View Page source is showing absolutely 0 code for the pages. However when looking at the php files via FTP connection, they have code in them.

    Renaming themes and plugins folders did NOT solve the problem, and there is no extra space at the end of config.php.

    I added WP_DEBUG and WP_DEBUG_LOG lines to the config file and the site THEN gives the following error on all pages:

    Fatal error: Call to undefined function _get_custom_object_labels() in /home/linweb16/[WEBSITE]/user/htdocs/MD/wp-includes/taxonomy.php on line 451

    I have reuploaded this file from a brand new word press download, it still gives the same error, can anyone think of anything else i can try?

  2. Tara
    Member
    Posted 10 months ago #

    Have you tried:
    - deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can't get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides. If applicible, also remember to deactivate any plugins in the mu-plugins folder. The easiest way is to rename that folder to mu-plugins-old.
    - To rule out any theme-specific issue, try switching to the unedited default theme for a moment using the WP dashboard. If you don't have access to your admin area, you can switch to the default theme by renaming your current theme's folder in wp-content/themes and adding "-old" to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).
    - If the above troubleshooting steps fail to resolve the issue, try manually re-uploading all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. Read the Manual Update directions first!
    - Always backup everything (including your database) before doing any actions, just in case.

  3. Crinkle
    Member
    Posted 10 months ago #

    Yeah as I already said, renaming plugins and themes folders doesnt work.

    Also, I cant really re-upload wordpress over the website, that'll wipe the website!!!

    I really need a fix, not just to paint over the problem.

  4. Keith Driscoll
    Member
    Posted 10 months ago #

    I don't think @Tara was suggesting painting over the problem.

    If after renaming the entire plugins folder (wp-content/plugins) and your specific theme folder (wp-content/themes/your-theme-folder) and the default theme still does not work then it is narrowed down to an installation issue. Just be sure you rename YOUR theme folder not the 'themes' folder.

    If that doesn't work you should backup all of your files as her post suggests and re-upload all of the WordPress core files and it might very well fix your issue. If that doesn't do it then it could be something in .htaccess or wp-config :)

  5. leejosepho
    Member
    Posted 10 months ago #

    re-upload all of the WordPress core files

    ...with the exception of wp-config.php, of course, since that files holds the info needed for database access.

    http://codex.wordpress.org/Updating_WordPress#Manual_Update
    http://codex.wordpress.org/Upgrading_WordPress_Extended

  6. Keith Driscoll
    Member
    Posted 10 months ago #

    @Tara already stated that in her post :)

  7. Crinkle
    Member
    Posted 10 months ago #

    So if i download a fresh wordpress and backup my themes folder and wp-config and then paste that over everything, it will fix the error but my website will still be there?

  8. leejosepho
    Member
    Posted 10 months ago #

    Deactivating plugins and themes is a trouble-shooting procedure, and refreshing WordPress is not a guarantee since there could be a database problem. Do you have any idea what might have caused this problem to begin? Had you made any changes anywhere just before it happened?

    Here is a thread that might help a bit:
    http://wordpress.org/support/topic/overnight-4-of-my-wordpress-sites-began-getting-this-error?replies=10

    So if i download a fresh wordpress and backup my themes folder and wp-config and then paste that over everything, it will fix the error but my website will still be there?

    To refresh WordPress, you should actually delete all *WordPress* folders and files other than wp-content and wp-config.php, then upload the replacements:
    http://codex.wordpress.org/Updating_WordPress#Manual_Update
    http://codex.wordpress.org/Upgrading_WordPress_Extended

  9. Crinkle
    Member
    Posted 10 months ago #

    I dont think i can delete the wordpress folders, since on my website it has a lot of "pages" which will get overridden i think. I'll try make a downlaod of everything and then at least i have a backup i can reupload over everything if it doesnt solve the problems.

    Should i maybe contact the webhost, could this be a website provider problem?

  10. leejosepho
    Member
    Posted 10 months ago #

    I dont think i can delete the wordpress folders, since on my website it has a lot of "pages" which will get overridden i think.

    Your pages, posts, comments and such are stored in your database, not in WordPress folders, but you definitely do not want to delete your wp-content folder where your theme and uploads are located. To know what to delete and what to not delete, carefully consider this:
    "delete all *WordPress* folders and files other than wp-content and wp-config.php"

    For example, htaccess is not a *WordPress* file, and you might have other folders and files also that are not WordPress. Leave those alone unless you have some specific reason for doing something with them.

    I'll try make a download of everything and then at least i have a backup i can reupload over everything if it doesnt solve the problems.

    You will not need to download backups of wp-admin or wp-includes or any of the loose WordPress files other than wp-config.php.

    Should i maybe contact the webhost, could this be a website provider problem?

    Posts at that other thread seem to indicate refreshing WordPress might solve your problem, but it never hurts to at least as a host whether anything other than WordPress might seem to be broken.

  11. Crinkle
    Member
    Posted 10 months ago #

    Ok this is weird, i uploaded just the wp-includes folder from the latest wordpress over the old one on the website and pages have now re-appeared. HOWEVER...

    Now the main page on the site is whitescreening.

    normally people just type in "[address].co.uk" and it brings up the index.html. Now its not.

    if i do [address].co.uk/index.html it loads the front page. But its not doing it manually, any tips?

    The wordpress is in a subfolder from the main site so theres no confliction there, the index page is NOT part of wordpress.

  12. leejosepho
    Member
    Posted 10 months ago #

    if i do [address].co.uk/index.html it loads the front page. But its not doing it manually, any tips?

    In my own case, I think it is this last line of my htaccess file that points to index:

    RewriteRule ^(/)?$ foldername/index.php [L]

    So, maybe check for something like that pointing to index.html or whatever.

Reply

You must log in to post.

About this Topic