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) »
  • Error upgrading from 1.6 to 1.7
Pages: [1]

Author Topic: Error upgrading from 1.6 to 1.7  (Read 3892 times)

jyotirmaya

  • Guest
Error upgrading from 1.6 to 1.7
April 25, 2007, 08:18:55 am
I am using drupal 4.7 and civicrm 1.6 and trying to upgrade to 1.7.
I did the upgrade fine and all seemed to be working, however, drupal was still saying in its modules that the civicrm install was version 1.6.
I ran update.php in drupal,and now get the following error when I access my user account in drupal
Quote
warning: Missing argument 3 for crm_profile_page_dynamic() in /usr/local/psa/home/vhosts/amurt.org.uk/httpdocs/modules/civicrm/CRM/Profile/Page/Dynamic.php on line 90.

Any ideas what may be causing this??

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Error upgrading from 1.6 to 1.7
April 25, 2007, 08:40:05 am
Did you create a new filebase, or overwrote the 1.6 files with the 1.7 ones?

Can you get to Administer CiviCRM → Global Settings → Debugging and enable debugging and backtrace, so we can see what causes this error in the first place?

(CRM_Profile_Page_Dynamic’s constructor did change from two parameters to three required parameters between 1.6 and 1.7, so we have to find the code which still calls it with two parameters only and whether it’s in 1.7.)
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Error upgrading from 1.6 to 1.7
April 25, 2007, 08:42:46 am
FWIW, I just did a quick grep and it seems the two places that call the constructor in our code were both upgraded properly between 1.6 and 1.7.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

jyotirmaya

  • Guest
Re: Error upgrading from 1.6 to 1.7
April 25, 2007, 09:06:45 am
I created a new filebase - renamed the old one civicrm_old.
I also created a new database for civicrm 1.7 (actually moved it out of the drupal Mysql database)

I turned on debugging and backtrace - this showed no further info.

I will try turning off dashboards to see if this helps.

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: Error upgrading from 1.6 to 1.7
April 25, 2007, 11:50:16 am

jyoti:

can u make sure that civicrm_old is not in the modules directory. Better yet move it out of the drupal directory so drupal does not pick it up and get confused etc

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

jyotirmaya

  • Guest
Re: Error upgrading from 1.6 to 1.7
April 27, 2007, 09:06:17 am
I removed it right out of HTTPDOCS - still no change

Any ideas on this?

jyotirmaya

  • Guest
Re: Error upgrading from 1.6 to 1.7
April 27, 2007, 12:11:36 pm
ok - got it sorted - the civicrm.module file was still the old 1.6 one. replaced it with the one from the civicrm>drupal directory and all works fine now

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Error upgrading from 1.6 to 1.7

This forum was archived on 2017-11-26.