Loading...
 
Skip to main content

Console command console.php file:check throws a notice about storage location

Status
Closed
Subject
Console command console.php file:check throws a notice about storage location
Version
20.x
20.x Regression
21.x
Category
  • Regression
Feature
Console / Command Line
File Gallery (elFinder or standard UI)
Resolution status
Please retest
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
luci
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Related-to
Description

Tested in Tiki20x and Tiki21x.
Using php console.php files:check throws a notice on wiki attachment:

CODE()}
Wiki Attachments
Configured to stores files in Database
Files in DB: 0
Files on Disk: 0
No Issues found

PHP Notice: Undefined index: f_use_db in /var/www/virtual/elyseavenue-paris15.fr/html/lib/core/Tiki/Files/CheckAttachmentGallery.php on line 105
PHP Notice: Undefined index: f_use_dir in /var/www/virtual/elyseavenue-paris15.fr/html/lib/core/Tiki/Files/CheckAttachmentGallery.php on line 116
{CODE}

I tested with Tiki19 I think (may be earlier) and it may be caused by PHP version change.

Solution
Please retest with 0f537cd7 Question
Importance
2
Easy to solve?
5
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7285
Created
Monday 24 February, 2020 09:23:30 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Monday 24 February, 2020 17:50:38 UTC


Show PHP error messages