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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla Migration Errors
Pages: 1 [2]

Author Topic: Joomla Migration Errors  (Read 5339 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Joomla Migration Errors
January 03, 2012, 12:41:40 pm
> The ~ is missing. If I add it in there it works fine, but it's not defaulting to it.

Look in administrator/components/com_civicrm/civicrm.settings.php (I think that's it) for the BASE_URL setting and see if it has the tilde (~) character.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 03, 2012, 12:46:55 pm
It's in there. Hmm....

-Max

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 03, 2012, 12:47:52 pm
Could it have something to do with the database? Maybe old files in there?

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 03, 2012, 05:18:44 pm
I've spent the last several hours working to try and figure this out and still haven't gotten any traction. :-[

Any help would be much appreciated.

Thanks so much Hershel!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Joomla Migration Errors
January 04, 2012, 02:20:37 am
You can try to run these URLs to fix it:

Rebuild menus:
civicrm/menu/rebuild?reset=1&directoryCleanup=3

Reset domain settings:
civicrm/admin/setting/updateConfigBackend&reset=1

But if this is a fresh install, I would venture to say this is a bug.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 04, 2012, 06:07:10 am
Thanks for providing those Hershel. Unfortunately they didn't work.

I've isolated the issue (hopefully). When I did the menu rebuild and went to this url: civicrm/admin&reset=1

Everything there works just fine and all the links on that page work, it's just the dashboard menus that for whatever reason are redirecting to my old site.

I've attached the screenshot that shows this in firebug.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Joomla Migration Errors
January 04, 2012, 10:11:56 am
If you reset the domain settings and the URLs are correct, I don't see why those menus should be wrong. But I think there is a small gremlin in your files somewhere....
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 04, 2012, 10:27:43 am
Yeah, that's why I was wondering if there was something in the database that maybe didn't get dropped or something along those lines, because it is pointing to the directory that the test site was on.

But, if the base url is good and everything else works on the front and back end, I just don't know why the menus wouldn't, especially because I did a fresh instal.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Joomla Migration Errors
January 04, 2012, 10:29:19 am
I thought you erased your settings files and used a fresh, empty DB for a new install for testing....
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 04, 2012, 10:34:48 am
It's pointed to the old database now. I thought I was supposed to point it back there.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Joomla Migration Errors
January 04, 2012, 10:35:37 am
oh. well does it work 100% on the NEW db?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 04, 2012, 10:41:30 am
I actually never tried it it in the new database. I skipped that after the install.

After doing a quick search in my database, I was able to find that incorrect path in the civicrm_preferences table under the navigaion.

It looks like this: <!-- en_US --><li class="menumain crm-link-home"><a href="/nhpha/administrator/?option=com_civicrm&amp;task=civicrm/dashboard&amp;reset=1" title="Home">Home</a></li></li><li class="menumain

Notice the ~ missing. I'm going to try a quick find and replace to see if that works.

bit_man

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 0
  • CiviCRM version: 4.0.6
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.56
  • PHP version: 5.2.17
Re: Joomla Migration Errors
January 04, 2012, 10:46:19 am
The find and replace fixed it. Thanks for all the help Hershel, I really appreciate it.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Joomla Migration Errors
January 04, 2012, 10:47:57 am
> The find and replace fixed it.

Fantastic!

> Thanks for all the help Hershel, I really appreciate it.

My pleasure. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Joomla Migration Errors

This forum was archived on 2017-11-26.