<?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[Blank screen after dialog on log-in]]></title><description><![CDATA[<p dir="auto">Hi following an upgrade from 2.26 to 2.28, I have a bank screen following log in. I'm logging in with the same credentials as per the earlier version of FOP2. I'm presented with a dialog to choose a drop down station ID (which is unrelated to the login ID) and then a profiles drop down. After that, blank....</p>
]]></description><link>http://localhost:4567/topic/1913/blank-screen-after-dialog-on-log-in</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 06:04:27 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1913.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 14 Feb 2015 17:15:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Thu, 19 Feb 2015 18:12:15 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your help. I will PM you the outputs.</p>
]]></description><link>http://localhost:4567/post/8357</link><guid isPermaLink="true">http://localhost:4567/post/8357</guid><dc:creator><![CDATA[simcity]]></dc:creator><pubDate>Thu, 19 Feb 2015 18:12:15 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Thu, 19 Feb 2015 17:35:17 GMT]]></title><description><![CDATA[<p dir="auto">What you see is a result of the configuration. Something is amiss in the configuration itself, but I cannot help you out without looking at the actual data. Check /usr/local/fop2/fop2.cfg and see if you have a line at the end like this: #exec <a href="http://autoconfig-users.sh" rel="nofollow ugc">autoconfig-users.sh</a></p>
<p dir="auto">If you do, then run that script: /usr/local/fop2/autoconfig-users.sh</p>
<p dir="auto">Inspect the output, look for the user=xxx:yyy line involving the extension you use to log into FOP2.</p>
<p dir="auto">That line will not only show the user:password:permissions, but also the groups assigned to that extension. You can limit what buttons are displayed by using groups. There could be a problem there, but it is hard to say without looking at the actual output from the config file. Be careful with posting that here as it will contain passwords and probably other sensitive information. You can send it to me privately or via email, or live help if you prefer.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/8356</link><guid isPermaLink="true">http://localhost:4567/post/8356</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 19 Feb 2015 17:35:17 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Thu, 19 Feb 2015 16:13:04 GMT]]></title><description><![CDATA[<p dir="auto">It basically lists every conference, extension, ring group and trunk on the system together with the type, extension, label, context, queuechannel, customastb, etc, etc for each.</p>
]]></description><link>http://localhost:4567/post/8355</link><guid isPermaLink="true">http://localhost:4567/post/8355</guid><dc:creator><![CDATA[simcity]]></dc:creator><pubDate>Thu, 19 Feb 2015 16:13:04 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Thu, 19 Feb 2015 14:56:06 GMT]]></title><description><![CDATA[<p dir="auto">I wanted to see the output when you run that script, not the contents of it. Please run it and paste the output:</p>
<p dir="auto">[fixed]<br />
/usr/local/fop2/autoconfig-buttons.sh<br />
[/fixed]</p>
]]></description><link>http://localhost:4567/post/8354</link><guid isPermaLink="true">http://localhost:4567/post/8354</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 19 Feb 2015 14:56:06 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Thu, 19 Feb 2015 14:38:32 GMT]]></title><description><![CDATA[<pre><code>#!/bin/bash

if [ -e /etc/amportal.conf ]; then
DBNAME=`cat /etc/amportal.conf | sed 's/ //g' | grep ^AMPDBNAME | cut -d= -f2 | tail -n1`
DBUSER=`cat /etc/amportal.conf | sed 's/ //g' | grep ^AMPDBUSER | cut -d= -f2 | tail -n1`
DBPASSLINE=`cat /etc/amportal.conf | grep ^AMPDBPASS | tail -n1`
DBSTRIP=`echo $DBPASSLINE | cut -d= -f1`
DBPASS=`echo $DBPASSLINE | sed "s/$DBSTRIP=//g"`
DBHOST=`cat /etc/amportal.conf | sed 's/ //g' | grep ^AMPDBHOST | cut -d= -f2 | tail -n1`

