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) »
  • [SOLVED] Missing menus
Pages: [1]

Author Topic: [SOLVED] Missing menus  (Read 1269 times)

bmw

  • I post occasionally
  • **
  • Posts: 103
  • Karma: 4
    • Alcohol Justice - The Industry Watchdog
  • CiviCRM version: 4.5.8
  • CMS version: Joomla! 3.4.0
  • MySQL version: 5.5.42-cli
  • PHP version: 5.3.27
[SOLVED] Missing menus
August 01, 2011, 07:51:01 pm
...Again?! (w/ sarcastic emphasis)

Interestingly I got stuck with missing menus when I changed the domain name for an existing site from the base server URL virtual path to a subdomain URL.

After MANY hours of troubleshooting and reading through these forums and  instructions like 25 times, I've concluded that the instructions for moving a site do not work in every case, at least with Joomla.
http://wiki.civicrm.org/confluence/display/CRMDOC40/Moving+an+Existing+Installation+to+a+New+Server+or+Location

This instance is on Debian 6, PHP 5.3.3-7+squeeze-1, MySQL 5.1.49, Apache 2.2.16 with Joomla 1.7, CiviCRM 4.0.4 on a Chunkhost cloud VM. Was working great, really great until I was done and then made the domain name change.

The CiviCRM reset URLs to update the site URLs did work but then the one to update the menu paths did not work thus they were conflicting.

Solution:
All that is needed to do is to return the original domain name URL/path in both:
../admininistrator/components/com_civicrm/civicrm.settings.php   and
../components/com_civicrm/civicrm.settings.php

From what I can gather, this is so because the original path in the database is not being updated. I tracked down every file I could find to no avail where they could've  been not rewritten to. The original URL/path is the one that is set somewhere in the database to find the menus, css and images. So, there is something with the API call there to update the menus.

So, DON'T change the Base URL or media path or Resource URLs in CiviCRM if you are planning on changing the domain name...until this is fixed.

That's the best guess I can come up with on forensics. I am out of time tonite but will try to troubleshoot this down some more later this month. If someone can put up a bug report or add this to an existing one I would greatly appreciate it (and so will my aching neck and arms).
« Last Edit: August 03, 2011, 12:26:28 am by bmw »
Bruce Wolfe, M.S.W., CIO
Alcohol Justice, 501(c)3

bmw

  • I post occasionally
  • **
  • Posts: 103
  • Karma: 4
    • Alcohol Justice - The Industry Watchdog
  • CiviCRM version: 4.5.8
  • CMS version: Joomla! 3.4.0
  • MySQL version: 5.5.42-cli
  • PHP version: 5.3.27
Re: Missing menus
August 02, 2011, 12:13:51 am
An update, the resource URLs for the menus are now omitting two whole sublevels just behind the domain name. If the Administer menu gets to populate the page, all the page links work just fine. it's all awry.
Bruce Wolfe, M.S.W., CIO
Alcohol Justice, 501(c)3

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Missing menus
August 02, 2011, 12:40:43 am
modify the resource url in the admin, should work.

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

bmw

  • I post occasionally
  • **
  • Posts: 103
  • Karma: 4
    • Alcohol Justice - The Industry Watchdog
  • CiviCRM version: 4.5.8
  • CMS version: Joomla! 3.4.0
  • MySQL version: 5.5.42-cli
  • PHP version: 5.3.27
Re: Missing menus
August 02, 2011, 10:05:32 pm
Nope it doesn't. I need to know which file or which table in the database controls the URI for the menu system. The Resource URL is correct and working for all other links in CiviCRM 4.0.4
Bruce Wolfe, M.S.W., CIO
Alcohol Justice, 501(c)3

bmw

  • I post occasionally
  • **
  • Posts: 103
  • Karma: 4
    • Alcohol Justice - The Industry Watchdog
  • CiviCRM version: 4.5.8
  • CMS version: Joomla! 3.4.0
  • MySQL version: 5.5.42-cli
  • PHP version: 5.3.27
[SOLVED] Re: Missing menus
August 03, 2011, 12:26:02 am
Okay, now this is interesting.

At home where I was working on this, I went through the instructions and used the menu fixing URL to no avail. This was on Kubuntu 11.04 using FF 5, Chrome 13.0.782.107 beta and 15.0.841.0 (Developer Build 95030 Linux). To no avail could I get the menu URLs to the correct base url path.

I dumped the caches dozens of times, rebooted the machine, did everything I could sans rebooting my router.

I come to work and, same setup, try it again starting with Chrome, and....VOILA!!! It worked.
Crazy.

Call this closed.
Bruce Wolfe, M.S.W., CIO
Alcohol Justice, 501(c)3

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • [SOLVED] Missing menus

This forum was archived on 2017-11-26.