Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
tatarinAV

Ошибка после обновления календаря (IPB 3.4.6)

Recommended Posts

После обновления календаря, при переходе на 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

Заранее спасибо за помощь.

Share this post


Link to post

Календарь явно не обновлен.

 

В версии 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())

 

Перезалейте файлы заново.

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...