Can't delete image in file manager.

Permalink
Hello,
I'm trying to delete a file in the file manager, and I can't. I suspect it has something to do with the pretty url, which is turned on.

When I click on delete, i get the popup with the title: "Delete", but the content never comes. If I look at the console, I see the following error: "Failed to load resource". The address is the following:

[Our Website]/index.php/tools/required/files/delete?searchInstance=file1365516637&fID=8

If i copy paste this link in a browser, I get a message saying no data received. If I remove the "index.php/" from the link, i do get the contents of the popup.

I suspect it has to do with the .htaccess not properly modifying the urls. I didn't do anything fancy with my .htaccess, it's exactly what concrete told me to put in there:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /[Our website base]/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>

slafleche
 
drbiskit replied on at Permalink Best Answer Reply
drbiskit
Couple of quick things to try:

1 - are pretty URL's working okay across the rest of the site? e.g. you haven't got index.php apearing in any of the url's?

2 - Does the deleting work if you switch off pretty URL's?

3 - (With pretty URL's switched on) Try adding:

define('URL_REWRITING_ALL', true);

to your config/site.php file