This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

MrWolf

  • **
  • 13 posts
Real time search not working - help!
« on: February 14, 2017, 10:49:43 AM »
I have another problem with the Veronika theme.
I made a fresh install of osclass 3.7.1 with Veronika, without any plugin, everything was working fine, including the real time search for listings and cities.
After installing a very few plugins (google maps, google analytics, facebook connect and print pdf) I checked the site again and the real time search was no longer working.
I tried to uninstall all the plugins, real time search still not working.
I deleted all the plugins files from the server, real time search still not working.
When I type something in the search field, the circle spins for a second than disappears with no results, making the site unusable.
How can I make the real time serach working again? What can I look at to troubleshoot this issue?
Thank you!

*

MB Themes

Re: Real time search not working - help!
« Reply #1 on: February 14, 2017, 10:52:31 AM »
What is your url?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MrWolf

  • **
  • 13 posts
Re: Real time search not working - help!
« Reply #2 on: February 14, 2017, 03:16:43 PM »

*

MB Themes

Re: Real time search not working - help!
« Reply #3 on: February 14, 2017, 03:43:32 PM »
@MrWolf
Live search works for me, just location selector not.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MrWolf

  • **
  • 13 posts
Re: Real time search not working - help!
« Reply #4 on: February 14, 2017, 03:56:47 PM »
I tried again right now, both the listings search and the location search doesn't work for me.
Without the location search users can't add new listings.
Any clue?

*

MB Themes

Re: Real time search not working - help!
« Reply #5 on: February 14, 2017, 08:23:07 PM »
@MrWolf
Live search works on both of your sites without any issue, you probably mean something else.
For locations, please PM me login to your FTP, for some reason list that should be shown is not...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MrWolf

  • **
  • 13 posts
Re: Real time search not working - help!
« Reply #6 on: February 16, 2017, 10:32:10 AM »
I have installed osclass again from scratch and all the plugins one by one, so far it's working.
However I may have found another bug, I'll pm you the details.

*

MB Themes

Re: Real time search not working - help!
« Reply #7 on: February 16, 2017, 05:51:02 PM »
@MrWolf
Hm, you should send those information so we could check as it was weird, there were no javascript issues and ajax worked as well, it seemed that just data are not filled...
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MrWolf

  • **
  • 13 posts
Re: Real time search not working - help!
« Reply #8 on: February 19, 2017, 10:40:48 PM »
It happened again  >:( >:( >:(
It was working, I started loading some test listings and users, and now it doesn't work anymore, exactly like in the previous installations  :'(

When I load the home page I get those errors in the log:

[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: fk_i_parent_id in /home/xxxxxxx/public_html/oc-includes/osclass/model/Category.php on line 364
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 480
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483
[19-Feb-2017 22:45:28] PHP Notice:  Undefined index: pk_i_id in /home/xxxxxxx/public_html/oc-content/themes/veronika/functions.php on line 483

I also tried to upload all the theme files again, without any modification, but I still get the errors and the ajax is not working.
« Last Edit: February 19, 2017, 10:49:26 PM by MrWolf »

Marked as best answer by MrWolf on February 20, 2017, 01:05:51 AM
*

MrWolf

  • **
  • 13 posts
Re: Real time search not working - help!
« Reply #9 on: February 19, 2017, 11:10:03 PM »
** UPDATE **

I found the cause for this issue: if you turn on the Osclass debug in the config file, the Ajax of this theme will not work.
Turn it off, and it will start working again.
I know it's hard to believe, but try and you'll see.
It's quite annoying, since leaving the debug feature on when you make modifications can be very useful.

*

MB Themes

Re: Real time search not working - help!
« Reply #10 on: February 20, 2017, 08:49:58 AM »
@MrWolf
Thanks for observation, I have investigated this. Problem is that if you enable debug mode, all ajax responses are returned with error state instead of success state. This is probably caused by debug mode.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

yetkiliuzman

  • ***
  • 56 posts
  • Yetkili Uzman
Re: Real time search not working - help!
« Reply #11 on: April 08, 2017, 12:01:10 PM »
HOW TO CLOSE ERROR DEPLOYMENT
Bilgi Paylaşılmalıdır

*

bobyrou

  • ****
  • 107 posts
Re: Real time search not working - help!
« Reply #12 on: April 24, 2017, 12:40:23 PM »
I have the same issue although I do have debug mode disabled. Live search seems to be working and not working randomly. There were many people complaining about the Live search so there is something not quite right with it, if you please check the live search code for any sort of possible issue. thanks

*

MB Themes

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots