<?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[Got error on visual phonebook]]></title><description><![CDATA[<p dir="auto">Hi, I'mt getting this error on visual phonebook:</p>
<p dir="auto">Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/htdocs/fop2/lib/dblib.php on line 4</p>
<p dir="auto">Find in forum but not found nothing.<br />
FOP 2.10</p>
<p dir="auto">Thanks</p>
]]></description><link>http://localhost:4567/topic/325/got-error-on-visual-phonebook</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 06:41:17 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/325.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Mar 2010 21:09:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Got error on visual phonebook on Tue, 13 Apr 2010 09:48:53 GMT]]></title><description><![CDATA[<pre><code>mysql -u root -pXXXXX fop2 -e "desc visual_phonebook"
</code></pre>
<p dir="auto">Does that show the table structure as depicted in mysql.db ?</p>
<p dir="auto">If so, and if credentials are ok, the phonebook should work fine, with no errors.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1518</link><guid isPermaLink="true">http://localhost:4567/post/1518</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 13 Apr 2010 09:48:53 GMT</pubDate></item><item><title><![CDATA[Reply to Got error on visual phonebook on Mon, 12 Apr 2010 22:53:59 GMT]]></title><description><![CDATA[<p dir="auto">I followed these instructions</p>
<p dir="auto">The visual phonebook requires php and mysql to be installed and running. You need to create a database and a table and give proper mysql credentials to the php application so it can read and write to the table. You also have to configure the language for the php application. In order to start, be sure to create a database for mysql using the proper password (replace XXXXX with your mysql root password):</p>
<p dir="auto">#&gt; cd /var/www/html/fop2<br />
#&gt; mysqladmin -u root -pXXXXX create fop2<br />
#&gt; mysql -u root -pXXXXX fop2 &lt; mysql.db<br />
After creating a database and the table, you might want to create a special mysql user for FOP2:</p>
<p dir="auto">#&gt; mysql -u root -pXXXXX -e <br />
"grant all privileges on fop2.* to fop2@'localhost' <br />
identified by 'myPassw0rd'"<br />
Finally you have to edit the configuration file and set the language and proper mysql credentials:</p>
<p dir="auto">/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">$language="en";</p>
<p dir="auto">// ---------------------------------------------------------<br />
// Do not modify below this line<br />
// ---------------------------------------------------------<br />
..</p>
<p dir="auto">I'm using pbxinaflash<br />
Gary</p>
]]></description><link>http://localhost:4567/post/1517</link><guid isPermaLink="true">http://localhost:4567/post/1517</guid><dc:creator><![CDATA[ou812]]></dc:creator><pubDate>Mon, 12 Apr 2010 22:53:59 GMT</pubDate></item><item><title><![CDATA[Reply to Got error on visual phonebook on Mon, 12 Apr 2010 21:47:20 GMT]]></title><description><![CDATA[<p dir="auto">Did you read the FAQ? You have to create a database and edit config.php in order for the phonebook to work.</p>
]]></description><link>http://localhost:4567/post/1516</link><guid isPermaLink="true">http://localhost:4567/post/1516</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 12 Apr 2010 21:47:20 GMT</pubDate></item><item><title><![CDATA[Reply to Got error on visual phonebook on Mon, 12 Apr 2010 20:54:31 GMT]]></title><description><![CDATA[<p dir="auto">When I try to access phone book I also get an error<br />
(An error has occurred)<br />
I'm using PHP ver 5.1.6</p>
<p dir="auto">Gary</p>
]]></description><link>http://localhost:4567/post/1515</link><guid isPermaLink="true">http://localhost:4567/post/1515</guid><dc:creator><![CDATA[ou812]]></dc:creator><pubDate>Mon, 12 Apr 2010 20:54:31 GMT</pubDate></item><item><title><![CDATA[Reply to Got error on visual phonebook on Wed, 31 Mar 2010 21:31:24 GMT]]></title><description><![CDATA[<p dir="auto">What php version are you using?</p>
]]></description><link>http://localhost:4567/post/1514</link><guid isPermaLink="true">http://localhost:4567/post/1514</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 31 Mar 2010 21:31:24 GMT</pubDate></item></channel></rss>