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) »
  • Update 1.9 to 1.9 svn
Pages: [1]

Author Topic: Update 1.9 to 1.9 svn  (Read 1883 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Update 1.9 to 1.9 svn
November 26, 2007, 02:49:20 am
Hello,

I'm starting to develop on civiCRM and if some stuff I modified are useful for everyone, I'd make it easier to contribute back.

Therefore, I've tried to use svn.

I had (on drupal) a working CiviCRM 1.9.11960.

I svn checkouted the civicrm (the 1.9 branch)

$ svn info
Path: .
URL: http://svn.civicrm.org/civicrm/branches/v1.9
Repository Root: http://svn.civicrm.org/civicrm
Repository UUID: cff41f8d-9fe8-0310-9d4e-fb156a3ffe5e
Revision: 12397
Node Kind: directory
Schedule: normal
Last Changed Author: shot
Last Changed Rev: 12386
Last Changed Date: 2007-11-26 06:32:52 +0100 (Mon, 26 Nov 2007)


I'm trying to run it as standalone, I've copied the setting files, but when I access /standalone/ I get :

Sorry. A non-recoverable error has occurred.
Database Error Code: Table 'civicrm.civicrm_case_activity' doesn't exist, 1146
Return to home page.



They aren't any definition for that table under sql, don't know what's the process to update the db while following the latest  code on svn.

Any suggestion more than welcome.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: Update 1.9 to 1.9 svn
November 26, 2007, 08:37:47 am

note that standalone is not supported in v1.9. we are working on getting it incorporated in 2.0

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

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Update 1.9 to 1.9 svn
November 27, 2007, 02:17:25 am
As Lobo suggests, it’d be easier for you to develop inside of Drupal at the moment.

Do keep in mind that (among other things) you need to build the DAO files after checking out the svn source; create yourself a proper bin/setup.sh for starters.
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.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Update 1.9 to 1.9 svn
November 28, 2007, 01:27:49 am
@ Lobo, ok I'll go drupal then.

@ Piotr, I read the doc about how it generates DAO (and I think I managed to do it properly).

However, what it the right way to generate update mysql statements ? I have a mysql database (from my 1.9 install from the download), but the newer stuff in the svn (case ?) seems to have altered the db stucture.

Are the mysql update statements (that create new tables, add columns...) somewhere and I didn't see it ? Do I need to run something to generate it ?

Tia,

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Update 1.9 to 1.9 svn
November 28, 2007, 04:10:29 am
The bin/setup.sh file should rebuild your database with the sql/civicrm_41.mysql and sql/civicrm_generated.mysql files (the first being generated by xml/GenCode.php while the second is rebuilt by us whenever the schema changes).
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Update 1.9 to 1.9 svn

This forum was archived on 2017-11-26.