Question

I'm using on an old project agile-uploader, now that I've changed the server, it's giving an 404 error when submitting the form to given form_action(page), although this webpage doest exist.

Ps: I'm using php 5.4 now, but it was working on php 5.2.

Here is the code to import agile-uploader plugin:

$('#file-upload').agileUploader({  
    submitRedirect: 'upload/finish',  
    formId: 'form',  
    flashSrc: '/js/agile-uploader/agile-uploader.swf',  
    flashVars: {  
        form_action: 'upload/index',   
        max_width: '100',  
        max_height: '100',  
        file_limit: 20  
    }  
});
Was it helpful?

Solution

The problem was with apache httpd module fcgi. And it was resolved by increasing max request length FcgidMaxRequestLen.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top