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 »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Cannot enter date in new event
Pages: [1] 2

Author Topic: Cannot enter date in new event  (Read 3741 times)

Alan.Guggenheim

  • Guest
Cannot enter date in new event
April 09, 2010, 07:31:30 am
The new event does not work anymore, as we cannot enter a date. The js calendar does not pop up anymore, and we cannot type in the field.
Seems to be some problem with Java Script, but how to fix it?
Any idea?

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Cannot enter date in new event
April 09, 2010, 07:44:12 am
could be a conflict with a drupal module you've got installed. first check your civi resource urls (civi admin > global settings >resource urls). if those look ok check out what modules you've added/upgraded in drupal recently, especially modules that could have conflicting ajax/jquery.

Alan.Guggenheim

  • Guest
Re: Cannot enter date in new event
April 09, 2010, 09:13:14 am
civi resource are good.
What is very strange is that i can edit a date in an existing event, but not in a new one!
That is a major issue, as we have many meetings we need to enter, in particular since theere is no repeating meeting feature, so I need to enter several new meetings every week!
As far as modules, nothing really that I can find, but is there any easy way to quickly identify the root of the problem?
Any re-installation of JS?
The main changes we did were to activate ssl support in Drupal and CiviCRM and to add openssl which forced a recompile of apache.

An other option: Is there a way to turn off that JS feature for dates, at least temporarily?

Thanks
« Last Edit: April 09, 2010, 09:15:27 am by Alan.Guggenheim »

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Cannot enter date in new event
April 09, 2010, 09:18:23 am
in your existing events, do you get the date popup? yet on your new events you can't even get a cursor to show up in the date field? could it be css-related then? did you try in a drupal default theme that hasn't been modified? did this happen after a civi install or upgrade or just randomly? the more info you can give the better help you can get.

Alan.Guggenheim

  • Guest
Re: Cannot enter date in new event
April 09, 2010, 09:45:07 am
Yes, that is correct: date popup in existing event, but not in new one
In new events, I can clear the date (pre filled), the cursor does showup, but I cannot type and there is no popup. That happens both in IE8 and FF and on several machines. This site has been up and running for several months. Using non modified rootcandy for theme for CiviCRM.
The one thing I notice now is that the status bar at the bottom of FireFox says: Transfering data from sitename... and stays there like that.
In IE, On new event page, I get an error on page:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.4; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; MS-RTC LM 8; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Fri, 9 Apr 2010 16:41:38 UTC


Message: Object doesn't support this property or method
Line: 8942
Char: 3
Code: 0
URI: https://<site>/sites/default/files/js/js_791e190d3fb6749af303c06d60748d71.js


Message: Object doesn't support this property or method
Line: 9180
Char: 3
Code: 0
URI: https://<site>/sites/default/files/js/js_791e190d3fb6749af303c06d60748d71.js

Looks like it is related to js caching or something like that. Is there a way to delete/refres the cache?
Is there a way to tur it offfor testing?

Thanks

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Cannot enter date in new event
April 09, 2010, 10:00:49 am
In Drupal go to <yoursite>/admin/settings/performance

Under CSS and JS compression set them both to 'Disabled'. Save. In addition, click the 'clear cached data' button.

Alan.Guggenheim

  • Guest
Re: Cannot enter date in new event
April 09, 2010, 10:18:10 am
I did not think about the Drupal side... I was looking in CiviCRM.
Tried, but no luck.
At least, doing all that work, I discovered a --painful-- workaround: create a new event with its template date, save, and then go back and edit. But I need to fix this or my volunteers are going to quit...;-)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Cannot enter date in new event
April 09, 2010, 10:52:01 am
what i'm saying is you have JS compression turned on for your site as exhibited with:

"URI: https://<site>/sites/default/files/js/js_791e190d3fb6749af303c06d60748d71.js"

turn this off via the drupal performance page. then reload and see if you can find the exact file that's causing the problem (should give you a line number once you turn off compression -- use firebug). it's likely that this is what's keeping your page from finishing loading which is in turn not letting you get the date popup.


Alan.Guggenheim

  • Guest
Re: Cannot enter date in new event
April 09, 2010, 12:41:07 pm
Yes, I agree, but I had turned it of, cleared the cache, verified no more files in the js directory, and still no event date editing possible or calendar popup when in New Event mode!
I did it again, the page loads pretty fast, and there is no error, but still not working!

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Cannot enter date in new event
April 09, 2010, 01:21:13 pm
also try clearing out what's inside your templates_c folder for civicrm. this would normally be in somthing like /sites/default/files/civicrm/templates_c (don't delete the folder itself, just what's inside).

Alan.Guggenheim

  • Guest
Re: Cannot enter date in new event
April 09, 2010, 01:39:52 pm
I can try that, but we use templates a lot. What are we going to lose?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Cannot enter date in new event
April 09, 2010, 01:59:01 pm
the templates_c folder holds 'cached stuff' - perhaps 'templates cached' might be the answer
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Alan.Guggenheim

  • Guest
Re: Cannot enter date in new event
April 09, 2010, 02:12:24 pm
OK. I was afraid we would lose our event, email, and other templates which we use a lot.
Tried it, it re-created a lot of files and folders pretty quickly, but still no luck.

Brylie Christopher Oxley

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 1
  • CiviCRM version: 4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.x
Cannot enter date in new event [Solved!] (cleared template_c folder)
April 09, 2010, 07:18:30 pm
Clearing the templates_c folder worked!  :)

In our Drupal install, templates_c is located here:
Code: [Select]
/sites/default/files/civicrm/templates_c/

« Last Edit: April 09, 2010, 07:21:14 pm by brylie »
Brylie Oxley
http://brylie.gnumedia.org

Alan.Guggenheim

  • Guest
Re: Cannot enter date in new event
April 12, 2010, 03:17:05 pm
I just noticed that, for some unknown reasons, the theme used on that specific page (Create new event) is my main Dryupal theme (modified acquia marina). It looks like the problem is with the css of that theme.
I am using CiviCRM Theme Module to set CiviCRM to an other theme, but, for some reason, it does not change that page.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Cannot enter date in new event

This forum was archived on 2017-11-26.