Visual Phonebook - An error has occured
-
Hi,
I have installed fop2 and configured as below:
cd /var/www/html/fop2
mysqladmin -u root -peLaStIx.2oo7 create fop2
mysql -u root -peLaStIx.2oo7 < mysql.db
mysql -u root -peLaStIx.2oo7 -e
"grant all privileges on fop2.* to fop2@'localhost'
identified by 'myPassw0rd'"edit: /var/www/html/fop2/config.php
<?
// Database connection details
$DBHOST = 'localhost';
$DBNAME = 'fop2';
$DBUSER = 'fop2';
$DBPASS = 'myPassw0rd';Whenever i open visual phonebook or try and add an entry i get a message saying an error has occured
Runing PHP 5.2 and sql 5.0
if i do **mysql -u root -pXXXXX fop2 -e "desc visual_phonebook" ** i get;
[root@elastix ~]# mysql -u root -peLaStIx.2oo7 fop2 -e "desc visual_phonebook"
+-----------+------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+------------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| firstname | varchar(50) | YES | MUL | NULL | |
| lastname | varchar(50) | YES | | NULL | |
| company | varchar(100) | YES | | NULL | |
| phone1 | varchar(50) | YES | | NULL | |
| phone2 | varchar(50) | YES | | NULL | |
| owner | varchar(50) | YES | | | |
| private | enum('yes','no') | YES | | no | |
| picture | varchar(100) | YES | | NULL | |
| context | varchar(150) | YES | | | |
+-----------+------------------+------+-----+---------+----------------+Any ideas where i have gone wrong.
Thanks Dan
-
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