'"mycreatedwpsite.example.com is currently unable to handle this request. 500."
I have developed a site on WordPress.org locally on my computer.
And I wanted to launch the site online.
SO.
I purchased a GoDaddy Domain. I purchased Bluehost hosting.
And wanted to transfer the site from local server to hosting service.
I found a video: https://www.youtube.com/watch?v=cM9Z8aQTCvQ At 2:27 the tutor shows, "Before we export the database we need to change our URL.".
I did it. And I hit the "save changes" button. After that I have been trying solution after solution all over the internet.
Bluehost's ftp manager. Filezilla file transfer. Bluehost's WordPress installation (I imported my theme, didn't work.) Tried different videos of move WordPress from localhost to server.
I found lots of articles about this problem on Internet. Even Codex WordPress Changing Site URL article.
But nothing from suggested solutions works for me.
And nothing works.
My local site by WAMP server and WordPress.org still looks amazing.
And after typing domain URL web browser still shows "isn't working."
Edit
PHP logs show:
[24-Mar-2016 16:10:50] PHP Fatal error: Call to undefined function array_replace_recursive() in /home2/hotelpo5/public_html/wp-content/themes/ta-pluton/inc/post-types/CPT.php on line 512
Solution 1:[1]
One reason that causes this issue is suppressed fatal error. Try enabling error_reporting and display_errors.
If you need to test the settings without modifying php.ini you can use something as below.
ini_set("display_errors", 1);
ini_set("track_errors", 1);
ini_set("html_errors", 1);
error_reporting(E_ALL);
Solution 2:[2]
For the future googlers.. for me this was a permission issue which got messed up after I had checked a tag out using Git. So all I had to do was run the following command inside the website root to reset the permissions back to Directories:755 & Files:644.
chmod -R u+rwX,go+rX,go-w ./
Further more the checkout had also messed up the file ownership. So I ran the following command inside the website root to set it back to the specific user:usergroup.
chown -R web1:client0 ./
Note:- Your username:usergroup would vary, so you shall have to adjust the above command to fit your environment.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mohd Abdul Mujib |
| Solution 2 | Mohd Abdul Mujib |

