Loading...
 
Skip to main content

Deleting a calendar (at next.t.o) throw a database error

Status
Open
Subject
Deleting a calendar (at next.t.o) throw a database error
Version
23.x
Category
  • Error
Feature
Calendar
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Deleting a calendar (at next.t.o) throw a database error:

System error.
The following error message was returned:

Database is not currently up to date! Visit Tiki Installer to resolve this issue. If you have shell (SSH) access, you can also use the following, on the command line, from the root of your Tiki installation: php console.php database:update

The query was:

delete from `tiki_calendar_roles` where `calitemId` in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
Values:

1,29,3,6,7,92,90,72,70,71,78,84,93,95,105,111,117,118,123,126,127,128,131,134,136,139,140,187
The built query was likely:

delete from `tiki_calendar_roles` where `calitemId` in ('',?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
Stacktrace:

  • /var/www/docroots/next.tiki.org/tiki-admin_calendars.php : 0 -> {main}(array ( ))
  • /var/www/docroots/next.tiki.org/tiki-admin_calendars.php : 37 -> drop_calendar(array ( ))
  • /var/www/docroots/next.tiki.org/lib/calendar/calendarlib.php : 262 -> query(array ( ))
  • /var/www/docroots/next.tiki.org/lib/core/TikiDb/Bridge.php : 28 -> query(array ( ))
  • /var/www/docroots/next.tiki.org/lib/core/TikiDb/Pdo.php : 146 -> handleQueryError(array ( ))
  • /var/www/docroots/next.tiki.org/lib/core/TikiDb.php : 192 -> handle(array ( ))
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7851
Created
Thursday 30 September, 2021 12:34:03 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Thursday 30 September, 2021 12:34:03 UTC


Show PHP error messages