Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter PVO

    (@pvo)

    Hi programavirm,

    You are aware that my issue involves Instant WordPress, right?
    https://www.instantwp.com/
    It is used only for testing and developing and not suitable for live websites.

    Here is error information from my prior thread above.

    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)

    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

    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.

    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.

    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

    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 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.

    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)

    Works like a charm now. Thank you!. Rated +++

Viewing 10 replies - 1 through 10 (of 10 total)