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) »
  • wrong Civi Tab links
Pages: [1]

Author Topic: wrong Civi Tab links  (Read 713 times)

emmy

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.0
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5
wrong Civi Tab links
December 18, 2014, 08:25:06 am
Hi Guys,

I have been working on civicrm 4.2.0 alongside Drupal 7. Now in the test environment everything work really well. However since I went live with the site, i have been having trouble with the CiviCRM part.

When I click on the CIVICRM tabs, the options that are provided send me to a "page not found page". After examining the page in more detail I realised that the links are including a folder that should not be included.

For instance if I wanted to view groups, I get this link "/testsite/civicrm/group?reset=1" which leads to the page not found page. When I remove /testsite, I can then view my groups.

How can I get this issue sorted.

Any help is highly appreciated

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: wrong Civi Tab links
December 18, 2014, 08:31:32 am
Quote
I have been working on civicrm 4.2.0 alongside Drupal 7.
4.2? Is that a typo? The latest version is 4.5. If this is a new site you are setting up I strongly recommend starting off with the latest version. You'll have a lot of trouble getting support for older releases.
Try asking your question on the new CiviCRM help site.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: wrong Civi Tab links
December 18, 2014, 08:43:49 am
I agree with Coleman - but to discuss the issue you're having, it sounds like your directories and/or URLs aren't updated for the new site (something that's much easier in current versions, BTW!).

I don't have a copy of 4.2 in front of me, so these menu locations might be off, but check out Administer menu > System Settings > Directories, Administer menu > System Settings > Resource URLs, and Administer menu > System Settings > Cleanup Caches and Update Paths.  Once you're sure that all three are correct, press the "Clean Up Caches" button if you're still having trouble.

If you feel comfortable doing so, it's often easiest to set these values in civicrm.settings.php, which should be unique for each site.  That way you can copy the database between a dev site and a production site quite easily.  Instructions for that are here: http://wiki.civicrm.org/confluence/display/CRMDOC/Override+CiviCRM+Settings
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

emmy

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.0
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: wrong Civi Tab links
December 19, 2014, 08:03:45 am
Hi,

JonGold,

I have tried your suggestions however I get this error:

 User warning: Smarty error: problem writing temporary file '/usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/default/files/civicrm/templates_c/en_US//%%4E/4EE/wrt549449b0a94b9' in Smarty->trigger_error() (line 1093 of /usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
    Warning: include(/usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/default/files/civicrm/templates_c/en_US//%%4E/4EE/4EEC0F60%%Job.tpl.php): failed to open stream: No such file or directory in Smarty::_smarty_include() (line 1906 of /usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).
    Warning: include(): Failed opening '/usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/default/files/civicrm/templates_c/en_US//%%4E/4EE/4EEC0F60%%Job.tpl.php' for inclusion (include_path='.:/usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/all/modules/civicrm:/usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/all/modules/civicrm/packages:.:/usr/share/pear:/usr/share/php') in Smarty::_smarty_include() (line 1906 of /usr/local/pem/vhosts/133996/webspace/httpdocs/BIGSITE/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php).

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: wrong Civi Tab links
December 19, 2014, 08:40:39 am
Hi Emmy,

That sounds like a permissions issue.  You should make sure that the user under which the web browser runs has permission to write to the templates_c folder.  You may also want to manually delete the entire contents of the templates_c folder (CiviCRM will regenerate this).
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

emmy

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 0
  • CiviCRM version: 4.2.0
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: wrong Civi Tab links
January 13, 2015, 06:16:53 am
Hi JonGold,

So sorry for the late late reply, but thank you so much for your advice. Your suggestion worked.

Again thanks

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

This forum was archived on 2017-11-26.