Support

Site Restoration

#31914 Internal or misconfiguration error

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by dlb on Friday, 25 October 2019 08:09 CDT

pelyon
Hi, I tried to move a WP site from one host to another. I am also changing domains. All goes well until I hit cleanup, and nothing happens. When I manually clean up, deleting the kickstart file, archive, and installation folder, I get the Internal Server error:
"The server encountered an internal error or misconfiguration and was unable to complete your request", and "Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

I've attached a screen shot of the file manager if that helps, and can forward you ftp access if needed too. Let me know if I can save this restoration. Thanks!

-Jason Roberts

URL: sharonpasterart.com

dlb
Jason,

Look at the .htaccess file in the root of your site. You're looking for something like an AddHandler line. These lines don't travel well from one host to another. If you find one, put a # in the beginning of the line to make it a comment.

If you don't see any likely suspects, just rename the .htaccess file (DON'T delete it). I don't think your site will work well without it, but if we get a different error message that means we're on to something.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

pelyon
Hi Dale,

So I found an AddHandler line (at the bottom of the htaccess text below) and commented it out with no change, then commented out the line after, no change, and then the whole <if define SSL> section, all with the same result as before. Then I changed the name of the file, and the home page did come up, but when trying to view any other page, I got a 404 page not found error.

Also, and not previously mentioned by me, the domain does have an SSL license assigned to it, but I did not indicate that during the restoration process. That is I didn't specify https in the new domain structure. Perhaps this is my problem, and I should try again?

Thanks for any additional guidance you can provide.

-Jason

# 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
# php72-cgi enabler [domain has private ssl]
<IfDefine !SSL>
Action phpCGI /cgi-bin/php-cgi
</IfDefine>
# for PHP7-CGI
AddHandler php-cgi .php
Action php-cgi /cgi-bin/php-cgi
# for php and ssl
#<IfDefine SSL>
#AddHandler php-cgi .php
# Action php-cgi https://sharonpasterart.com/cgi-bin/php-cgi
#</IfDefine>

dlb
Let's comment out everything after # END WordPress.

I don't know what that stuff does but it looks like it may be host-specific.

The 404 without the .htaccess file is expected. It won't work completely without RewriteEngine On and RewriteBase /. But it does indicate that the .htaccess file is the source of the 500 error.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

pelyon
Hi Dale,

Yes, that did it, site is looking good. Thanks very much.

-Jason

dlb
You're welcome!


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

pelyon
Dale,

Alas, one more issue:

I'm getting, on the akeeba admin page, the following:


Status Details
S001 Output directory unwritable

I tried placing [DEFAULT_OUTPUT] in the output directory field, with no effect. Should I add this (below, from akeeba documentation) to my .htaccess file? I believe permissions are all fine.

<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
<RequireAll>
Require all denied
</RequireAll>
</IfModule>

pelyon
Hi Dale, never mind, issue resolved. Once I deleted Akeeba Core and installed Akeeba Pro, issue resolved. Thanks again!

-Jason

dlb
I'm glad you got it working. I'm not sure what was wrong or why the reinstall fixed it.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!