Getting error in php editor

Status
Not open for further replies.

Johnpbx

New Member
Feb 28, 2018
21
0
1
47
When attempting to open php editor, I'm getting this error.



Fatal error: Call to undefined function imagecreate() in /var/www/fusionpbx/resources/classes/captcha.php on line 143

ANY help is appreciated
 

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
The library shouldn't be missing if you installed Fusion using the recommended installer on a clean install of the recommended operating system. But to answer your question:

Assuming you are running Debian as your OS the standard method would be...
If you are logged in as root just run:
apt-get install php-gd
or, if non root:
sudo apt-get install php-gd

But be aware, I believe that Fusion uses different php source than the standard Debian packages.
 

Johnpbx

New Member
Feb 28, 2018
21
0
1
47
It was a clean install and it always worked, I tried to update PHP package but didn't help
 

JamesBorne

Active Member
Jan 24, 2019
294
57
28
Australia
I just installed FusionPBX on Debian 10 and had no issues with Adminer.
I suspect you changed something to get that result.
 
Status
Not open for further replies.