admin buttons page shows nothing
Hi,
FOP2 works very well! Users are happy with it.
But when I click 'buttons' in the admin panel the pages (/fop2/admin/pagebs.fop2buttons.php) remains white, nothing shows up. This started when I was working in the admin panel and clicking between various options (i.e. plugins, users, buttons). Any suggestions?
[edit]
I found an entry in the error log that says:
PHP Fatal error: require_once(): Failed opening required 'parsecsv.lib.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/fop2/admin/pagebs.fop2buttons.php on line 8, referer: http://piaf.iucn.nl/fop2/admin/
kind regards,
Tom
registered fop2 version 2.28 (but on the main admin page it says 2.00)
FreePBX Version = 2.10.1.19
Running Asterisk Version = 11.10.0
Operating System = CentOS release 6.5 (Final)
FOP2 works very well! Users are happy with it.
But when I click 'buttons' in the admin panel the pages (/fop2/admin/pagebs.fop2buttons.php) remains white, nothing shows up. This started when I was working in the admin panel and clicking between various options (i.e. plugins, users, buttons). Any suggestions?
[edit]
I found an entry in the error log that says:
PHP Fatal error: require_once(): Failed opening required 'parsecsv.lib.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/fop2/admin/pagebs.fop2buttons.php on line 8, referer: http://piaf.iucn.nl/fop2/admin/
kind regards,
Tom
registered fop2 version 2.28 (but on the main admin page it says 2.00)
FreePBX Version = 2.10.1.19
Running Asterisk Version = 11.10.0
Operating System = CentOS release 6.5 (Final)
Comments
Tom
If you upgrade the FOP2 Manager via web, and permissions/ownership of /var/www/html/fop2/admin are not correct, you will experience that issue (new files are not added, existing files *are* updated).
So, in oder to prevent a similar problem to occur on the next update, be sure to change ownership of that directory.... in FreePBX the user is normally "asterisk", so try
chown asterisk.asterisk /var/www/html/fop2/admin
chown asterisk.asterisk /var/www/html/fop2/admin/* -R
Best regards,
Thanks for the reply, I changed the ownership of the fop2 admin folder contents to asterisk. I upgraded with the webinterface last month so it could have happened the way you suggest.
regards,
Tom