elif [ -e /etc/freepbx.conf ]; then
DBNAME=`cat /etc/freepbx.conf | sed 's/ //g' | grep ^AMPDBNAME | cut -d= -f2 | tail -n1`
DBUSER=`cat /etc/freepbx.conf | sed 's/ //g' | grep ^AMPDBUSER | cut -d= -f2 | tail -n1`
DBPASSLINE=`cat /etc/freepbx.conf | grep ^AMPDBPASS | tail -n1`
DBSTRIP=`echo $DBPASSLINE | cut -d= -f1`
DBPASS=`echo $DBPASSLINE | sed "s/$DBSTRIP=//g"`
DBHOST=`cat /etc/freepbx.conf | sed 's/ //g' | grep ^AMPDBHOST | cut -d= -f2 | tail -n1`

elif [ -e /var/thirdlane_load/pbxportal-ast.sysconfig ]; then
DBNAME='pbxconf'
DBHOST='localhost'
DBUSER=`cat /var/thirdlane_load/pbxportal-ast.sysconfig | sed 's/ //g' | grep ^DBUSER | cut -d= -f2 | tail -n1`
DBPASSLINE=`cat /var/thirdlane_load/pbxportal-ast.sysconfig | grep ^DBPASS | tail -n1`
DBSTRIP=`echo $DBPASSLINE | cut -d= -f1`
DBPASS=`echo $DBPASSLINE | sed "s/$DBSTRIP=//g"`

elif [ -e /var/www/html/fop2/admin/config.php ]; then

DBNAME=`cat /var/www/html/fop2/admin/config.php | sed 's/ //g' | grep ^\\$DBNAME | cut -d= -f2 | tail -n1`
DBUSER=`cat /var/www/html/fop2/admin/config.php | sed 's/ //g' | grep ^\\$DBUSER | cut -d= -f2 | tail -n1`
DBPASSLINE=`cat /var/www/html/fop2/admin/config.php | grep ^\\$DBPASS | tail -n1`
DBSTRIP=`echo $DBPASSLINE | cut -d= -f1`
DBPASS=`echo $DBPASSLINE | sed "s/$DBSTRIP=//g"`
DBHOST=`cat /var/www/html/fop2/admin/config.php | sed 's/ //g' | grep ^\\$DBHOST | cut -d= -f2 | tail -n1`
DBNAME=${DBNAME:1}
DBNAME=${DBNAME%??}
DBUSER=${DBUSER:1}
DBUSER=${DBUSER%??}
DBPASS=${DBPASS:1}
DBPASS=${DBPASS%??}
DBHOST=${DBHOST:1}
DBHOST=${DBHOST%??}
else
DBHOST='none'
fi

if [ "x$DBPASS" != "x" ]; then
DBPASS="-p${DBPASS}"
fi

hash_insert () {
local name=$1 key=$2 val=$3
eval __hash_${name}_${key}=$val
}

hash_get () {
local name=$1 key=$2
eval "v=__hash_${name}_${key}"
eval "$3=\$$v"
}

FOP2ADMIN=0
# Only check for table presence if mysql connection is ok
mysql -u $DBUSER $DBPASS -h $DBHOST $DBNAME -e "SELECT now()" &amp;&gt;/dev/null
if [ $? == 0 ]; then
# Verify if the fop2admin table exists for fop2manager/fop2admin
while read line; do
let FOP2ADMIN=FOP2ADMIN+1
done &lt; &lt;( mysql -NB -u $DBUSER $DBPASS -h $DBHOST $DBNAME -e "SHOW tables FROM \`$DBNAME\` LIKE 'fop2users'";  )
else
echo "# Problem connecting to mysql"
echo
fi

if [ "$FOP2ADMIN" -gt 0 ]; then

# Fields we want to query
WANTED_FIELDS="queuechannel originatechannel customastdb spyoptions external tags extenvoicemail queuecontext";

eval `mysql -E -u $DBUSER $DBPASS -h $DBHOST $DBNAME -e "DESC fop2buttons" | grep Field | sed 's/Field: //g' | while read LINEA; do echo "hash_insert existentFields $LINEA '1';"; done;`

