Loading...
 
Skip to main content

Blank Page when uploading

Status
Closed
Subject
Blank Page when uploading
Version
21.x
22.x
Category
  • Bug
  • Error
Feature
Others
User Files
Resolution status
Fix on the Way
Submitted by
Ioannis Black
Volunteered to solve
Jonny Bradley
Lastmod by
Ioannis Black
Rating
(1)
Description

Hello everyone. Right now i am experiencing an issue while trying to upload a file using the the {FILES} plugin.

What i did

  1. I created a page and added the {FILES} plugin inside of it.

Copy to clipboard
{files galleryId="9" sort="name_desc" showtitle="n" showicon="y" showname="y" showfilename="n" showdescription="y" showmodified="n" showmodtimedate="n" showthumb="n" showupload="y" showaction="y" showid="n" showcreated="y"}

  1. Then i added a simple .txt file by clicking the "browse.. " button.

  2. By click the "Upload" button i receive a blank page with url /tiki-upload_file.php



tiki-syslog.php output

  1. For my upload attempt i get this message

Request to /tiki-ajax_services.php failed CSRF check. Ticket does not match or is missing.

  1. When i try to enter into tiki-syslog.php i receive this log message

Request to /tiki-syslog.php failed CSRF check. Requesting site could not be identified because HTTP_ORIGIN and HTTP_REFERER were empty.

To be honest i don't know if those 2 messages are connected somehow

Server Info

  • Release: Debian GNU/Linux 10 (buster)
  • Database Version: 10.3.23-MariaDB-0+deb10u1
  • PHP version: 7.3.19-1
  • upload_max_filesize : 64M
  • upload_tmp_dir: Unknown

Solution
I think i've fixed this in 22.x in c9068326 - can you test it in that version? If it seems ok i'll backport it to 21.x
Importance
6
Easy to solve?
8
Priority
48
Demonstrate Bug on Tiki 19+
This bug has been demonstrated on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
7632
Created
Thursday 10 December, 2020 10:51:42 UTC
by Ioannis Black
LastModif
Thursday 10 December, 2020 19:41:15 UTC


Collapse/expand modules below
Show PHP error messages