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) »
  • blank screen error going from 2.0 to 2.1
Pages: [1] 2

Author Topic: blank screen error going from 2.0 to 2.1  (Read 3494 times)

webguy2

  • Guest
blank screen error going from 2.0 to 2.1
April 06, 2009, 05:22:34 pm
I am trying to upgrade from drupal 5 civicrm 2.0 to drupal 6 and civicrm 2.2.  I read you have to go to 2.1 first but I follow the instructions explicitly and get a blank screen when I try

/sites/all/modules/civicrm/install/upgrade.php?reset=1

I read the sticky forum entry:
http://forum.civicrm.org/index.php/topic,3854.0.html

and it said you had to go from 2.0 to 2.02 first.

Does anyone know the correct path to upgrade from 2.0 to the latest version?

Many thanks.

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 01:30:35 am
Hey,

Quote from: webguy2 on April 06, 2009, 05:22:34 pm
I am trying to upgrade from drupal 5 civicrm 2.0 to drupal 6 and civicrm 2.2.  I read you have to go to 2.1 first but I follow the instructions explicitly and get a blank screen when I try

/sites/all/modules/civicrm/install/upgrade.php?reset=1

Please check CiviCRM.log for potential hints. It's located by default in: /files/civicrm/upload/

Quote from: webguy2 on April 06, 2009, 05:22:34 pm
I read the sticky forum entry:
http://forum.civicrm.org/index.php/topic,3854.0.html

and it said you had to go from 2.0 to 2.02 first.

You should not have to upgrade from 2.0 to 2.0.2 - above information relates only to minor upgrade procedure for 2.0.0 or 2.0.1 -> 2.0.2+).

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

webguy2

  • Guest
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 06:34:55 am
I have this  all over my previous version (2.0) log file:

Nov 28 19:23:01  [info] $Fatal Error Details = Array
(
    [message] => The page you requested is currently unavailable.
   
Code: [Select]
=>
)


Nov 28 19:23:01  [info] $backTrace = /home/username/public_html/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 265
/home/username/public_html/sites/all/modules/civicrm/CRM/Event/Page/EventInfo.php, fatal, 82
/home/username/public_html/sites/all/modules/civicrm/CRM/Event/Invoke.php, run, 107
/home/username/public_html/sites/all/modules/civicrm/CRM/Core/Component.php, main, 130
/home/username/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php, invoke, 158
/home/username/public_html/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 329
, civicrm_invoke,
/home/username/public_html/includes/menu.inc, call_user_func_array, 418
/home/username/public_html/index.php, menu_execute_active_handler, 15

or

Apr 03 12:01:54  [info] $Fatal Error Details = Array
(
    [message] => Could not find valid value for id
    [code] =>
)

Apr 03 12:01:54  [info] $backTrace = /home/username/public_html/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 265
/home/username/public_html/sites/all/modules/civicrm/CRM/Event/Page/EventInfo.php, fatal, 82
/home/username/public_html/sites/all/modules/civicrm/CRM/Event/Invoke.php, run, 107
/home/username/public_html/sites/all/modules/civicrm/CRM/Core/Component.php, main, 130
/home/username/public_html/sites/all/modules/civicrm/CRM/Core/Invoke.php, invoke, 158
/home/username/public_html/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 329
, civicrm_invoke,
/home/username/public_html/includes/menu.inc, call_user_func_array, 418
/home/username/public_html/index.php, menu_execute_active_handler, 15
[/code]

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 06:39:47 am
Do those tracebacks have something in common with the upgrade problem? They have quite scattered time stamps...

Thx,
m
« Last Edit: April 07, 2009, 06:41:18 am by Michał Mach »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

webguy2

  • Guest
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 06:52:29 am
No, they are from the CiviCRM.log so I wondered if they are issues that should have been fixed before upgrading and that's the upgrade issue?

I saw something about going from 2.0.x to 2.0.7 reguires a site key number so I added that to the civicrm.settings.php file

The screen still goes blank with no error codes to help.
« Last Edit: April 07, 2009, 06:54:21 am by webguy2 »

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 07:17:18 am
Ok, to avoid confusion:

1. Is the version that giving you blank screen an effect of upgrade to 2.0.7 or 2.1?

