darwisbong Posted August 28, 2013 Share Posted August 28, 2013 hii, i have problem with my website, when i upload file / picture there is have error message " the folder path is not allowed " some one can help me to solve this case. Link to comment Share on other sites More sharing options...
vekia Posted August 28, 2013 Share Posted August 28, 2013 you've got this issue before? im asking because i see that you uploaded several files Link to comment Share on other sites More sharing options...
darwisbong Posted August 28, 2013 Author Share Posted August 28, 2013 you've got this issue before? im asking because i see that you uploaded several files no before, this error about a week ago. Link to comment Share on other sites More sharing options...
Dh42 Posted August 28, 2013 Share Posted August 28, 2013 Ask your server to disable mod_security on your server. Link to comment Share on other sites More sharing options...
darwisbong Posted August 28, 2013 Author Share Posted August 28, 2013 Ask your server to disable mod_security on your server. not working , any body have an idea? Link to comment Share on other sites More sharing options...
NemoPS Posted August 28, 2013 Share Posted August 28, 2013 Okay, try checking this: adminfolder\ajaxfilemanager open ajax_file_upload.php. Find this line: elseif(empty($_GET['folder']) || !isUnderRoot($_GET['folder'])) try removing || !isUnderRoot($_GET['folder']) This is just a test, see if it works this way. Otherwise, the other statement is the one which rises the issue Link to comment Share on other sites More sharing options...
darwisbong Posted August 28, 2013 Author Share Posted August 28, 2013 Okay, try checking this: adminfolder\ajaxfilemanager open ajax_file_upload.php. Find this line: elseif(empty($_GET['folder']) || !isUnderRoot($_GET['folder'])) try removing || !isUnderRoot($_GET['folder']) This is just a test, see if it works this way. Otherwise, the other statement is the one which rises the issue hi nemo1 i have try this way, but it not working , the error message was change to sintaxerror : sintax error Link to comment Share on other sites More sharing options...
NemoPS Posted August 28, 2013 Share Posted August 28, 2013 Are you sure you only removed that part? here is how it should look elseif(empty($_GET['folder'])) Link to comment Share on other sites More sharing options...
darwisbong Posted August 28, 2013 Author Share Posted August 28, 2013 Are you sure you only removed that part? here is how it should look elseif(empty($_GET['folder'])) yes i'm really sure Link to comment Share on other sites More sharing options...
NemoPS Posted August 28, 2013 Share Posted August 28, 2013 Error at line? Link to comment Share on other sites More sharing options...
Recommended Posts