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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • migration of Joomla/CiviCRM problems
Pages: [1]

Author Topic: migration of Joomla/CiviCRM problems  (Read 7379 times)

fezzicnex

  • Guest
migration of Joomla/CiviCRM problems
October 02, 2008, 05:58:51 am
i migrated a working copy of Joomla and CiviCRM using Uniform Server on my local machine to my shared hosting GoDaddy account. i followed the documentation instructions for migratition and used the url "http://yourjoomlaroot/admin/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1" to login for the first time and to my surprise it worked.

after i navigated to the administer civicrm link i noticed it said i need to convert my database from MyISAM to InnoDB. after i did that (myphpadmin says it will handle innodb) and i login to joomla the civicrm doesnt look the same. it looks like the stylesheet is missing because all the text is garbled and there appears to be no tables also more imporantly all the links don't work, they seem to point to my pre-migration "localhost" root instead of my migrated root "pisigmachi.com".

Any help would be greatly appreciated.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: migration of Joomla/CiviCRM problems
October 02, 2008, 06:54:44 am
Sounds like a resource url issue...see this post: http://forum.civicrm.org/index.php/topic,4916.msg21441.html

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: migration of Joomla/CiviCRM problems
October 02, 2008, 08:49:56 am
Also rebuild your urls - http://yourjoomlaroot/admin/index.php?q=civicrm/menu/rebuild&reset=1
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

fezzicnex

  • Guest
Re: migration of Joomla/CiviCRM problems
October 02, 2008, 08:10:49 pm
Thanks for your replies, i checked out that forum and i did rebuild my urls using Deepak's address.

