I upgraded from 1.5.4 to 1.5.6 following the instructions in the documentation. I just noticed that when I go to Search page my option to install the Firefox search plugin is no longer appearing.
I do have a "pmfsearch.src" in the root directory.
I do have the "{msgFirefoxPluginTitle}" in the "search.tpl" file.
I do have a copy of the 1.5.4 installation I was using and noticed that there was a difference in the "search.php" files. I tried reverting back to that file and it did not work.
You can see my current 1.5.6 site at: http://www.ti-994a.com/faq
You can see my older 1.5.4 site at: http://www.ti-994a.com/faq_1.5.4
Any suggestions?
Thanks,
CR
FireFox Search Plugin - disappeared after upgrade to 1.5.6
Moderator: Thorsten
Hi,
please try to re-create the file in the admin section.
bye
Thorsten
please try to re-create the file in the admin section.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
I did go the the admin section but got the same results. There was a change in search.php between 1.5.4 and 1.5.6. I just got my plugin back if I reverted back to the 1.5.4 version of search.php. Here are the differences between the files:
Version 1.5.6 of SEARCH.PHP
Version 1.5.4 of SEARCH.PHP
It looks like the change was the inclusion of the "$_SERVER['SERVER_NAME']" entries into those lines.
CR
Version 1.5.6 of SEARCH.PHP
Code: Select all
if (!file_exists(dirname(__FILE__).'/'.$_SERVER['SERVER_NAME'].'.pmfsearch.src')) {
...
...
'msgFirefoxPluginTitle' => '<p><a id="searchplugin" href="javascript:addEngine(\'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']).'\', \''.$_SERVER['SERVER_NAME'].'.pmfsearch\', \'png\', \'Web\')">'.$PMF_LANG['ad_search_plugin_install'].'</a></p>'
Code: Select all
if (!file_exists(dirname(__FILE__).'/pmfsearch.src')) {
...
...
'msgFirefoxPluginTitle' => '<p><a id="searchplugin" href="javascript:addEngine(\'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['SCRIPT_NAME']).'\', \'pmfsearch\', \'png\', \'Web\')">'.$PMF_LANG['ad_search_plugin_install'].'</a></p>'
It looks like the change was the inclusion of the "$_SERVER['SERVER_NAME']" entries into those lines.
CR