Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Problem on module search

Asked Modified Viewed 2,181 times
L
lcs64
L
lcs64 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

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
There are no post found.

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

1 participant

L
L
lcs64 10
  • Newbie, joined since
  • Contributed 1 post on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet