Download & Extend

IMCE Search doesn't work

Project:IMCE Tools
Version:6.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:tekante
Status:closed (fixed)
Issue tags:405 error, imce tools, search

Issue Summary

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

#1

Assigned to:Anonymous» tekante

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

#2

Status:active» postponed (maintainer needs more info)

#3

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.

#4

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

#5

@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?

AttachmentSize
imce_search_callback_assumes_path-1064538-5.patch 1.13 KB

#6

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

#7

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.

#8

Status:fixed» closed (fixed)

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

#9

Issue tags:+405 error, +imce tools

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

AttachmentSize
imce_tools_search_405.patch 601 bytes

#10

Status:closed (fixed)» needs review

#11

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

#12

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.

#13

@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.

#14

Status:needs review» closed (fixed)

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

nobody click here