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
- Description
Hello everyone. Right now i am experiencing an issue while trying to upload a file using the the {FILES} plugin.
What i did
- 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"}- Then i added a simple .txt file by clicking the "browse.. " button.
- By click the "Upload" button i receive a blank page with url
/tiki-upload_file.php
tiki-syslog.php output- For my upload attempt i get this message
Request to /tiki-ajax_services.php failed CSRF check. Ticket does not match or is missing.- 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
- I created a page and added the {FILES} plugin inside of it.
- 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
Please demonstrate your bug on show2.tiki.org
Accessing the Tiki instance that demonstrates this bugThe URL for the show2.tiki.org instance that demonstrates this bug is at: http://devblack-12017-7632.show2.tiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://devblack-12017-7632.show2.tiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
SnapshotsSnapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show2.tiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://devblack-12017-7632.show2.tiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshot - 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 currently unavailableUnable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
- Ticket ID
- 7632
- Created
- Thursday 10 December, 2020 10:51:42 UTC
by Ioannis Black - LastModif
- Thursday 10 December, 2020 19:41:15 UTC