9 months ago

Problem usin fineuploader in laravel..

Posted 9 months ago by jpmg

Good morngin forum, I have a problem using fineuploader, i can browse the image and in my browser network tools i get this message..

    [Fine Uploader 5.16.2] '1a.jpg' is  able to be rendered in this browser util.js:236 
    [Fine Uploader 5.16.2] Moving forward with EXIF header parsing for '1a.jpg' util.js:236 
    [Fine Uploader 5.16.2] EXIF Byte order is big endian util.js:236 
    [Fine Uploader 5.16.2] Found 11 APP1 directory entries util.js:236 
    [Fine Uploader 5.16.2] Successfully parsed some EXIF tags 

but when i whant to upload the image i get tis error message.

<p>You don't have permission to access /hidrofrac/public/files/ on this server.<br /></p>
<p>Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle           
      the request.</p>
<hr><address>Apache/2.4.34 (Win32) OpenSSL/1.1.0i PHP/7.2.9 Server at localhost Port 80</address>
util.js:241 [Fine Uploader 5.16.2] Error when attempting to parse xhr response text (Unexpected token < in JSON at position 0)

My jquery is:

        var manualUploader = new qq.FineUploader({
            debug: true,
            element: document.getElementById('fine-uploader-manual-trigger'),
            template: 'qq-template-manual-trigger',
            request: {
                endpoint: 'files'
            retry: {
                 enableAuto: true // defaults to false
            thumbnails: {
                placeholders: {
                    waitingPath: '/fine-uploader/placeholders/waiting-generic.png',
                    notAvailablePath: '/fine-uploader/placeholders/not_available-generic.png'
            autoUpload: false,
            debug: true

        qq(document.getElementById("trigger-upload")).attach("click", function() {

My apache log says:

[pid 17376:tid 2008] [client ::1:54707] AH01276: Cannot serve directory         
C:/xampp/htdocs/hidrofrac/public/files/: No matching DirectoryIndex 
(index.php,,index.cgi,index.asp,index.shtml,index.html,index.htm,default.php,,default.cgi ,default.asp,default.shtml,default.html,default.htm,home.php,,home.cgi,home.asp,home.shtml,home.html,home.htm) found, and server-generated directory index forbidden by Options directive, referer: http://localhost/hidrofrac/public/home
    [pid 17376:tid 2008] [client ::1:54707] AH00690: no acceptable variant: C:/xampp/apache/error/HTTP_FORBIDDEN.html.var, referer: http://localhost/hidrofrac/public/home

I tried all what i found in the web, but nothing works for mi, can someone help me?

Please sign in or create an account to participate in this conversation.