I have migrated a site from:
- Unknown OS (Was through BlueHost)
- cPanel 11.52.6 (build 1)
- Apache (v. 2.2.31)
- PHP (v. 5.2.17)
- MySQL (v. 5.5.42-37.1)
- WordPress (v. 4.5.3)
- CiviCRM (v. 4.6.9)
To:
- CentOS release 6.8
- cPanel 56.0 (build 25)
- Apache (v. 2.4.18)
- PHP (v. 5.6.22)
- MySQL (v. 5.6.30)
- WordPress (v. 4.5.3)
- CiviCRM (v. 4.6.19)
I have followed the documentation found at https://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location and have managed to get CiviCRM to run but with a hiccup. The initial loading of the CiviCRM dashboard takes a very long time, sometimes 5+ minutes, but after the initial load everything is incredibly fast and flawless. Seems to happen only when it is trying to establish a new session as if I clear cache and try to get back to the CiviCRM dashboard it reproduces the issue but the issue will not reproduce as long as the session isn't reset like logging out or clearing cache. I have also noticed that if you sit and let it load that the dashlets then will not load and just shows the spinning loading image and never actually loads but I am guessing these two issues are related.
I have also followed the recommendations found here: civicrm dashboard won't load and have not been able to fix it.
Also I have tried many things like clearing the cache, deleting CiviCRM and re-installing then importing the database and then using the CiviCRM database update utility and seems like nothing is solving the issue.
Snooping around in the Apache, PHP, MySQL, & CiviCRM log files I found only one error being reported that I know is related to the dashboard hanging at public_html/wp-content/plugins/files/civicrm/ConfigAndLog/ here is the pastebin: http://pastebin.com/TRTg0sHx
I feel as if I have tried everything and am out of ideas, any help as what to do to get this resolved would be greatly appreciated.
EDIT: Ignore "UPDATE (7/12/2016)", found out that this was a separate issue, sorry for the confusion.
UPDATE (7/12/2016):
Decided to try a fresh cPanel account, fresh WordPress, and fresh CiviCRM installtion and only running the bare basics to see if the problem would still exist and it does. But on the new install these errors come up:
Warning: session_start(): open(/tmp/sess_c279ba138c878520b23fb7085f54a267, O_RDWR) failed: Permission denied (13) in /home/civicrmtest/public_html/wp-content/plugins/civicrm/civicrm.php on line 282
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/civicrmtest/public_html/wp-content/plugins/civicrm/civicrm.php:282) in /home/civicrmtest/public_html/wp-content/plugins/civicrm/civicrm.php on line 282
Warning: Cannot modify header information - headers already sent by (output started at /home/civicrmtest/public_html/wp-content/plugins/civicrm/civicrm.php:282) in /home/civicrmtest/public_html/wp-includes/option.php on line 823
Warning: Cannot modify header information - headers already sent by (output started at /home/civicrmtest/public_html/wp-content/plugins/civicrm/civicrm.php:282) in /home/civicrmtest/public_html/wp-includes/option.php on line 824
The first two errors above show and then the dashboard takes forever to load and then once the dashboard loads the last two errors display. Also the dashlets do not load properly afterwards and keep the "Loading..." message with the twirling image.
/tmp
and you apparently don't have permission to write there. I would take this up with your webhost!