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) »
  • calendar error - help request
Pages: [1]

Author Topic: calendar error - help request  (Read 912 times)

civicrm.org@isuk.co.uk

  • Guest
calendar error - help request
September 21, 2009, 07:21:28 pm
Hi there,
I have just installed civicrm and trying to learn it. I am having problem with calendar widget. It is not working. On page load I get an error as detailed below and when I click the calendar icon next to any date field it throws another error so I have to enter dates manually. Any help will be much appreciated.
=========================
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
Timestamp: Tue, 22 Sep 2009 01:59:26 UTC


Message: Expected ';'
Line: 1
Char: 7
Code: 0
URI: http://mysite.co.uk/sites/mysite.co.uk/modules/civicrm/js/lang/calendar-lang.php?en_GB


Message: 'Calendar._TT.DEF_DATE_FORMAT' is null or not an object
Line: 32
Char: 2
Code: 0
URI: http://mysite.co.uk/sites/mysite.co.uk/modules/civicrm/js/calendar.js

Regards,

civicrm.org@isuk.co.uk

  • Guest
Re: calendar error - help request
October 02, 2009, 06:28:41 am
I have found the answer here:

http://wiki.civicrm.org/confluence/display/CRMDOC/Upgrade+Drupal+Sites+to+3.0

Calendar widget doesn't work (throws a Javascript error), and/or CiviMail scripts for open tracking, SOAP authentication, etc. don't function.
If your CiviCRM codebase is NOT located in either <drupal root>/modules/civicrm or <drupal root>/sites/all/modules (i.e. you are using a symlink from there to your codebase) - you will need to create a local file in the top-level directory of your codebase which points to the location of your drupal sites directory.

// Create a new file - settings_location.php
// Enter the following code (substitute the actual location of your
// <drupal root>/sites directory)
<?php
define( 'CIVICRM_CONFDIR', '/home/lobo/public_html/drupal/sites' );
?>

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

This forum was archived on 2017-11-26.