Loading...
 
Skip to main content

Tracker events en dev.t.o tiki-batch_todo.php unexpected ? in initlib.php

Status
Pending
Subject
Tracker events en dev.t.o tiki-batch_todo.php unexpected ? in initlib.php
Version
22.x
Category
  • Error
  • Regression
  • Community projects
  • Dogfood on a *.tiki.org site
Feature
Trackers
Resolution status
Won't Fix
Submitted by
Xavi (as xavidp - admin)
Keep informed
Marc Laporte
Lastmod by
Xavi (as xavidp - admin)
Rating
(0)
Description

We have attempted to setup some tracker events in dev.t.o/tracker5 (the Bug Tracker), following he discussion in the TRM of September 2020, and the TAG meeting of October 2020 (today)

After setting up the appropriated scheduler task in dev.t.o, with this job:

Copy to clipboard
cd /var/www/virtual/dev.tiki.org/html/; php tiki-batch_todo.php


And the cron job in the server behind dev.t.o (see https://tiki.org/Infrastructure-Team#Scheduler_on_dev.t.o ), this is the error message shown in the scheduler UI in dev.t.o (https://dev.tiki.org/tiki-admin_schedulers.php?scheduler=1#contenttabs_admin_schedulers-3 ):

Copy to clipboard
PHP Parse error: syntax error, unexpected '?' in /path/dev.tiki.org/html/lib/init/initlib.php on line 77
Workaround
Use php 7+ on the command line (see my Null Coalescing Operator comment below )
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7580
Created
Sunday 18 October, 2020 18:49:13 UTC
by Xavi (as xavidp - admin)
LastModif
Wednesday 28 October, 2020 17:22:18 UTC


Show PHP error messages