Loading...
 
Skip to main content

Add forum attachment fails for me in 19.x (either in db or file-on-disk storage)

Status
Open
Subject
Add forum attachment fails for me in 19.x (either in db or file-on-disk storage)
Version
19.x
Category
  • Error
  • Regression
Feature
Forum
Resolution status
New
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Forum attachments used to work for me in the past.
This time, I tested using them again in a 19.x site on a clearos-based server, with extra php 7.1 added, etc (following documentation of wikisuite, etc)

I get error 500 when attempting to upload a small file (<100Kb) to a forum, either in db or file storage on disk. Folder at the server works for files uploaded to file galleries.
Error message:

Copy to clipboard
[root@server user]# tail /var/opt/rh/rh-php71/log/php-fpm/www-error.log thrown in /var/www/virtual/example.org/html/lib/comments/commentslib.php on line 121 [10-Dec-2018 11:27:09 Europe/Madrid] PHP Fatal error: Uncaught Error: Class 'Perm' not found in /var/www/virtual/example.org/html/lib/comments/commentslib.php:121 Stack trace: #0 /var/www/virtual/example.org/html/lib/comments/commentslib.php(3939): Comments->add_thread_attachment(Array, '43', Array, 'Solicitud Audit...', 'application/msw...', 58880, 0, 0, Resource id #10, '') #1 /var/www/virtual/example.org/html/comments.php(178): Comments->post_in_forum(Array, Array, Array, Array) #2 /var/www/virtual/example.org/html/tiki-view_forum_thread.php(279): include_once('/var/www/virtua...') #3 /var/www/virtual/example.org/html/route.php(316): include('/var/www/virtua...') #4 {main} thrown in /var/www/virtual/example.org/html/lib/comments/commentslib.php on line 121
Importance
5
Easy to solve?
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6972
Created
Monday 10 December, 2018 11:12:12 UTC
by Xavier de Pedro
LastModif
Monday 10 December, 2018 11:12:12 UTC


Show PHP error messages