Moving a Perch 2 account
I'm trying to move a Perch 2.x site to another server. I exported/imported the database with no issues. I also updated the Perch config.php properly.
I flipped the DNS over to the new site and no content will show. In my Perch admin it shows the data in about half of the windows, but it doesn't pipe through to the live pages. The other half of the admin pages show up as "NEW".
I had to flip the DNS back to the old server so that the client's site won't be down.
So my questions are:
1) How can I configure the new site such that I can work on it? It says my license doesn't extend to that domain.
2) How can I get Perch to work again?
1) You can add your staging domain to your license.
2) We would need to see the Diagnostic Report for both sites to be able to help.
May I have a link to instructions for running diagnostic reports, please?
Log into perch. On right there is a link to settings, then you will see a tab for diagnostics. Copy the output you have on the screen into the forum
Current Server:
Health check
Summary information
New Server:
Perch information
Hosting settings
I think that's all of it...
That looks ok. Can you turn debug on and let me know what it outputs at the bottom of the page on one of the pages that isn't working?
https://docs.grabaperch.com/perch/configuration/debug/
Debug Message [1] SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='66488aeb341decb50bfbe7b6ad0167cd' LIMIT 1 UPDATE perch2_users SET userHash='98c734fc6963948b64befc6be345073f' WHERE userID='1' [27] SELECT p.privKey FROM perch2_user_privileges p [16] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID [15] SELECT DISTINCT settingID, settingValue FROM perch2_settings WHERE userID=0
That looks like it's from the control panel. What is output on the page itself?
Here's a page that is not working. I see no output:
https://beta.uheights.net/amenities.php
Did you add this to the end of your page?
It is there now.
So it looks like it's successfully fetching two regions for your page. How many shared regions does your site have?
It only has the one.
Some of the content shows in the admin, but not on the site. Some of the pages show up as NEW in the admin, so I have no idea how to proceed with those either.
What's different between the two sites?
The file extensions have been changed to .php from .html
Have you updated the page paths in Perch to match?
Thank you Drew, that did the trick.
I'm on to moving the next one. I set up a subdomain: https://tcibeta.icomhosting.com/
I added it to my license. When I try to put the password in the Perch Admin I get: "Sorry, your license key isn't valid for this domain."
What to do?
That ship seems to have righted itself. Perhaps just took a little while.