<?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[Admin Panel / Credentials Issue]]></title><description><![CDATA[<p dir="auto"><a href="http://forum.fop2.com/4398-manager-connection-problem/0" rel="nofollow ugc">http://forum.fop2.com/4398-manager-connection-problem/0</a><br />
We are encountering what is described in this thread. We have attempted the suggestions from there but without desired results.</p>
<p dir="auto">When we try and login to fop2 directly we get invalid credentials.<br />
We can login to freepbx then login to fop2 and it wall allow connection.<br />
Issue is admin panel has no data but operator users can still use and function with what was previously built.<br />
Our Call history is also missing like in previous case.<br />
We did verify that info in the manager_custom.conf matches what’s in the fop2.cfg file.</p>
<p dir="auto">FreePBX - Version 15.0.16<br />
FOP2 - Version 2.31.23<br />
FOP2 Manager - Version 1.2.2</p>
]]></description><link>http://localhost:4567/topic/2717/admin-panel-credentials-issue</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 07:27:16 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2717.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Jun 2019 14:04:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Admin Panel / Credentials Issue on Thu, 01 Aug 2019 15:48:46 GMT]]></title><description><![CDATA[<p dir="auto">Please see <a href="https://www.fop2.com/docs/installation.php#AccessingtheFOP2Manager" rel="nofollow ugc">https://www.fop2.com/docs/installation.php#AccessingtheFOP2Manager</a> -- if you can get to FOP2/admin when logged into FreePBX you have USE_BACKEND_AUTH = TRUE in /var/www/html/fop2/admin/config.php.  You can also set admin UN/PW there.</p>
<p dir="auto">Also, Note that FreePBX 15 is still beta and there have been MANY changes, so FOP2 is not fully integrated.  If you can't access the CDR from FOP2, try this:</p>
<blockquote>
<p dir="auto">Problems is not credentials but that freepbx.conf file in /etc/ differs in format from the one in /etc/freepbx.  You can do a quick fix by editing /var/www/html/fop2/config.php and replace (at the end of the file), the function parse_amportal_conf with this version:</p>
<p dir="auto">function parse_amportal_conf($filename) {</p>
<p dir="auto">$file = file($filename);<br />
if (is_array($file)) {<br />
foreach ($file as $line) {<br />
if (preg_match("/^\s*([^=]<em>)\s</em>=\s*["']?([\w/:.,}{&gt;&lt;()*?%!=+#@&amp;\$-]<em>)["']?\s</em>([;].*)?/",$line,$matches)) {<br />
if(preg_match('/$amp_conf/',$matches[1])) {<br />
$matches[1] = preg_replace('/$amp_conf['/','',$matches[1]);<br />
$matches[1] = trim($matches[1]);<br />
$matches[1] = substr($matches[1],0,-2);<br />
}<br />
$matches[1] = trim($matches[1]);<br />
$conf[ $matches[1] ] = trim($matches[2]);<br />
}<br />
}<br />
} else {<br />
die("&lt;h1&gt;".sprintf("Missing or unreadable config file (%s)...cannot continue", $filename)."&lt;/h1&gt;");<br />
}<br />
return $conf;<br />
}<br />
Nicolás Gudiño Jul 31, 22:07</p>
</blockquote>
]]></description><link>http://localhost:4567/post/11490</link><guid isPermaLink="true">http://localhost:4567/post/11490</guid><dc:creator><![CDATA[jerryriggin]]></dc:creator><pubDate>Thu, 01 Aug 2019 15:48:46 GMT</pubDate></item></channel></rss>