tatarinAV Posted August 21, 2014 Share Posted August 21, 2014 После обновления календаря, при переходе на http://omega-club.com.ua/calendar/ постоянно выпадает ошибка: Warning: Invalid argument supplied for foreach() in /home/omegac/omega-club.com.ua/www/cache/skin_cache/cacheid_1/skin_calendar.php on line 795 В журнале SQL ошибок: Date: Wed, 20 Aug 2014 23:29:46 +0000 Error: 1054 - Unknown column 'event_unix_to' in 'where clause' IP Address: 178.154.243.94 - /index.php?app=calendar&module=calendar&cal_id=1&do=showweek&week=1376950365 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT * FROM cal_events WHERE event_calendar_id = 1 AND event_approved=1 AND ( (event_unix_to >= 1372593601 AND event_unix_from <= 1380628799 ) OR ( event_unix_to=0 AND event_unix_from >= 1372593601 AND event_unix_from <= 1380628799 ) OR ( event_recurring=3 AND FROM_UNIXTIME(event_unix_from, '%c')=08 AND event_unix_to <= 1380628799 ) ) .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | adminomega/applications_addon/ips/calendar/modules_public/calendar/calendars.php| [public_calendar_calendar_calendars].calendarGetEventsSQL | 689 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | adminomega/applications_addon/ips/calendar/modules_public/calendar/calendars.php| [public_calendar_calendar_calendars].calendarShowWeek | 230 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | adminomega/sources/base/ipsController.php | [public_calendar_calendar_calendars].doExecute | 306 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Также при попытке обновить кэш календаря выдает ошибку: Fatal error: Call to undefined method admin_calendar_calendar_calendars::calendarRebuildCache() in /home/omegac/omega-club.com.ua/www/adminomega/sources/base/ipsRegistry.php on line 3532 Если нужно, могу выложить указанные файлы.Версия календаря 3.3.4Заранее спасибо за помощь. Link to comment Share on other sites More sharing options...
newbie Posted August 21, 2014 Share Posted August 21, 2014 Календарь явно не обновлен. В версии 3.3.4:- нет поля 'event_unix_to' в таблице cal_events- нет файла adminomega/applications_addon/ips/calendar/modules_public/calendar/calendars.php- нет метода calendarRebuildCache (Fatal error: Call to undefined method admin_calendar_calendar_calendars::calendarRebuildCache()) Перезалейте файлы заново. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now