I enter the text to search in the textarea, but when I click on the Search button, it gives me the error:
An HTTP error 501 occurred.
/imce_search_callback/./

Comments

tekante’s picture

Assigned: Unassigned » tekante

Are you able to provide any information from your server logs that might indicate what the cause of the error is?

tekante’s picture

Status: Active » Postponed (maintainer needs more info)
scubaguy’s picture

the error I get when I click search is:

"An HTTP error 404 has occurred
/imce_search_callback/0/en/pray"

That error message then disappears and I see the message "Searching en and subdirectories for pray" however the search never returns any results.

The Drupal error log reports:

Type page not found
Location http://oursite.com/imce_search_callback/0/en/pray
Referrer http://oursite/index.php?q=imce&app=ckeditor|sendto@ckeditor_fileUrl|&CKEditor=edit-body&CKEditorFuncNum=1&langCode=en
Message 403.shtml

Any ideas on how to fix it? I'm at a loss.

tekante’s picture

@scubaguy - is your Drupal install in a directory of your main site, like example.com/yoursite ?

tekante’s picture

@scubaguy - Attached is a patch that makes the search callback take into account the basePath of Drupal which may resolve your issue, can you give it a try and let me know the results?

Lobezno’s picture

I had the same problem. That patch works perfectly. Thanks :D

tekante’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fix has been applied to 1.x branch and is available in the latest dev release. Fix will be included in the 6.x-1.2 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kongoji’s picture

Issue tags: +imce tools, +405 error
StatusFileSize
new601 bytes

I had a 405 error due to the "type: 'text'" parameter inside the search ajax call.
I made a patch to fix this.

kongoji’s picture

Status: Closed (fixed) » Needs review
tekante’s picture

Fix has been applied to 6.x and 7.x branches. Please try out the latest dev version and confirm that it resolves the issue for you.

Thanks for the patch kongoji

chrisgross’s picture

I'm using 7.x-1.x-dev, and my search doesn't seem to work. I don't get an error, i just don't get results.

tekante’s picture

@cgross - can you provide more information about your search terms, files that you would expect it to find that it doesn't, browser version, other modules installed? If you aren't seeing one of the errors mentioned above, it may be best to open a new issue with as much information about what errors or messages you do get.

tekante’s picture

Status: Needs review » Closed (fixed)

Returning status to closed (fixed), @cgross - please open a new issue with requested details

avpaderno’s picture

Issue summary: View changes
Issue tags: -search, -imce tools, -405 error