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) »
  • New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
Pages: [1]

Author Topic: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6  (Read 3298 times)

helpmeplease

  • Guest
New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 10, 2009, 07:18:33 pm
I recently moved my site to a new server and I upgraded my Joomla from 1.5.6 to 1.5.14 and I attempted to upgrade CiviCRM from 2.1.4 to the most current version but I receive the following error after clicking on the" CiviCRM Database Upgrade Utility" link.

Warning: mkdir() [function.mkdir]: Permission denied in /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/CRM/Utils/File.php on line 114
Error: Could not create directory: /home/bullypul.

If you have moved your database from a development install to a production install and the directory paths are different, please set the column config_backend in the civicrm_domain table to NULL. You will need to reinitialize your settings in the production install.

It seems like CiviCRM is attempting to create a directory in /home/bullypul but that is from the old server. How can I edit this? Am I missing something.

Thank you!

Apache: 2.2.11  MySQL:5.1.30  PHP:5.2.4  Perl: 5.8.8

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 10, 2009, 10:56:08 pm
Whenever you move your installation follow this documentation http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location.
And then go for upgrade.

OR do upgrade first, them move the installation and follow the document.

Quote
Warning: mkdir() [function.mkdir]: Permission denied in /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/CRM/Utils/File.php on line 114
Error: Could not create directory: /home/bullypul.
Reason for error is that your old installation had some settings which doesn't fit/apply to the new place, you moving your installation.
Following "updateConfigBackend" solution from the document should fix this.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

helpmeplease

  • Guest
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 11, 2009, 06:59:21 am
Can you please tell me where I would do the following. I have no idea?

# Create a link for the old server's root. You might need to create parent directories.

mkdir PARENT-DIRECTORIES-OF-OLD-SERVER-ROOT     # if needed
ls -s NEW-SERVER-ROOT OLD-SERVER-ROOT

# For example ...
#
# mkdir /home/USER
# ln -s /var/www/SITE /home/USER/public_html

I also tried to make this adjustment in my database but I don't know how to do it there either.

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 11, 2009, 08:17:13 am
Hi,

1. if you able to access http://domain/civicrm/admin/setting/updateConfigBackend&reset=1 Url
     then change the Base directory Path

OR

2. If you have DB access then execute the following SQL,  Note: check your domain id
   
Code: [Select]
UPDATE civicrm_domain SET config_backend = NULL WHERE civicrm_domain.id =1 ;

Hth

sunil
The community around a product more important than the product itself?

helpmeplease

  • Guest
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 11, 2009, 01:18:50 pm
Thank you for your help. It seems I'm making progress. The URL did not work I just received a blank screen. I ran the SQL and now when I go to the install window after clicking CiviCRM Database Upgrade Utility I get:

Sorry. A non-recoverable error has occurred.

DB Error: no such field

Database Error Code: Unknown column 'civicrm_uf_match.domain_id' in 'where clause', 1054

this may have something with the note you made about the domain. Should I put something different there?

Please advise?

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 11, 2009, 09:59:48 pm
Hi,
check this post

http://forum.civicrm.org/index.php/topic,9191.msg39704.html#msg39704

Hth
Sunil

« Last Edit: August 11, 2009, 10:23:18 pm by Sunil »
The community around a product more important than the product itself?

helpmeplease

  • Guest
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 12, 2009, 10:40:36 am
thank you for the post. where/how do I place this code?

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 12, 2009, 10:03:38 pm
Hi,
Open the UFMatch.php file under civicrm/CRM/Core/BAO/   Directory

Refer previous post for Patch
Here
"-" and the "+" signs mean Delete this line and Add that line respectively. (around line no.182)


However, V 3.0.alpha2 has been released.(including this bug). Better way you can use it.

Hth

Sunil
« Last Edit: August 12, 2009, 10:07:20 pm by Sunil »
The community around a product more important than the product itself?

helpmeplease

  • Guest
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 12, 2009, 10:12:44 pm
Did this version get released today? Would you suggest installing this update instead of adding the code?

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 12, 2009, 10:29:26 pm
Quote
Did this version get released today?
Yes, You  can downlaod it from http://sourceforge.net/projects/civicrm/files/

Quote
Would you suggest installing this update instead of adding the code?
Use 3.0.alpha2 instead of adding the code.

Sunil
The community around a product more important than the product itself?

helpmeplease

  • Guest
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 16, 2009, 08:59:48 am
Hi I tried to install this version and this is the error I receive

Fatal error: Uncaught exception 'Exception' with message 'XML data could not be loaded. Make sure you specified the correct path.' in /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/packages/IDS/Filter/Storage.php:217 Stack trace: #0 /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/packages/IDS/Filter/Storage.php(108): IDS_Filter_Storage->getFilterFromXML() #1 /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/packages/IDS/Monitor.php(167): IDS_Filter_Storage->__construct(Object(IDS_Init)) #2 /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/CRM/Core/IDS.php(132): IDS_Monitor->__construct(Array, Object(IDS_Init)) #3 /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(78): CRM_Core_IDS->check(Array) #4 /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/admin.civicrm.php(45): CRM_Core_Invo in /home/cdmadmin/public_html/BULLYPULPIT.COM/administrator/components/com_civicrm/civicrm/packages/IDS/Filter/Storage.php on line 217

Please help.

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: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 16, 2009, 03:48:28 pm

please read this document

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

and follow ALL the steps. IN specific ensure you do step 10 if you are still getting the error. If things still dont work, set config_backend to null as suggested in the trouble shooting tips

thanx

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

helpmeplease

  • Guest
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 16, 2009, 08:53:55 pm
In regard to step #4 can you please advise HOW to edit information in the MySQL database. I know nothing about this. What should I do?

Review the settings file(s) - and modify the following settings as needed:

    * CIVICRM_UF_DSN
    * CIVICRM_DSN
    * civicrm_root
    * CIVICRM_TEMPLATE_COMPILEDIR
    * CIVICRM_UF_BASEURL

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: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 16, 2009, 09:06:07 pm

u should consider paying someone from http://civicrm.org/professional/ to help you with the upgrade

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

helpmeplease

  • Guest
Re: New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6
August 16, 2009, 09:10:28 pm
Could you suggest a tutorial? I don't have the budget to pay anyone.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • New Server/Upgrade from CiviCRM 2.1.4 and Joomla 1.5.6

This forum was archived on 2017-11-26.