[2.0.15] Search Engine Results

The cleanup is complete. This forum is now read only.

Rating:

Excellent!
10
63%
Very Good
2
13%
Good
0
No votes
Fair
2
13%
Poor
2
13%
 
Total votes: 16

User avatar
durhamdiscussion
Registered User
Posts: 62
Joined: Tue Apr 05, 2005 12:03 am
Location: Durham Region, Ontario

Post by durhamdiscussion »

I have just finished installing this mod....My l go to my admin panel and click the search link I recieve this message:
Template->make_filename(): Error - file does not exist


Can some one give me a hand? I would like this mod to work:)

Thank you kindly Melissa[/code]
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10965
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Post by battye »

tinman, it doesn't *need* to be in the Styles area, it can go anywhere within the file as long as it is not at the very beginning or end, and they must be on new lines :)

Look at Jackanapes file to see where you could add it, such as under:

Code: Select all

$lang['Click_return_disallowadmin'] = 'Click %sHere%s to return to Disallow Username Administration'; 
durhamdiscussion, have you uploaded the *.tpl file that comes with the package :wink:
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
User avatar
durhamdiscussion
Registered User
Posts: 62
Joined: Tue Apr 05, 2005 12:03 am
Location: Durham Region, Ontario

Post by durhamdiscussion »

yes I did

I uploaded all the gifs, 2php files and and install.txt, 2 tpl files. lam l missing something?
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10965
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Post by battye »

Have you uploaded it to all of your templates? (templates/*/)
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
User avatar
durhamdiscussion
Registered User
Posts: 62
Joined: Tue Apr 05, 2005 12:03 am
Location: Durham Region, Ontario

Post by durhamdiscussion »

Have you uploaded it to all of your templates? (templates/*/)


yes I did
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10965
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Post by battye »

What other MOD's do you have installed?
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
Bleed
Registered User
Posts: 139
Joined: Fri Jan 21, 2005 12:28 am
Contact:

Post by Bleed »

Okay, when installing this under the "find" part, you say find "styles admin"...it appears like three times...does it matter where I install it at?
Bleed
Registered User
Posts: 139
Joined: Fri Jan 21, 2005 12:28 am
Contact:

Post by Bleed »

nevermind my last post...
aeryk
Registered User
Posts: 6
Joined: Fri Sep 16, 2005 10:39 pm

Post by aeryk »

I'm getting an error when I attempt to access this section in the ACP. Error message reads:

Fatal error: Call to undefined function: file_get_contents() in .../admin/admin_search_results.php on line 60

Line 60 in the code reads:
preg_match($msn_pattern, file_get_contents($msn_address), $msn_info);

Any idea why this line and not the other search engines in the code?
Bullmax
Registered User
Posts: 2016
Joined: Fri Jan 30, 2004 3:36 pm

Post by Bullmax »

Never mind - wrong idea.
Last edited by Bullmax on Thu Sep 29, 2005 12:18 am, edited 1 time in total.
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10965
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Post by battye »

aeryk wrote: I'm getting an error when I attempt to access this section in the ACP. Error message reads:

Fatal error: Call to undefined function: file_get_contents() in .../admin/admin_search_results.php on line 60

Line 60 in the code reads:
preg_match($msn_pattern, file_get_contents($msn_address), $msn_info);

Any idea why this line and not the other search engines in the code?


Find that line and replace it with:

Code: Select all

@preg_match($msn_pattern, file_get_contents($msn_address), $msn_info); 
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
aeryk
Registered User
Posts: 6
Joined: Fri Sep 16, 2005 10:39 pm

Post by aeryk »

Changed the code, now the error is gone but I get a blank page.
ILoveNitro
Registered User
Posts: 42
Joined: Mon May 10, 2004 10:20 pm

Post by ILoveNitro »

I'm having the same problem as durhamdiscussion and I know I have everything right :cry:
skyking_22
Registered User
Posts: 18
Joined: Wed Feb 02, 2005 12:08 am

Post by skyking_22 »

I get the following error on mine.

Warning: file_get_contents(http://web.ask.com/web?q=WMAHunters&qsrc=0&o=0): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /webroot/w/m/wmahu001/www/admin/admin_search_results.php on line 100

ANy thoughts?
User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10965
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Post by battye »

skyking_22 wrote: I get the following error on mine.

Warning: file_get_contents(http://web.ask.com/web?q=WMAHunters&qsrc=0&o=0): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /webroot/w/m/wmahu001/www/admin/admin_search_results.php on line 100

ANy thoughts?


Try adding the following code to a blank Notepad file, and then saving it as test.php:

Code: Select all

<?php
file_get_contents('http://web.ask.com/web?q=WMAHunters&qsrc=0&o=0');
?>

Let me know if you get the same error, after uploading it to your server, and going to yoursite.com/test.php :)
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D
Post Reply

Return to “[2.0.x] MOD Database Cleanup”