CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Site moved to new host, now only blank screen shows
Pages: [1]

Author Topic: Site moved to new host, now only blank screen shows  (Read 1820 times)

samw3

  • Guest
Site moved to new host, now only blank screen shows
March 26, 2009, 10:01:01 am
Hello All,

We are making some progress on our issue with 2.2/Joomla.  We have moved the codebase and database to a virtual private server, but have run into a strange error

The website works, and joomla appears to be working fine, but when you click into any part of the civicrm component, the screen goes white and there are no error messages.  I've viewed the source for the page and it's empty.  I've checked the logs and the access log shows a 200 OK response, and nothing added to the error log.

I believe we've made the necessary changes to the two civicrm settings files, changing the path and dsn info.

Any ideas on what's going wrong?

Thanks again,

Sam

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Site moved to new host, now only blank screen shows
March 26, 2009, 12:35:25 pm

a white screen means some error somewhere. So we do need to find those error messages to help us make any progress on this. Else its a random game of guessing :(

since u r on a VPS, change your php.ini setting (display_errors) to expose errors on screen. Check the php manual for details

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

samw3

  • Guest
Re: Site moved to new host, now only blank screen shows
March 26, 2009, 02:03:07 pm
Well,

display_errors = On
display_startup_errors = On
error_reporting = E_ALL

and still just a white screen.  Is there any debug code i can inject to test it?  I'm not even sure what files it is calling.
BTW, I'm a seasoned PHP developer.

Thanks,

Sam
« Last Edit: March 26, 2009, 02:04:41 pm by samw3 »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Site moved to new host, now only blank screen shows
March 26, 2009, 02:22:20 pm

ok, so some guesses in the dark then :)

1. Delete the directory: media/civicrm/templates_c and media/civicrm/upload

2. in mysql run:

mysql> truncate civicrm_menu;
mysql> truncate civicrm_cache;
mysql> update civicrm_domain set config_backend = null;
mysql> truncate jos_session;

3. verify and re-verify your administrator/components/com_civicrm/civicrm.settings.php

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

samw3

  • Guest
Re: Site moved to new host, now only blank screen shows
March 26, 2009, 04:21:26 pm
I suppose if you shoot enough times in the dark you're bound hit something :)

mysql> update civicrm_domain set config_backend = null;

That fixed it.

Thanks so much,

Sam

Martin

  • Guest
Re: Site moved to new host, now only blank screen shows
April 13, 2009, 04:42:08 am
Quote from: samw3 on March 26, 2009, 04:21:26 pm
I suppose if you shoot enough times in the dark you're bound hit something :)

mysql> update civicrm_domain set config_backend = null;

Hey Lobo... what a star!  and Sam - you couldn't have picked a much better time to move your setup to another server (of course that's how I see it :-)).  This post really saved me a load of hassle - and it was right there on the front page!

I had a very similar problem... [the template wasn't rendering the page properly under CiviCRM - what a great piece of software!] and exactly the same thing fixed it... although I guess without the first steps maybe it wouldn't have worked?

Nice!
« Last Edit: April 13, 2009, 05:04:25 am by Martin »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Site moved to new host, now only blank screen shows

This forum was archived on 2017-11-26.