prasathmani / tinyfilemanager

Single-file PHP file manager, browser and manage your files efficiently and easily with tinyfilemanager
https://tinyfilemanager.github.io
GNU General Public License v3.0
4.61k stars 1.63k forks source link

Url upload throwing js errors #1110

Closed Raidm404 closed 7 months ago

Raidm404 commented 7 months ago

Hi, The url upload is not working Showing the following error on browser console

Uncaught SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
    at JSON.parse (<anonymous>)
    at Object.success (index.php?p=fun&upload:418:33)
    at c (jquery-3.6.1.min.js:2:28327)
    at Object.fireWith [as resolveWith] (jquery-3.6.1.min.js:2:29072)
    at l (jquery-3.6.1.min.js:2:80045)
    at XMLHttpRequest.<anonymous> (jquery-3.6.1.min.js:2:82499)
prasathmani commented 7 months ago

I think url provided is not a valid one, try with image or some valid url to verify

Raidm404 commented 7 months ago

Hello, Not the url is valid . I also tried with image URL . It is not working

Raidm404 commented 7 months ago

Hi, Never mind I fixed. it was my issues . Thanks for the help