<?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[SQL errors ]]></title><description><![CDATA[<p dir="auto">Hello, after updating freepbx, observed the admin page is not showing any users!<br />
as well,  running the pl script is giving sql error:</p>
<p dir="auto">──────────────────────────────────────────────────┐<br />
│ literal │<br />
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘<br />
string (143) “256, SQL Error: SELECT modulename FROM fop2.modules WHERE enabled=1<br />
Table ‘fop2.modules’ doesn’t exist (/var/www/html/fop2/admin/dblib.php, 108”<br />
═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════<br />
Called from …/functions.php:2592 [fop2manager_error()]</p>
<p dir="auto">┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐<br />
│ literal │<br />
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘<br />
string (145) “256, SQL Error: SELECT value FROM fop2.admin WHERE variable=‘version’<br />
Table ‘fop2.admin’ doesn’t exist (/var/www/html/fop2/admin/dblib.php, 108”<br />
═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════<br />
Called from …/functions.php:2592 [fop2manager_error()]<br />
Updating buttons for context GENERAL</p>
<p dir="auto">┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐<br />
│ literal │<br />
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘<br />
string (109) “256, SQL Error: DESC fop2.trunks<br />
Table ‘fop2.trunks’ doesn’t exist (/var/www/html/fop2/admin/dblib.php, 108”<br />
═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════<br />
Called from …/functions.php:2592 [fop2manager_error()]</p>
<p dir="auto">┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐<br />
│ literal │<br />
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘<br />
string (597) “256, SQL Error: SELECT t.variable, t.value, d.value state FROM globals t JOIN (SELECT x.variable, x.value FROM globals x WHERE x.variable LIKE ‘OUTDISABLE_%’) d ON substring(t.variable,5) = substring(d.variable,12) WHERE t.variable LIKE ‘OUT_%’ UNION ALL SELECT v.variable, v.value, concat(substring(v.value,1,0),‘off’) state FROM globals v WHERE v.variable LIKE ‘OUT_%’ AND concat(‘OUTDISABLE_’,substring(v.variable,5)) NOT IN ( SELECT variable from globals WHERE variable LIKE ‘OUTDISABLE_%’ ) ORDER BY variable<br />
Table ‘fop2.globals’ doesn’t exist (/var/www/html/fop2/admin/dblib.php, 108”<br />
═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════<br />
Called from …/functions.php:2592 [fop2manager_error()]</p>
<p dir="auto">┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐<br />
│ literal │<br />
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘<br />
string (109) “256, SQL Error: DESC fop2.trunks<br />
Table ‘fop2.trunks’ doesn’t exist (/var/www/html/fop2/admin/dblib.php, 108”<br />
═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════<br />
Called from …/functions.php:2592 [fop2manager_error()]</p>
<p dir="auto">┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐<br />
│ literal │<br />
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘<br />
string (597) “256, SQL Error: SELECT t.variable, t.value, d.value state FROM globals t JOIN (SELECT x.variable, x.value FROM globals x WHERE x.variable LIKE ‘OUTDISABLE_%’) d ON substring(t.variable,5) = substring(d.variable,12) WHERE t.variable LIKE ‘OUT_%’ UNION ALL SELECT v.variable, v.value, concat(substring(v.value,1,0),‘off’) state FROM globals v WHERE v.variable LIKE ‘OUT_%’ AND concat(‘OUTDISABLE_’,substring(v.variable,5)) NOT IN ( SELECT variable from globals WHERE variable LIKE ‘OUTDISABLE_%’ ) ORDER BY variable<br />
Table ‘fop2.globals’ doesn’t exist (/var/www/html/fop2/admin/dblib.php, 108”<br />
═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════<br />
Called from …/functions.php:2592 [fop2manager_error()]</p>
<p dir="auto">Finished!</p>
]]></description><link>http://localhost:4567/topic/2729/sql-errors</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 01:46:46 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2729.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 23 Sep 2019 06:09:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SQL errors  on Thu, 26 Sep 2019 22:05:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Please update FOP2 to the latest version (released two days ago), it should fix the issue.</p>
<p dir="auto">If you want to do it manually, edit the file /var/www/html/fop2/admin/system.php and look for the string</p>
<p dir="auto">"amportal.conf"</p>
<p dir="auto">and replace it with</p>
<p dir="auto">"xxxxamportal.conf"</p>
<p dir="auto">That should fix the issue also (quick and dirty). It is best to update to latest with this command:</p>
<pre><code>wget -O - http://download.fop2.com/upgrade_fop2.sh | bash
</code></pre>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/11538</link><guid isPermaLink="true">http://localhost:4567/post/11538</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 26 Sep 2019 22:05:04 GMT</pubDate></item></channel></rss>