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) »
  • Menus direct to wrong urls
Pages: [1]

Author Topic: Menus direct to wrong urls  (Read 3382 times)

AJA

  • Guest
Menus direct to wrong urls
September 16, 2008, 05:11:29 pm
I'm having some trouble with an upgraded installation. I have upgraded to 2.1 as per the docs on the subject. I had to move the installation, afterwards, and have updated my civicrm.settings.php and NULLed the _domain table.

The links on the side block all point to the old site still, and I don't know what to do about it.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Menus direct to wrong urls
September 16, 2008, 10:26:28 pm
Upgrade should have rebuild your menus.

Can you try this url: http://your site details/civicrm/menu/rebuild?reset=1, it will rebuild your menus.

HTH

Kurund
Found this reply helpful? Support CiviCRM

AJA

  • Guest
Re: Menus direct to wrong urls
September 17, 2008, 02:04:01 pm
Thank you so very much, this worked magically.

Just as a point of interest, is there any sort of list of these magic urls that fix things? I've been putting together my own list, but I wonder if there is a grand unified list of functions.

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: Menus direct to wrong urls
September 17, 2008, 02:12:10 pm

wanna show us your list? that might trigger up a few memories and help us reveal a few more magical urls :)

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

AJA

  • Guest
Re: Menus direct to wrong urls
September 17, 2008, 03:03:46 pm
Well, my list is pretty meager at the moment, I just have the two that I used recently, (including the one posted above,) but the main ones that I have used are for linking profiles, and the like. Even though these are listed under the relevant web page it would be nice to have a list (like this, but longer, I hope that others find this and add to it, it would be great,) because I always end up thinking "Oh yeah! I saw that... somewhere on this page... or maybe it was *that* page... "


~~~~~~~~~~ Admin Functions ~~~~~~~~~~~~~~~~~~~~~~~~~~

// Reset user session and cleanup template cache
http://...../civicrm/admin?sessionReset=2&directoryCleanup=1

// Rebuilding menus after changing folders and editing civicrm.settings.php
http://...../civicrm/menu/rebuild?reset=1

~~~~~~~~~~ Constituent Functions ~~~~~~~~~~~~~~~~~~~~~~~~~~

// View event participants:
http://...../civicrm/event/participant?id=N&reset=1

// Access CiviMail subscribe/unsubscribe pages:
http://...../civicrm/mailing/subscribe?reset=1

// Accessing custom profiles
http://...../civicrm/profile?reset=1&gid=<profile id>

// Profile listings with no search form
http://..../civicrm/profile?gid=<profile id>&reset=1&force=1&search=0

Similar search listings can be done by adding parameters.

AJA

  • Guest
Re: Menus direct to wrong urls
September 17, 2008, 03:50:55 pm
Another, (perhaps related) problem that I have noticed is that, after moving my installation, the javascript dropdown isn't working in the "quick search" block. (This may be another topic, and feel free to move it if it should be moved.)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Menus direct to wrong urls
September 17, 2008, 10:01:21 pm
Can you check if you have correct "Resource Urls.
Hope you have followed this steps: http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

Kurund
Found this reply helpful? Support CiviCRM

AJA

  • Guest
Re: Menus direct to wrong urls
September 18, 2008, 02:10:15 pm
Whoops. It was the resource urls, a slash was missing, missed it the first time.

Thanks for your help, I'm glad that these things were so simple.

RTPUK

  • Guest
Re: Menus direct to wrong urls
September 24, 2008, 01:40:07 am
Hi all,

I'm having similar problems as the ones mentioned above i.e. the CiviCRM Menu's point to my old directory structure and some of the formating on the site doesn't seem to work i.e. the forms stretch over the visible page, the current employer drop-down doesn't work when creating a new individual.  Weird thing is that all the CiviCRM Shortcuts Menu point to the right directory.  All of this means that I can't access the CiviCRM admin pages either and make changes through the interface.

I recently upgraded from drupal 5.4 to 6.4 and civicrm from 2.0 to 2.1b5.  I decided to change the installation directory by removing one folder level and now can't seem to change the menus on the site.  I've tried the following:

http://...../civicrm/menu/rebuild?reset=1
Null _domain table

Any help would be greatly appreciated.

Thanks.
« Last Edit: September 24, 2008, 01:43:35 am by RTPUK »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Menus direct to wrong urls
September 24, 2008, 02:34:16 am
RTPUK:

1. Check if your "CIVICRM_UF_BASEURL"  is correct in civicrm.settings.php
2. Check if your resource urls are correct.

HTH

Kurund

Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Menus direct to wrong urls

This forum was archived on 2017-11-26.