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. Visual Phonebook Problem

Visual Phonebook Problem

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 60 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.
  • E
    E
    encryptedangel
    wrote on last edited by
    #1

    Ok, I am at this point:

    mysql> use fop2
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Database changed
    mysql> select * from visual_phonebook;
    +----+-----------+----------+---------+------------+--------+---------+
    | id | firstname | lastname | company | phone1 | phone2 | picture |
    +----+-----------+----------+---------+------------+--------+---------+
    | 1 | john | doe | NULL | 0141123456 | NULL | NULL |
    +----+-----------+----------+---------+------------+--------+---------+
    1 row in set (0.00 sec)

    I have tried both root permissions in config.php and for new user fop2 to connect with database. Also I have turned short tags on in php.ini

    Still, when I try to open Visual Phonebook, it seems just empty for me. Any clue what's happening????

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

      Empty means as "no records" or "blank page"? If you have configured the dbname, user and pass at the top of config.php, that is all you need and it must work. If the connection with those credentials fails, then the phonebook will try to read /etc/amportal.conf and use whatever database name and credentials are set there.

      If you use freepbx, you should not create a database and do nothing, as it will be auto handled by the application itself. Only if you are not using freepbx you have to create the database/table and setup the correct credentials in config.php

      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