2. CiviCRM.log should contain information on error that's causing your blank screen problem - you just need to take a look at the end of it and locate entries with current date.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

webguy2

  • Guest
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 07:33:15 am
I am going from 2.0 to 2.1 on my way to hopefully 2.2.2, but this venture/issue is just related to going from 2.0 to 2.1.

The latest entry in the log is Apr 03 12:01:54, instead of last night for three hours and this morning's attempt.

One thing I did differently is I am using a test subdomain where I installed the exact copy of Drupal 5 and Civi just as they were in a regular domain.  I made the changes to the settings and civi.settings files appropriately.

Really, the only thing I need to keep is the price sets, custom fields, events and profiles.  Can I start from scratch at 2.2.2 and import those somehow?

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 11:14:09 am
You might get some useful information by downloading the DB Tools and running the integrity tool against your original (2.0) database.  It can't hurt.

-- Walt
http://dharmatech.org
oss@dharmatech.org
801.541.8671

webguy2

  • Guest
Re: blank screen error going from 2.0 to 2.1
April 07, 2009, 12:40:40 pm
Thanks.  I didn't know about those tools.  I ran them both, repaired all errors.  It still shows blank screen "of death".

http://test.mysite.com/sites/all/modules/civicrm/install/upgrade.php?reset=1

is the link I am running to upgrade it.

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: blank screen error going from 2.0 to 2.1
April 08, 2009, 09:32:03 am
Quote from: webguy2 on April 07, 2009, 07:33:15 am
I am going from 2.0 to 2.1 on my way to hopefully 2.2.2, but this venture/issue is just related to going from 2.0 to 2.1.

So I'm assuming you're have 2.1 codebase and 2.0 database at this stage, since the upgrade functionality didn't work. Can you check civicrm-version.txt in CiviCRM's home directory and verify that you have proper version of files?

Quote from: webguy2 on April 07, 2009, 07:33:15 am
Really, the only thing I need to keep is the price sets, custom fields, events and profiles.  Can I start from scratch at 2.2.2 and import those somehow?

Unfortunately not, these are not exportable/importable.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

webguy2

  • Guest
Re: blank screen error going from 2.0 to 2.1
April 08, 2009, 11:35:51 am
Thanks for your continued help diagnosing this.  I check and here's the contents of that file:
2.1.0 Drupal PHP5

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: blank screen error going from 2.0 to 2.1
April 08, 2009, 06:21:45 pm
Did you do your drupal upgrade ?

Were you able to complete first 8 steps before starting with upgrade - http://wiki.civicrm.org/confluence/display/CRMDOC21/Upgrade+Drupal+Sites+to+2.1 ?
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

webguy2

  • Guest
Re: blank screen error going from 2.0 to 2.1
April 09, 2009, 06:11:58 am
Yes, Drupal 6;10 is working fine and I have gone through the first 8 steps successfully.

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: blank screen error going from 2.0 to 2.1
April 09, 2009, 09:28:32 am
Could you check what your apache logs say.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

webguy2

  • Guest
Re: blank screen error going from 2.0 to 2.1
April 09, 2009, 10:27:42 am
[Tue Apr 07 12:06:54 2009] [error] [client xx.xx.xx.xx] PHP Warning:  require_once(CRM/Upgrade/TwoOne/Page/Upgrade.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/username/test/sites/all/modules/civicrm/install/upgrade.php on line 46

[Tue Apr 07 12:06:54 2009] [error] [client xx.xx.xx.xx] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'CRM/Upgrade/TwoOne/Page/Upgrade.php' (include_path='.:/home/username/public_html/sites/all/modules/civicrm/:/home/username/public_html/sites/all/modules/civicrm//packages:.:/usr/share/pear:/usr/share/php') in /home/username/test/sites/all/modules/civicrm/install/upgrade.php on line 46


I checked and both files are there with all rights:
CRM/Upgrade/TwoOne/Page/Upgrade.php
/home/username/test/sites/all/modules/civicrm/install/upgrade.php
« Last Edit: April 09, 2009, 10:31:37 am by webguy2 »

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • blank screen error going from 2.0 to 2.1

This forum was archived on 2017-11-26.