Hi
I am new on PHP-FUSION.
I recently updated my website to V.7.00.07, but i have a problem on search module since is saw
Warning: include(includes/search/search_._articles_include_button.php) [function.include]: failed to open stream: No such file or directory in /home/www/airmodelclub.com/php-fusion/search.php on line 72
Warning: include() [function.include]: Failed opening 'includes/search/search_._articles_include_button.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/www/airmodelclub.com/php-fusion/search.php on line 72
Warning: include(includes/search/search_._custompages_include_button.php) [function.include]: failed to open stream: No such file or directory in /home/www/airmodelclub.com/php-fusion/search.php on line 72
...
Looking at line 72 in search.php
while (false !== ($entry = readdir($dh))) {
if ($entry != "." && $entry != ".." && preg_match("/include_button.php/i", $entry)) {
$available[] = str_replace("search_", "", str_replace("_include_button.php", "", $entry));
}
}
closedir($dh);
$available[] = "all";
if (isset($_GET['stype'])) { $_GET['stype'] = in_array($_GET['stype'], $available) ? $_GET['stype'] : "articles"; }
if (!isset($_GET['stype'])) { $_GET['stype'] = $settings['default_search']; }
for ($i = 0; $i < count($available) - 1; $i++) {
include (INCLUDES."search/search_".$available[$i]."_include_button.php");
I am not an expert but it seems to me that the code is wrong and i cannot catch the correct directories name
In fact i have the following path: includes/search/._search_articles_include.php
Please could you help me ?
Thanks & regards, Luca
0 replies