0

civicrm 4.6.8/joomla 3.4.1/php 5.6.11

moved civi to new server

everything seems ok EXCEPT the civi home page which hangs trying to display the dashboard

here's the log dump from the error

http://pastebin.com/JY0xM3A6

so civi is losing connection to mysql ???

if i enter civi via another url
(eg http://..../administrator/?option=com_civicrm&task=civicrm/event/manage&reset=1)

all is well. and i can navigate to every other civi screen and function without a problem. in place editing works fine.

but obviously hanging on the home page is a real problem for users.

my php environments are very similar (new host is slightly newer version).

http://yea.org/tmp/ChangeDetection%20-%20Comparison%20of_%20phpinfo().html

yellow stuff is new host

tried trunc'ing dashboard_contacts

php error_reporting is the same as on the old site

any ideas to try?

6
  • First things first, please see this related question: civicrm.stackexchange.com/questions/3426/… Commented Sep 1, 2015 at 0:11
  • looked through all that. my settings file and base url match. and ajax is working on the inline edits throughout civi so i dont think there's any problem with the site communicating with itself. no proxy installed. Commented Sep 1, 2015 at 12:35
  • There's also dashlet refresh can crash server and user without contact record. As well as your CiviCRM log, check your MySQL error log and PHP/webserver error logs for indications of why the MySQL connection dropped. Also some some general advice on debugging WSoD/PHP errors. (There are three links to read in this comment.) Commented Sep 1, 2015 at 18:12
  • Also Moving an Existing Installation to a new server or location, which is an insanely long piece of documentation with many tricks and traps. This is probably the first step - only just realised you mention relocating at the start of your question. Commented Sep 1, 2015 at 18:16
  • i complied with all those recommendations. and i'll point again that the rest of civi seems to rolling right along -- just that dashboard that crashes and burns. to me that seems like a pretty big clue to localizing the error but hey im just a user now -- not writing civi code (at least not yet) :-) Commented Sep 1, 2015 at 18:42

1 Answer 1

1

In my experience, this kind of thing is usually caused by something (a hosting setting?) trying to use a www.- site URL and CiviCRM using a non-www. site URL in the civicrm.settings.php files, or the othe way around.

2
  • my .htaccess rewrites any attempts to go to www.sitename.org to sitename.org. and civi is configured consistently to use sitename.org. this should not really be an issue. Commented Sep 1, 2015 at 12:33
  • Did you solve this issue?
    – Jern
    Commented Sep 8, 2015 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.