<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Visual Phonebook - An error has occured]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have installed fop2 and configured as below:</p>
<p dir="auto">cd /var/www/html/fop2<br />
mysqladmin -u root -peLaStIx.2oo7 create fop2<br />
mysql -u root -peLaStIx.2oo7 &lt; mysql.db<br />
mysql -u root -peLaStIx.2oo7 -e<br />
"grant all privileges on fop2.* to fop2@'localhost'<br />
identified by 'myPassw0rd'"</p>
<p dir="auto">edit: /var/www/html/fop2/config.php<br />
&lt;?<br />
// Database connection details<br />
$DBHOST = 'localhost';<br />
$DBNAME = 'fop2';<br />
$DBUSER = 'fop2';<br />
$DBPASS = 'myPassw0rd';</p>
<p dir="auto">Whenever i open visual phonebook or try and add an entry i get  a message saying an error has occured</p>
<p dir="auto">Runing PHP 5.2 and sql 5.0</p>
<p dir="auto">if i do **mysql -u root -pXXXXX fop2 -e "desc visual_phonebook" ** i get;</p>
<p dir="auto">[root@elastix ~]# mysql -u root -peLaStIx.2oo7 fop2 -e "desc visual_phonebook"<br />
+-----------+------------------+------+-----+---------+----------------+<br />
| Field     | Type             | Null | Key | Default | Extra          |<br />
+-----------+------------------+------+-----+---------+----------------+<br />
| id        | int(11)          | NO   | PRI | NULL    | auto_increment |<br />
| firstname | varchar(50)      | YES  | MUL | NULL    |                |<br />
| lastname  | varchar(50)      | YES  |     | NULL    |                |<br />
| company   | varchar(100)     | YES  |     | NULL    |                |<br />
| phone1    | varchar(50)      | YES  |     | NULL    |                |<br />
| phone2    | varchar(50)      | YES  |     | NULL    |                |<br />
| owner     | varchar(50)      | YES  |     |         |                |<br />
| private   | enum('yes','no') | YES  |     | no      |                |<br />
| picture   | varchar(100)     | YES  |     | NULL    |                |<br />
| context   | varchar(150)     | YES  |     |         |                |<br />
+-----------+------------------+------+-----+---------+----------------+</p>
<p dir="auto">Any ideas where i have gone wrong.</p>
<p dir="auto">Thanks Dan</p>
]]></description><link>http://localhost:4567/topic/385/visual-phonebook-an-error-has-occured</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 06:23:26 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/385.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 May 2010 11:54:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Visual Phonebook - An error has occured on Mon, 03 May 2010 15:34:23 GMT]]></title><description><![CDATA[<p dir="auto">So you CAN open the phonebook, it appears with no records, and when you try to add it gives you an error. Can you write that error exactly? There is one command that lackats the "fop2" database but you have the table created as you have shown..</p>
]]></description><link>http://localhost:4567/post/1763</link><guid isPermaLink="true">http://localhost:4567/post/1763</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 03 May 2010 15:34:23 GMT</pubDate></item></channel></rss>