kcfinder icon indicating copy to clipboard operation
kcfinder copied to clipboard

"Unknown Error"

Open craigbass76 opened this issue 10 years ago • 5 comments

Sorry, mean to hit " and hit enter instead... I'm getting Unknown error when trying to upload an image. I'm using 3.12. After I've tried uploading an image, I also get the error just by refreshing.

craigbass76 avatar Jun 29 '15 23:06 craigbass76

Welcome to the club. I experienced it myself several times and it's not easy to debug it since KCFinder uses "Unknown Error" pretty much everywhere instead of proper error messages.

enumag avatar Jun 30 '15 07:06 enumag

Guys, i have lot of problems what others had, (unknown error, browser.php was loaded insted of the window, missing thumb images etc) , but I downloaded the latest TEST version and all problems gone. EDIT: my uploadURL is '../assets/uploads' because kcfinder is in my root folder, and assets is, too. So relative url-s should work

subdesign avatar Jul 10 '15 12:07 subdesign

I have this error as well. I think it is caused by thumbnails generator. It timesout or something other happens because it seems, that it can't generate big amount of thumbnails, because it gets stuck at 29 files out of 237. And so it hangs up. And as result something is overloaded or whatever I don't know how to debug that and its returning uknown error. But if I empty the target type dir. It works as it should :-( So how to prevent thumbnails from being generated or increase timeout for that? Do I have to hardcode?

Okay, I did this: // IMAGE SETTINGS

'imageDriversPriority' => false, //"imagick gmagick gd",
'jpegQuality' => false, //90,
'thumbsDir' => false, //".thumbs",

/*'maxImageWidth' => 0,
'maxImageHeight' => 0,

'thumbWidth' => 100,
'thumbHeight' => 100,*/

'watermark' => "",

Now it loads all damn file, but sometimes get stuck. So as I thought its about load handling and thumbnails. It can't handle more then 29 images. Well it can handle them, but super slow, even without thumbnail generator. :-( As well how to change the owndership. It adds by default apache:apache.

So for so many accusations, seem problem is with thumbsDir, when I set it to false everything works. Seems like KCFinder can't load it own made thumbs from target directory. So I guess it permission and ownership problem.

juslintek avatar Jul 23 '15 12:07 juslintek

Thanks, indeed it's related to the thumbsDir. Setting it to false generated all thumbs.

rvanlaarhoven avatar Aug 04 '15 08:08 rvanlaarhoven

report-error what this troble sir. in other hosting or offline localhost no problem

setiyotio avatar Nov 27 '17 05:11 setiyotio