when i "force" my browser to finally navigate to the global settings part of the administer civicrm tab i try to click on resource urls but this is the error i get.
Code: [Select]
Warning: require_once(CRM/Core/Config.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/p/i/s/pisigmachi/html/components/com_civicrm/civicrm.php on line 19

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:W:\www\Joomla\administrator\components\com_civicrm\civicrm:W:\www\Joomla\administrator\components\com_civicrm\civicrm/packages:.:/usr/local/php5/lib/php') in /home/content/p/i/s/pisigmachi/html/components/com_civicrm/civicrm.php on line 19

the reason i say i "forced" my browser is because when i click on adminster civicrm it takes me to a page with the garbled, frameless text i mentioned in my original post. i then click on global settings and the page cannot load because it is being directed to: http://localhost/Joomla/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting&reset=1 so i changed the "localhost" to the correct path of "pisigmachi.com"

looking forward to any more suggestions or answers.

fyi, after taking a closer look at my backup-ed  database sql file i noticed hundreds of localhost references. could this be the root of the problem? should i try messing around with the sql file?
« Last Edit: October 03, 2008, 04:48:49 am by fezzicnex »

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: migration of Joomla/CiviCRM problems
October 03, 2008, 07:25:59 am
did you check your civicrm.settings.php file and make sure it's all pointing to your current host?

what about your non-civicrm links (your regular joomla links)? are they all working properly?

fezzicnex

  • Guest
Re: migration of Joomla/CiviCRM problems
October 03, 2008, 05:01:56 pm
yeah, my civicrm.settings.php and civicrm.config.php is pointing to the right host.

and yes all my other "non-civicrm" links are working fine. is this common? is there anything else i can do?

is there anyway i can edit the resource urls say through a php file and not through the administer area. also did you determine if the references to "localhost" in my database was part of the problem?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: migration of Joomla/CiviCRM problems
October 03, 2008, 07:46:40 pm
ok, do you have a backup of your civicrm before you moved that you can start over with? it's all the same version right? did you just drop that db into your new host, or did you dump the data and populate a new db on the new host? I say this because I don't know how your db got to be MyISAM.

the error you're getting suggests a path error of some kind (i know, sounds like a broken record). are you sure you followed the instructions at this page properly? http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

again, double or triple-check your settings file, clear your templates_c folder, rebuild your urls...

do you get the same error if you just go to civicrm dashboard? what about civicrm administration page?

but i wouldn't advise directly messing with your database or sql file as that could just make things worse. transferring hosts should be a fairly simple task assuming you follow the above procedure

fezzicnex

  • Guest
Re: migration of Joomla/CiviCRM problems
October 04, 2008, 11:25:13 am
Yes i have a backup before i installed civicrm. I cannot install civicrm directly on my godaddy shared hosting accnt. since i already have existing content on my site i backed up from godaddy and then installed it on my local uniform server (joomlapc). I had to enable InnoDB on my localhost since it was not already that way, then i installed civicrm successfully and backed it up.

Then i went into myphpadmin and dumped the database into a .sql file (because sometimes joomlapack backups fail when it is trying to restore the database). I then deleted my entire site and database on godaddy to eliminate any conflicts with restoring the new version.

After i restored it (and as i predicted joomlapack had a problem restoring the database) i logged into godaddy's myphpadmin and uploaded the .sql file i exported from my localhost previously. after that i downloaded the civicrm.settings.php and civicrm.config.php files and edited them (i would post them here but it would just expose my site's directory and database info and i don't want to do that).

Then i rebuilt my url's with the http://pisigmachi.com/administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1 and it appeared to worked so i immediately used joomlapack to do a third backup. Once i finished i thought i would explore civicrm which is when i noticed that it didn't look right anymore and none of the links were working.


i don't understand the difference regarding your comment:
Quote
do you get the same error if you just go to civicrm dashboard? what about civicrm administration page?
Whats the difference? I thought the only way to access civicrm was through the admin page. I have been transferring this site back and forth for 4 days and i keep getting the same errors. either i'm doing the same thing wrong everytime, or civicrm has some problem with migration, or godaddy doesn't like civicrm.

I would grant you access to my ftp and database for a limited time if you wish to explore yourself. i feel like ive done everything correctly.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: migration of Joomla/CiviCRM problems
October 07, 2008, 11:39:43 am
OK, actually, I'm even more confused. You said:

Quote
I cannot install civicrm directly on my godaddy shared hosting accnt.

Why not? It seems to me if you install on your GoDaddy account then we will avoid all of the problems you're having, so I want to make sure I understand why you can't!

fezzicnex

  • Guest
Re: migration of Joomla/CiviCRM problems
October 07, 2008, 06:44:19 pm
ok, sorry for the confusion. everytime i try to install on godaddy it times out.
i have even added a php5.ini and adjusted my .htaccess file so that the max execution time, etc are sufficient for civicrm installation but it still times out with a blank white screen.

that is why it wont install, but it does work fine on my localhost installation. I wish i can get civicrm installed on godaddy directly, but i have not heard of one successful instance of that.

if you have please let me know.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: migration of Joomla/CiviCRM problems
October 08, 2008, 06:42:01 am
Well, it looks like you already found this post but I think it's your better bet: http://forum.civicrm.org/index.php/topic,4433.0.html
i am not a joomla user, and i figured this was a resource url or civicrm configuration error. which i still say it is based on the error you're getting, but if you've cleared your templates and triple-checked all your settings files....i dunno, it sounds like it should be an easy enough fix but maybe i'm forgetting something....
it also sounds like joomla 1.5 and civicrm 2.1 and godaddy are not happy campers together. i scratch my head and wonder what the point is of staying with godaddy if it's such a headache...what about switching web hosts where you could actually install civicrm directly?

fezzicnex

  • Guest
Re: migration of Joomla/CiviCRM problems
October 09, 2008, 05:35:42 am
Which web host would you recommend?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: migration of Joomla/CiviCRM problems
October 09, 2008, 08:16:46 am
Probably the best place to start for that is here:

http://wiki.civicrm.org/confluence/display/CRM/Hosting+provider+information

Also, I just found this post on the joomla forum which seems to be related to your issue, wondering if you've seen it: http://forum.joomla.org/viewtopic.php?f=294&t=76274&st=0&sk=t&sd=a&start=0

fezzicnex

  • Guest
Re: migration of Joomla/CiviCRM problems
October 11, 2008, 12:24:42 pm
excellent news I switched over to bluehost and the installation worked perfectly. Praise bluehost!
Emilyf, thank you for trying your best to help. I guess in the end it was all because of godaddy and not me!

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: migration of Joomla/CiviCRM problems
October 15, 2008, 09:06:02 am
awesome; glad to hear you got it sorted out! i'm going to link to this forum post on the CiviCRM hosting wiki page I mentioned above so that hopefully other folks won't have this headache.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • migration of Joomla/CiviCRM problems

This forum was archived on 2017-11-26.