EXISTING_FIELDS=""
for A in $WANTED_FIELDS
do
hash_get existentFields $A tiene
if [ "$tiene" = "1" ]; then
EXISTING_FIELDS="${EXISTING_FIELDS}$A,"
fi
done

FINAL_FIELDS=${EXISTING_FIELDS%?};

hash_get existentFields sortorder tiene
if [ "$tiene" = "1" ]; then
    ORDER="type,sortorder,(exten+0)"
else
    ORDER="type,(exten+0)"
fi

mysql -EB -u $DBUSER $DBPASS -h $DBHOST $DBNAME -e \
    "SET NAMES utf8; SELECT device AS channel,type,if(type&lt;&gt;'trunk',exten,'') AS extension,\
    label, mailbox, context, privacy,\`group\`,IF(type='trunk',IF(email&lt;&gt;'',concat('splitme-',email),''),email) as email, \
    channel as extrachannel, $FINAL_FIELDS FROM fop2buttons \
    WHERE exclude=0 \
    ORDER BY $ORDER" | sed '/\*\*/d' | sed 's/: /=/g' | sed '/.*=$/d' | while read LINEA
do
echo $LINEA | sed '/NULL/d' | sed 's/^channel=\(.*\)/\n[\1]/g' | sed 's/^extrachannel/channel/g'
echo $LINEA | grep -qi "^email=splitme"
if [ $? = 0 ]; then
RANGE=`echo $LINEA | sed 's/^email=splitme-//g' | sed 's/-/ /g'`
for ZAPNUM in `seq $RANGE`
do
echo "channel=DAHDI/$ZAPNUM"
echo "channel=DAHDI/i$ZAPNUM"
echo "channel=ZAP/$ZAPNUM"
done
fi
done


echo 
if [ -f /usr/local/fop2/buttons_custom.cfg ]; then
cat /usr/local/fop2/buttons_custom.cfg
fi

else
echo "! Cannot connect to Fo2 Manager database"
fi
</code></pre>
]]></description><link>http://localhost:4567/post/8353</link><guid isPermaLink="true">http://localhost:4567/post/8353</guid><dc:creator><![CDATA[simcity]]></dc:creator><pubDate>Thu, 19 Feb 2015 14:38:32 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Thu, 19 Feb 2015 00:40:45 GMT]]></title><description><![CDATA[<p dir="auto">what is the output from:</p>
<p dir="auto">/usr/local/fop2/autoconfig-buttons.sh</p>
<p dir="auto">?</p>
]]></description><link>http://localhost:4567/post/8352</link><guid isPermaLink="true">http://localhost:4567/post/8352</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 19 Feb 2015 00:40:45 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Thu, 19 Feb 2015 00:13:57 GMT]]></title><description><![CDATA[<p dir="auto">Tried that.</p>
<p dir="auto">No dialog box prompting for station ID/profiles, but screen still <em>completely</em> blank after login?</p>
<p dir="auto">The only thing displayed is the banner at the very bottom of the screen:</p>
<p dir="auto">FOP2 - Version 2.28 - Licensed to etc, etc</p>
<p dir="auto">All else is is a nice crisp blank white....</p>
]]></description><link>http://localhost:4567/post/8351</link><guid isPermaLink="true">http://localhost:4567/post/8351</guid><dc:creator><![CDATA[simcity]]></dc:creator><pubDate>Thu, 19 Feb 2015 00:13:57 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen after dialog on log-in on Mon, 16 Feb 2015 20:30:47 GMT]]></title><description><![CDATA[<p dir="auto">Uninstall the hotdesk plugin. Then try again. (And do not reinstall that plugin again unless you really know what you are doing, and as the plugin is not really documented,  it is dangerous to use it).</p>
]]></description><link>http://localhost:4567/post/8350</link><guid isPermaLink="true">http://localhost:4567/post/8350</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 16 Feb 2015 20:30:47 GMT</pubDate></item></channel></rss>