I’m trying to switch a site that has been accessed by an IP with path ##.###.###.###/~folder/ to a url.
First point, yes, I have slashes on both.
Second, the new URL is not yet pointed to by DNS, I am using it through a modified host file.
Note that there is no certificate yet installed.
Initial thoughts?
Thanks
Cemil Alyanak
Note that there is a DNS zone for the new url on the server. I admin the server.
Cemil Alyanak
Please note that for now, because it’s Dec 31!! I am getting my admin to restore a backup from yesterday so if you visit the site today, you won’t see your plugin. I’ll get back online tomorrow (after New Year celebs) and reinstall the plugin. Meanwhile, if you’d like admin access, I’ll post in the private section.
OnPoint Plugins
Hi Cemil,
Can you tell me a bit more about what the issue is?
For example:
Thank you
Mat Lipe
Cemil Alyanak
Thanks for the quick response. As soon as I click to start the transfer, I get the WordPress error dialog asking me to start the Debug.
Cemil Alyanak
See private comment
Cemil Alyanak
Login info attached
Cemil Alyanak
I’m just realizing something stupid on my part. If we do this now, if I go from IP to url, it might cause a problem for the rest of the development, right? I still have about a month of development during which the live site will remain on the other server. If we switch everything over on my dev site, that means that all the dev site links with the url will point to the live site, right? Sorry, but this is the first time I do this. I’ve usually developed new sites, without a live site in parallel.
OnPoint Plugins
Hi Cemil,
I’ve logged into your site and am able to recreate the error.
Are you able to send me a copy of your server’s PHP error log? The last couple pages right after this plugin has been run would be helpful to track the issue.
Otherwise, did the site perhaps send you an email with the error listed in it?
OnPoint Plugins
Yes, once the domain is switched the site will not be running on the live domain.
One approach is to point your hosts file to the new server from your computer so you can still develop the site while it is live on the new domain. This only works if you don’t need other users to see the develop site, or you can also have them point their hosts file.
Otherwise, you may wait until dev is complete before making the switch.
Cemil Alyanak
Here is the log. The first batch is not yours, I assume. I think it has to do with something else. The second set seems memory related. I went into PHP and doubled all the memories. Maybe that’ll do it?
[26-Dec-2019 12:41:40 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/risky/public_html/wp-includes/post-template.php on line 316
[26-Dec-2019 12:41:55 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/risky/public_html/wp-includes/post-template.php on line 316
[26-Dec-2019 12:44:48 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/risky/public_html/wp-includes/post-template.php on line 316
[26-Dec-2019 12:53:49 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/risky/public_html/wp-includes/post-template.php on line 316
[26-Dec-2019 13:09:15 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/risky/public_html/wp-includes/post-template.php on line 316
[26-Dec-2019 13:51:21 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/risky/public_html/wp-includes/post-template.php on line 316
[26-Dec-2019 13:53:02 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/risky/public_html/wp-includes/post-template.php on line 316
[28-Dec-2019 10:20:49 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 10:21:35 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 10:23:11 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 10:23:30 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:26:29 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:30:07 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:34:35 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:37:00 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:38:01 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:38:32 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:39:13 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 13:59:56 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995
[28-Dec-2019 14:01:44 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 159744 bytes) in /home/risky/public_html/wp-includes/wp-db.php on line 1995