How do you delete this plugin? I have deactivated it but when I click on ‘delete’ nothing happens.
]]>Hi,
i’m trying to delete wp-file-searchplucing from my installed plugins and after clicking “delete”, it remains “deleting…” without do anything…
May you please tell me how can I delete this plugin?
thanks
]]>Hi all,
I have my private area created with another wp plugin.
is it possible to use this search plugin to research files in my private area?
thanks a lot!
]]>We are getting a timeout error:
[15-May-2017 07:01:22 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home1/legalai8/public_html/wp-content/plugins/wp-file-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Object.php on line 146
We deactivated the plugin until we can resolve. Do you have any suggestions for how to modify htaccess to increase the time?
]]>The plugin does not search .doc files (“application/msword”)
The parser below does that.
Create a file with this code.
Add the include of that file in class_wp_file_search around line 133
Insert the appropreate call in class_wp_file_search around line 354
<?php
include_once ‘parser.php’;
class DocParser
implements Parser {
public static
function parse( $filename ) {
$striped_content = ”;
$content = ”;
$fileHandle = fopen( $filename, “r” );
$line = @fread( $fileHandle, filesize( $filename ) );
$lines = explode( chr( 0x0D ), $line );
$outtext = “”;
foreach ( $lines as $thisline ) {
$pos = strpos( $thisline, chr( 0x00 ) );
if ( ( $pos !== FALSE ) || ( strlen( $thisline ) == 0 ) ) {} else {
$outtext .= $thisline . ” “;
}
}
$outtext = preg_replace( “/[^a-zA-Z0-9\s\,\.\-\n\r\t@\/\_\(\)]/”, “”, $outtext );
write_log ($outtext);
return $outtext;
}
}
]]>Does not play nice with plugin “Ninja Forms”.
There is a conflict with the class Parser
Cannot redeclare class Parser in /homepages/28/d89642000/htdocs/clickandbuilds/EirePittsburghPrivateSite/wp-content/plugins/wp-file-search/includes/parsers/parser.php on line 3
]]>Here is there Fatal Exception I get…Please help:
Fatal error: Uncaught exception ‘Exception’ with message ‘Missing catalog.’ in /home2/anythin4/public_html/aecon/wp-content/plugins/wp-file-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Document.php:238 Stack trace: #0 /home2/anythin4/public_html/aecon/wp-content/plugins/wp-file-search/includes/parsers/pdf.php(14): Smalot\PdfParser\Document->getPages() #1 /home2/anythin4/public_html/aecon/wp-content/plugins/wp-file-search/includes/class-wp-file-search.php(312): PdfParser::parse(‘/home2/anythin4…’) #2 /home2/anythin4/public_html/aecon/wp-content/plugins/wp-file-search/includes/class-wp-file-search.php(352): Wp_File_Search->parse_documents(true) #3 [internal function]: Wp_File_Search->event_driven_document_check(703) #4 /home2/anythin4/public_html/aecon/wp-includes/plugin.php(525): call_user_func_array(Array, Array) #5 /home2/anythin4/public_html/aecon/wp-includes/post.php(3332): do_action(‘add_attachment’, 703) #6 /home2/anythin4/public_html/aecon/wp-includes/post.php(4666): wp_insert_post(Array) #7 /home2/anythin4 in /home2/anythin4/public_html/aecon/wp-content/plugins/wp-file-search/vendor/smalot/pdfparser/src/Smalot/PdfParser/Document.php on line 238
]]>hi I’ve uploaded one pdf on Oct 20 and it is working like a charme. I can search and find any word.
But every other upload doesn’t work.
No new plugin, no new php version since this date..
I don’t have any idea ??
Can you give me a hint…
]]>this plugin uses (as nov 2015) the smalot pdfparser
https://github.com/smalot/pdfparser
for parsing pdfs.
https://github.com/ellak-monades-aristeias/wp-file-search/tree/master/includes/parsers
no external services or resources are used in this plugin (as 2015).
]]>Hello, there guys,
I am Takis and I would like to get to know you. You may find me at https://www.facebook.com/takis.bouyouris/ and of course https://www.facebook.com/groups/WordPressGreekCommunity/. Seems like you have done some nice work here.
Cheers,
Takis