WordPress.org

Ready to get started?Download WordPress

Forums

[closed] HTTP Error 500 (Internal Server Error): Whole blog is down (12 posts)

  1. iamkeithgallagher
    Member
    Posted 1 year ago #

    I recently assigned a new domain to my cPanel account with my host (bluehost)
    One of the sites (sortalikeadream.com) that was hosted as an add-on which was located in the public_html directory. Now absolutely nothing works. I know very little about servers and databases. Bluehost support leads to then telling me that it is a content error and they can't help. The most help I have found is in this forum. I have used the phpMyAdmin in the bluehost cpanel to locate the database and found the posts—which are all there, thank god. I backed up this database. I have a copy of the public_html server. I checked the wp-config.php file and the database info is correct as far as I can tell. Still no luck. I have other subdomains that were hosted on the site that no longer work after the re-assignment. (devanmickell.com, devanandkeith.com, processandinspiration.com) and one that oddly still functions. (pictureswithdave.com) but sortalikeadream is the only one that matters. The others I can re-do for entertainment. It contains over 4 years of posts. I can see them, I know they are there. I just need to know the best solution to fix this problem. Any help would be greatly appreciated. Thanks in advance.

  2. Bryan Petty
    Member
    Posted 1 year ago #

    500 errors can frequently occur with incorrectly configured rewrite rules contained in your ".htaccess" files, so you should probably try removing those from your folders to see if it's the cause. Keep a backup of those files of course, you might still need them.

    Keep in mind that if you remove one in a subfolder, and another one exists in the parent folder, it will be used instead, which could cause more problems too. You might need to remove any from parent folders as well.

  3. iamkeithgallagher
    Member
    Posted 1 year ago #

    Thank you for your help. I removed the .htaccess files from both the parent folder and the subfolder in question. It provided the same results as when they were in there.

    here is the one in the subfolder:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    here is the one in the parent folder (the original domain assigned to my account was http://www.keithjust.in)

    RewriteEngine on
    
    RewriteCond %{HTTP_HOST} ^keithjust\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.keithjust\.in$
    RewriteRule ^/?$ "http\:\/\/www\.processandinspiration\.com\/" [R=301,L]
    
    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    RewriteCond %{HTTP_HOST} ^keithjust\.in$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.keithjust\.in$
    RewriteRule ^blog\/$ "http\:\/\/www\.processandinspiration\.com\/" [R=301,L]

    I have no idea really. Is there a way to take my exported .sql of my database and my wp-content file and make an entirely new install and import all the content somehow? Is there a solution similar to this that would work more efficiently?

    Thanks again for your help.

  4. Bryan Petty
    Member
    Posted 1 year ago #

    It does appear that this works: http://sortalikeadream.com/readme.html

    So considering actual WordPress pages still come back with error 500, that would certainly indicate that there's something wrong with your WordPress installation. It might be worth trying to install a fresh new installation, and restoring your data from the old one.

    Take a look at the backup instructions docs for help. This also contains some instructions for restoring the database back into a clean installation.

    Don't forget that you will not only need to restore the database, but also any media, plugins, and your theme in the "wp-content" directory.

  5. WebHosting Watch
    Member
    Posted 1 year ago #

    If you see this kind of error, then your web server encountered an unexpected condition that prevented it from fulfilling the request by the client for access to the requested URL. This is a 'catch-all' error generated by your web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client. In addition to the 500 Internal Server Error notified back to the client, the Web server should generate some kind of internal error log which gives more details of what went wrong. It is up to the operators of your Web server site to locate and analyse these logs.
    Any client (e.g. your Web browser or our CheckUpDown robot) goes through the following cycle when it communicates with your Web server:

    Obtain an IP address from the IP name of your site (your site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
    Open an IP socket connection to that IP address.
    Write an HTTP data stream through that socket.
    Receive an HTTP data stream back from your Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.

    This error occurs in the final step above when the client receives an HTTP status code that it recognises as '500'.

    Resolving 500 errors - general: this error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the administrators of your Web server site to locate and analyse the logs which should give further information about the error

  6. superxtremevideo
    Member
    Posted 9 months ago #

    can someone fix my website or at least help with fixing it please.

    http://www.superxtremevideo.com/

  7. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    @superxtremevideo - you need to start a new thread - this one is way out of date and unlikely the same as your issue. Please read this first and include more info in your thread:

    http://codex.wordpress.org/Forum_Welcome#Where_To_Post

  8. lalitsharma
    Member
    Posted 9 months ago #

    500 internal server errors frequently occur i did all .htaccess changes but my site run some time properly and than it will create 500 internal server error again. Please help someone. Thanks in advance my site's link is http://www.allcgtutorials.com/

  9. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    You need to start a new thread as I posted right above your post.

  10. Lauryen828
    Member
    Posted 8 months ago #

  11. RomanKur
    Member
    Posted 8 months ago #

    I spent 2 days to found out the same issue on http://kuritsyna.ru site.
    The reason was very easy - I forgot to close apostrophe like:
    if ... then '...'

    So to understand where the reason of 500 error is I suggest go to wp-config.php in the root of your website and add there two lines:

    define('WP_DEBUG', true);
    @ini_set('display_errors', 1);

    After that you can see exactly place which linked with 500 error.
    After fixing I suggest return it how it was by default (only one line)
    define('WP_DEBUG', false);

  12. WPyogi
    Volunteer Moderator
    Posted 8 months ago #

    Anyone in this thread who still needs help, please start your own thread.

Topic Closed

This topic has been closed to new replies.

About this Topic