Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Search Dial BOX, not results were found

Search Dial BOX, not results were found

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 97 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    D
    dhecar
    wrote on last edited by
    #1

    Hi, the dial box search doesn't return me any results ( No results were found) , but if I call the function directly, it get the records:

    fop2/vphonebook.php?term=David

    SELECT phone1,phone2,CONCAT(firstname,' ',lastname,' (',company,')') AS name FROM visual_phonebook WHERE CONCAT(firstname,' ',lastname,' ',company) LIKE '%David%' AND context='' AND (owner='300' OR (owner<>'300' AND private='no')) [{"name":"David","value":"xxxxxx"},{"name":"David","value":"XXXX"},{"name":"David iglesias ","value":"ttttt"},{"name":"'Busquets David' ","value":"aaaa"},{"name":"David","value":"300"},{"name":")","value":"xxxxxxxx"}]

    What could be the problem?

    Thanks

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      It seems you have some kind of debug enabled, as you should not be seeing the sql query in front of the results.

      1 Reply Last reply
      0
      • D
        D
        dhecar
        wrote on last edited by
        #3

        I have put a print in code to see if the select is correct, I call directly with

        http://url/html/fop2/vphonebook.php?term=David

        but in

        http://url/html/fop2/ dial search box, nothing appear.

        1 Reply Last reply
        0
        • D
          D
          dhecar
          wrote on last edited by
          #4

          OK , now it works.... deleted echo line for debug purpose.

          Thanks

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups