• I am using InstantWP 4.2. My WordPress version is $wp_version = ‘3.8.4’. I haven’t made my site live. My active theme is Twenty-Fourteen and using as child theme. I haven’t downloaded any plugins in a good while. All of a sudden, I cannot reach the login page https://127.0.0.1:4001/wordpress/wp-login.php and gives me a 500 Error.

    From reading a multiple articles, I have renamed my plugin folder to “plugin.deactivate”. Also renamed both parent and child active themes (Twenty-Fourteen). Also renamed “.htaccess”. None of above worked.

    Any help is greatly appreciated!!

Viewing 15 replies - 1 through 15 (of 19 total)
  • To manage “500 Error.” error we can check server log to see what error and then we can resolve i am sure we can work out

    also their is a file wp-login.php in wordpress folder you can find that file and put error_reporting(E_ALL); at the top and then see what error is coming

    If you can short out ok other wise post here I can help you short out

    Thread Starter PVO

    (@pvo)

    Hi susheelhbti,

    Thank you for your help! Here is the output after placing “error_reporting(E_ALL);” at the top of wp-login.php file in wordpress folder. Does the output below help?

    error_reporting(E_ALL);
    Warning: Cannot modify header information – headers already sent by (output started at C:\Users\PVO\Documents\InstantWP_4.2\iwpserver\htdocs\wordpress\wp-login.php:3) in C:\Users\PVO\Documents\InstantWP_4.2\iwpserver\htdocs\wordpress\wp-includes\functions.php on line 2809

    Error establishing a database connection

    Thread Starter PVO

    (@pvo)

    I installed a new InstantWP 4.2 in a different directory. I copied Twenty-Fourteen themes (both parent and child). I copied all the plug-in folders over to the new InstantWP 4.2 folder. I have not activated any plugins. I was able get to the Admin login page (admin; password) to select and activate the Twenty-Fourteen child theme. None of my pages are there because I don’t know how to connect it over to the new InstantWP install. At least it proves that my theme are not corrup.

    I copied the wp-login.php file from the fresh/new InstantWP install and substituted in my old InstantWP that I am having trouble. I am still having problems. I can’t reach the Admin login page to enter my login and password.

    Anonymous User 13290616

    (@anonymized-13290616)

    Hi there,

    The 500 error is because there is something wrong with your Apache configuration.

    If you want you can attach your .htaccess file here so that we can see what’s going wrong. Maybe there is some syntax problem.

    It is also possible that you have changed something in your main configuration file.

    Thread Starter PVO

    (@pvo)

    Hi programarivm,
    I am not sure which .htaccess you want me to provide. I see several of them.

    Thread Starter PVO

    (@pvo)

    I only pull up three .htaccess files in the following directories. i don’t believe you are wanting to see the .htaccess for the first one below since it is for a plugin.

    \Documents\InstantWP_4.2\iwpserver\htdocs\wordpress\wp-content\plugins\wponlinebackup\tmp

    \Documents\InstantWP_4.2\iwpserver\admin\phpMyAdmin\libraries

    # This folder does not require access over HTTP
    # (the following directive denies access by default)
    Order allow,deny

    \Documents\InstantWP_4.2\iwpserver\admin\phpMyAdmin\setup\lib

    # This folder does not require access over HTTP
    # (the following directive denies access by default)
    Order allow,deny

    Thread Starter PVO

    (@pvo)

    I only pull up three .htaccess files in the following directories. i don’t believe you are wanting to see the .htaccess for the first one below since it is for a plugin.

    \Documents\InstantWP_4.2\iwpserver\htdocs\wordpress\wp-content\plugins\wponlinebackup\tmp

    \Documents\InstantWP_4.2\iwpserver\admin\phpMyAdmin\libraries

    # This folder does not require access over HTTP
    # (the following directive denies access by default)
    Order allow,deny

    \Documents\InstantWP_4.2\iwpserver\admin\phpMyAdmin\setup\lib

    # This folder does not require access over HTTP
    # (the following directive denies access by default)
    Order allow,deny

    I read your issues can you please post here what you want to do.

    In case you wish to install a new instance just ignore that and do it again from a new download.

    .htaccess is used for a number of tasks like server config re write . url cleaning but if we remove the .htaccess we still can manage the wp site.

    All three .htaccess has no roll in wordpress website. thus you need to look on other issues.

    Thread Starter PVO

    (@pvo)

    Hi Susheelhbti,

    I just want to be able to have the login page appear again (instead of the 500 server error) and allow me to enter my admin/password and access my Original InstantWP development site. All my work is in there.

    I only downloaded InstantWP 4.2 again to see if I would have the same issue with the 500 server error to help further isolate the issue (ex. whether my theme was possibly corrupt). I copied over my parent and child Twenty-Fourteen themes over to the new downloaded InstantWP and the child theme loads fine. However my data is not on the new download nor do I know how to properly migrate my old date to the new InstantWP download.

    I am not sure what is the best approach from here is.
    Thank you kindly.

    Anonymous User 13290616

    (@anonymized-13290616)

    Hello,

    Is your wp-login.php located within your main WordPress folder? If so, the 500 error should be caused by the main .htaccess, which is also located in your WordPress DocumentRoot.

    You can make a copy of your current .htaccess, and then upload an original .htaccess file. This way you should be able to access your login panel.

    Thread Starter PVO

    (@pvo)

    Yes, the wp-login.php file is located in my wordpress folder (iwpserver\htdocs\wordpress). However their is no “.htaccess” file in teh wordpress folder for my original InstantWP (local machine).

    I even checked the new downloaded InstantWP and also do not see a .htaccess file in the wordpress folder – AND this one works!

    I tried to download .htaccess from my live website long ago. It downloads as “htaccess” instead of “.htaccess”. When I place it (htaccess) in the wordpress folder of my Original InstantWP, it does not solve my issue. It will not allow me to change “htaccess” to “.htaccess” either, if it makes any difference.

    Thank you.

    Anonymous User 13290616

    (@anonymized-13290616)

    Hi there,

    It is very important that you rename your htaccess file to .htaccess

    Hope to help,

    Thread Starter PVO

    (@pvo)

    Hi programarivm,

    Thank you for taking the time to help. I went to cmd and was able to rename “htaccess” to “.htaccess” and unfortunately still cannot get to the login page for my (Original) InstantWP 4.2.

    As I mentioned, I downloaded another instance of (new) InstantWP 4.2 on the same PC. The (New) InstantWP 4.2 doesn’t even have a “.htaccess” file in the WordPress folder AND the (new) InstantWP 4.2 works fine. I am able to login and setup my child theme. So should the “.htaccess” file matter?

    If I knew how to transfer the database information from the (Original) InstantWP to the (New) InstantWP, I would do so. Unfortunately I do not.

    Below is the .htaccess from the (Old) InstantWP.
    # BEGIN WPSuperCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    #If you serve pages from behind a proxy you may want to change ‘RewriteCond %{HTTPS} on’ to something more sensible
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/t-wpcache7/wp-content/cache/supercache/%{SERVER_NAME}/t-wpcache7/$1/index-https.html.gz -f
    RewriteRule ^(.*) “/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz” [L]

    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
    RewriteRule ^(.*) “/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz” [L]

    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
    RewriteRule ^(.*) “/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html” [L]

    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240×320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]
    RewriteCond %{HTTP_user_agent} !^(w3c\ |w3c-|acs-|alav|alca|amoi|audi|avan|benq|bird|blac|blaz|brew|cell|cldc|cmd-|dang|doco|eric|hipt|htc_|inno|ipaq|ipod|jigs|kddi|keji|leno|lg-c|lg-d|lg-g|lge-|lg/u|maui|maxo|midp|mits|mmef|mobi|mot-|moto|mwbp|nec-|newt|noki|palm|pana|pant|phil|play|port|prox|qwap|sage|sams|sany|sch-|sec-|send|seri|sgh-|shar|sie-|siem|smal|smar|sony|sph-|symb|t-mo|teli|tim-|tosh|tsm-|upg1|upsi|vk-v|voda|wap-|wapa|wapi|wapp|wapr|webc|winw|winw|xda\ |xda-).* [NC]
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
    RewriteRule ^(.*) “/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html” [L]
    </IfModule>

    # END WPSuperCache

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

    # END WordPress

    Anonymous User 13290616

    (@anonymized-13290616)

    Hi PVO,

    It’s a bit difficult to help without any error log attached, so we can only give you some general tips.

    Which web server are you running? I assume you’re running Apache. In this case the error 500 generally says that something goes wrong in some .htaccess file, it is something like a general error.

    Apache’s .htaccess are run on a per-directory basis. It’s for that reason that there should be something wrong with your main .htaccess file, because your wp-login.php file is located in the DocumentRoot.

    So if you are actually running Apache you should take a default .htaccess file, place it in your DocumentRoot and start from there.

    Why don’t you take a default .htaccess from https://codex.www.ads-software.com/Using_Permalinks

    # 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

    and see what happens?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Unable to Login InstantWP – 500 Internal Server Error’ is closed to new replies.