Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jpmg's avatar
Level 13

Problem usin fineuploader in laravel..

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:

<script>
        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() {
            manualUploader.uploadStoredFiles();
        });
    </script>

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.pl,index.cgi,index.asp,index.shtml,index.html,index.htm,default.php,default.pl,default.cgi ,default.asp,default.shtml,default.html,default.htm,home.php,home.pl,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?

0 likes
4 replies
realrandyallen's avatar

Have you tried settings the permissions on the files folder inside your public directory? Depending on which user owns the directory it will need to be either 755 or 775

jpmg's avatar
Level 13

Sr. I using windows and i look folder property users can read and write!!

jpmg's avatar
Level 13

Ok Sir. I will read it and post my advance tomorrow. thank you!

Please or to participate in this conversation.