Skip to Content Skip to Menu

Problem with Advanced Search component

  • tony
  • tony
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
18 years 3 weeks ago #21797 by tony
same problem here. can't imagine why I am unauthorized to view this page... as super admin... very strange.

fix?

Please Log in or Create an account to join the conversation.

  • tony
  • tony
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
18 years 3 weeks ago #21798 by tony
haleluja. i've just installed advanced search v. 2.0.4. everything is fine now! can deactivate the authorisation problem at backend => set to "yes"! ;-) didn't saw this new version yesterday ;) sorry :blush:

Post edited by: tony, at: 2006/10/02 09:53

Please Log in or Create an account to join the conversation.

  • dennisth19
  • dennisth19
  • OFFLINE
  • Posts: 52
  • Thanks: 0
  • Karma: -1
18 years 3 days ago #22824 by dennisth19
Replied by dennisth19 on topic Re:Problem with Advanced Search component
Hi,

i got this error after installing:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in F:\xampplite\htdocs\joomla\includes\domit\xml_domit_parser.php on line 1645

Warning: file_get_contents( www.emptorum.com/update/cbas_version.xml ) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in F:\xampplite\htdocs\joomla\includes\domit\xml_domit_parser.php on line 1645

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in F:\xampplite\htdocs\joomla\includes\domit\xml_domit_parser.php on line 1645

Warning: file_get_contents( www.emptorum.com/update/cbas_version.xml ) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in F:\xampplite\htdocs\joomla\includes\domit\xml_domit_parser.php on line 1645

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in F:\xampplite\htdocs\joomla\includes\domit\xml_domit_parser.php on line 1645

Warning: file_get_contents( www.emptorum.com/update/cbas_version.xml ) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in F:\xampplite\htdocs\joomla\includes\domit\xml_domit_parser.php on line 1645



???

Please Log in or Create an account to join the conversation.

  • Flipsider
  • Flipsider
  • OFFLINE
  • Posts: 137
  • Thanks: 0
  • Karma: -82
17 years 11 months ago #23243 by Flipsider
Replied by Flipsider on topic Re:Problem with Advanced Search component
Pardon, but where can you find that Component?

De-Karma me... if you dare...
CB Xbox Gamercard Plugin (Gone] - CB Xbox Gamercard Module (Gone)

Please Log in or Create an account to join the conversation.

  • Kimi
  • Kimi
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 1
16 years 11 months ago #48690 by Kimi
where is the update? I'm going nutty here.

Please Log in or Create an account to join the conversation.

  • Kimi
  • Kimi
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 1
16 years 11 months ago #48892 by Kimi
ok I sent this one to my guru friend who found that there was a query problem found in
./administrator/components/com_cb_search/cb_search.class.php
./components/cb_search_2.0.4/cb_search.class.php

when it went to the query it would say $pattern[5] = "%3D"; when it needed to say $replacement[5] = "="; so the original said:

function correct_search($search_sql){
$pattern[0] = "+";
$pattern[1] = "%28";
$pattern[2] = "%27";
$pattern[3] = "%25";
$pattern[4] = "%29";
$replacement[0] = " ";
$replacement[1] = "(";
$replacement[2] = "'";
$replacement[3] = "%";
$replacement[4] = ")";
$fieldvalue = str_replace($pattern, $replacement, $search_sql );
return $fieldvalue;
}

and it needs to say:

function correct_search($search_sql){
$pattern[0] = "+";
$pattern[1] = "%28";
$pattern[2] = "%27";
$pattern[3] = "%25";
$pattern[4] = "%29";
$pattern[5] = "%3D";
$replacement[0] = " ";
$replacement[1] = "(";
$replacement[2] = "'";
$replacement[3] = "%";
$replacement[4] = ")";
$replacement[5] = "=";
$fieldvalue = str_replace($pattern, $replacement, $search_sql );
return $fieldvalue;
}

me being a non-coder I hope I said this correctly and I hope this helps someone.
Kimi

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum