Loading...
 
Skip to main content

Events generates db error if not logged in

Status
Closed
Subject
Events generates db error if not logged in
Version
24.x
25.x
Category
  • Error
Feature
Calendar
Resolution status
Fixed or Solved
Submitted by
Derek Snider
Lastmod by
Adrien
Rating
(0)
Description

Having this code on a page:

Copy to clipboard
{EVENTS(calendarid="2" datetime="1" max="10" usePagination="y")}{EVENTS}


Will work fine when logged in, but will generate a db_error when not logged in.

Also, tiki-calendar.php is generating a php error on line 284, as TikiLib::date_format('m', $dday) returns 'm'. I changed this line of code to instead use %m, and that seemed to fix the problem.

Importance
9
Easy to solve?
7
Priority
63
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8146
Created
Tuesday 10 May, 2022 02:44:46 UTC
by Derek Snider
LastModif
Saturday 13 August, 2022 20:46:38 UTC


Show PHP error messages