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
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- 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