Admin panel blank after installation
-
Morning all.
I've installed FOP2 on a vanilla Asterisk 20 install on Centos 7.
FOP2 page shows me the login but the admin page is blank. In the httpd log it gives me the error
"PHP Fatal error: Uncaught Error: Call to a member function seekto() on null in /var/www/html/fop2/admin/gettext.php:148"I have tried to backtrace the code to see if I can work out what that error is caused by but I keep getting lost. Has anyone come across this one before?
Many thanks in advance.
Mike -
-
I am moving to Rocky Linux and having the same problem. I was able to bypass the error by just doing a return in the function.
function load_tables() {
return;
if (is_array($this->cache_translations) &&
is_array($this->table_originals) &&
is_array($this->table_translations))
return;- Looks like all these arrays are empty and I can't figure out why, yet.
Since Rocky Linux is running php 8, I started finding more and more problems. Arrays using { brackets and not [
I changed /var/www/html/fop2/admin/parsecsv.lib.php
$ch = $data[$i];
I then had a problem with buttons page after login:
/var/www/html/fop2/admin/menu.php
-- if(count($extramenu[basename(SELF)][$arrdata['name']])>0) { - Looks like all these arrays are empty and I can't figure out why, yet.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login