When user tries selects a timezone in account, date_timezone.module tries to update timezone information of event.module.
event-5.x-1.x does not have a event_timezones table so, date_timezone.module triggers following error:
"Table 'db.event_timezones' doesn't exist query: SELECT * FROM event_timezones WHERE name = 'America/New York'".
It was previously reported at forums.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | event_timezone.patch | 850 bytes | develcuy |
Comments
Comment #1
develcuy commenteddate_api.module already cares about event_timezone table, so I have rolled a patch with similar logic.
Blessings!
Comment #2
Gentoo7 commentedThank a lot develCuy! how can i add the patch?
thanks
Comment #3
MartysMind commentedApplied to release version 5.x-2.5, seams to fix the problem.
To install:
1. Navigate to your site 'sites/all/modules/data/date_timezone/'
2. Copy of FTP the patch to that location
3. patch -p0 < event_timezone_0.patch
That should do it, did for me.
Comment #4
Gentoo7 commentedsorry im not getting step 2 and 3
Comment #5
MartysMind commentedTo fix this you need to be logged into your website through a telnet or ssh terminal connection.
You will also need to upload the patch to the website where you can copy it into the modules directory for the site.
From the command prompt (telnet/ssh connection) on your site you will have to do the following:
1. Navigated to the module directory (e.g. cd sites/all/modules/formfilter)
2. Copy the patch to that location from wherever you uploaded it (e.g. cp /tmp/event_timezone_0.patch . )
3. patch the file (e.g patch -p0 < event_timezone_0.patch )
If any of that is vague try looking up each linux command (telnet, ssh, cd, cp, patch) on google.
Hope that helps.
Comment #6
karens commentedTook me a while to get to this, sorry! Thanks for the patch.
Comment #8
Screenack commentedFYI: helped stopped the same thing I was seeing -- thanks