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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Upgrade from 2.0 to 2.1 on Joomla 1.5
Pages: [1] 2

Author Topic: Upgrade from 2.0 to 2.1 on Joomla 1.5  (Read 18171 times)

bsebire

  • Guest
Upgrade from 2.0 to 2.1 on Joomla 1.5
August 09, 2008, 06:34:31 pm
I have just attempted the upgrade from 2.0 to 2.1 on Joomla 1.5.5. The install went OK but when I run the db upgrade I get the following error:-

Warning: Smarty error: unable to read resource: "CRM/error.tpl" in /hermes/web01/b1213/pow.bsebire/htdocs/joomla15/administrator/components/com_civicrm/civicrm/packages/Smarty/Smarty.class.php on line 1092

Have changed permissions on all Smarty directories and file to 777 without success

Cheers

Brett

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 09, 2008, 10:44:11 pm
Make sure the file administrator/components/com_civicrm/civicrm/templates/CRM/error.tpl exists and the permission on this file (or its parent directories) is not too strict. 
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

HanV

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 0
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 11, 2008, 02:13:18 am
I get the 'same' error. Updating on  Drupal 6.3 (Win XP) with not-working CiviCRM2.0 (because 2.0 is not working with Drupal 6).

Warning: Smarty error: unable to read resource: "CRM/error.tpl" in C:\wamp\www\drupal\sites\all\modules\civicrm\packages\Smarty\Smarty.class.php on line 1092

There is no file : CRM/error.tpl
HanV

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 11, 2008, 04:38:49 am
We have tested the upgrades for both drupal (5.x -> 6.3) and joomla (1.0.x -> 1.5.5) without any errors/problems.

If the file - administrator/components/com_civicrm/civicrm/templates/CRM/error.tpl is not present, you will need do a re-install since the file didn't get uploaded (and there could be more such files).

Also make sure tarball is not corrupted and has that file. If not download a new one.
« Last Edit: August 11, 2008, 04:45:20 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

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: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 11, 2008, 11:50:26 am

actually we've moved files around and CRM/error.tpl is no longer part of the codebase.

You might want to delete the media/civicrm/templates_c directory in joomla and try again. Note that the 2.0 -> 2.1 upgrade on joomla 1.5.x is a combination that we have not tried. So u'll need to help us debug and document this better :)
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

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 13, 2008, 02:09:02 am
Quote
Warning: Smarty error: unable to read resource: "CRM/error.tpl"

We were able to replicate this problem and has been fixed - http://fisheye.civicrm.org/browse/CiviCRM/trunk/CRM/Upgrade/TwoOne/Form/Step4.php?r1=16504&r2=16617.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

bsebire

  • Guest
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 13, 2008, 03:36:37 am
Do I just download the latest file and re-install ? The file on source forge is about 8 days old ?
Brett

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 13, 2008, 03:24:21 pm
Remove any existing com_civicrm directory trees (under components and administrator/components), download the Alpha 2 zip file (dated Aug 13) and reinstall... (and big thanks for participating in the 2.1 testing !!)

http://downloads.sourceforge.net/civicrm/civicrm-2.1.alpha2-joomla.zip?modtime=1218614240&big_mirror=0
Protect your investment in CiviCRM by  becoming a Member!

bsebire

  • Guest
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 18, 2008, 04:37:26 pm
Hi guys, have just loaded the Alpha 3 release and the Smarty error is back. Any clues ??
Cheers
Brett

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 19, 2008, 01:19:23 am
I guess the error poped-up prior/during the upgrade process i.e not after completing the upgrade process ?

For now a quick fix for you would be -  create a file civicrm/templates/CRM/error.tpl which is a copy of civicrm/templates/CRM/common/fatal.tpl
( assuming you encountered this error - Warning: Smarty error: unable to read resource: "CRM/error.tpl" )

« Last Edit: August 19, 2008, 07:08:45 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

bsebire

  • Guest
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 19, 2008, 03:17:42 pm
Deepak, thanks for the info. Works fine except for the fact that my host doesnt allow InnoDb at this stage, so I am unable to complete the db upgrade. I will attempt to re-educate them !

Is there any way around the InnoDb situation ?

Regards

Brett

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: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 19, 2008, 03:21:29 pm
Quote from: bsebire on August 19, 2008, 03:17:42 pm
Is there any way around the InnoDb situation ?

no. InnoDB is essential to run a CRM and ensure DB integrity

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

bsebire

  • Guest
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 19, 2008, 03:24:02 pm
I appreciate the reason why. Looks like its 'new host' time.
Brett

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 20, 2008, 02:47:03 am
Deepak, will the same fix work for Drupal as well?

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: Upgrade from 2.0 to 2.1 on Joomla 1.5
August 20, 2008, 02:47:29 am
(It didn't seem to)

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Upgrade from 2.0 to 2.1 on Joomla 1.5

This forum was archived on 2017-11-26.