https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Search function does not work

  • tofari
  • tofari's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 1 month ago #6

Hi, I have isntalled this exellent tool but on my test site the search function does not work. The test site has the following url - www.atnett.no

Can anyone give me a indication where to look for the root cause?

Best regards
Arild

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

More
14 years 1 month ago #11

Hello Arlid,

We are trying to reproduce your problem, however we need some additional information... Can you please tell me which version of Joomla are you using and if you are connecting to mysql database or some other database... Can you send me create table scripts?

Best regards,
Bostjan

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

  • tofari
  • tofari's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 1 month ago #12

Hi and thank you for replying

My Joomla version is 1.5.14 and I am using standard MySQL.

I could also provide you with username and password to the test site if you have a e-post address I could send these details to

Best regards
Arild

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

More
14 years 1 month ago #13

Hi. I am using also Joomla 1.5.14 and everything works ok. I have used MySql DB. I couldnt belive that search function works so fast since I have large tables, it is very fast with searching all substrings on all data.

Arild, have you created indexes on your DB? Maybe you have problems with your DB. Some tools, e.g. PowerDesigner are generating scripts with created indexes automatically.

I was wondering if there would be integrated functionallity (minor release) to order coulumns in administration area? I have to do that manually by mayself.

Thanks.

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

More
14 years 1 month ago #16

Hi Alrid,

It seems, you have some problems with javascript. JavaScript console returns an error saying 'search is not a function'. Therefore would I recommend you to try to rename javascript function search() to something else.

So try this: in components/com_grid/js/grid.js change line 105 to:

function search_grid(grid_url, id){

and in components/com_grid/GridBuilder.php line 122 to
$search_form = '<form action="javascript:;" name="asearch_form" onsubmit="search_grid(\''.$grid_url.'\', \''.$this->_ID.'\')" style="margin:0px;">

This is just a guess, but I hope it helps. Please, report in any case.

Last edit: 14 years 1 month ago by tomaz.

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

  • tofari
  • tofari's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 1 month ago #19

Fantastic, the hacking solved my problem with the search function.

I quess this problem which I only was experiencing on my test site was due to a problem on my test. The search function is functioning OK on my production site.

Thanks and best regards
Arild

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

Moderators: tomaz
Time to create page: 0.226 seconds

Contact Us

Contact us on Facebook