Loading...
 
Skip to main content

File Galleries (File upload failed: SyntaxError: Unexpected token < in JSON at position 0)

Status
Pending
Subject
File Galleries (File upload failed: SyntaxError: Unexpected token < in JSON at position 0)
Version
18.x
19.x
20.x
21.x
Category
  • Error
  • Regression
  • Upgrade Blocker
Feature
Image Gallery
File Gallery (elFinder or standard UI)
Resolution status
Please retest
Submitted by
nycdwight
Lastmod by
Xavier de Pedro
Rating
(2)
Description

I upgraded to 18.0 and got this error, then I upgraded to 18.1 and still got this error.

I erase the website, built a new database, and I still get this error.

When I try to upload a file to file gallery
MetArt01s.jpg
File upload failed: SyntaxError: Unexpected token < in JSON at position 0

Solution

Cannot reproduce - just uploaded a jpeg fine here http://nycdwight-11908-6600.show2.tikiwiki.org/tiki-download_file.php?display&fileId=1Question
If you can supply me with a file that breaks (somehow) i'll have a go at fixing it 😊

Importance
7
Easy to solve?
8
Priority
56
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6600
Created
Tuesday 20 March, 2018 02:15:17 UTC
by nycdwight
LastModif
Monday 17 August, 2020 06:49:02 UTC


Show PHP error messages