Long user of FreePBX distro here. I’ve been having problems trying to upgrade to the newest version of FREEPBX but was having wget problems. I made a change in my wget line and now my web sever is not functional. I’ve tried locating a copy of the of the functions.inc.php file but I’ve been unable to find one.
Here is my error:
PHP Parse error: syntax error, unexpected T_STRING in /var/www/html/admin/functions.inc.php on line 492
It got messed up because I was trying to edit the file with the vi editor and I am not sure how to use it. I was trying to edit this line because of a suggested post at: http://issues.freepbx.org/browse/FREEPBX-7994 I should have made a backup before I did any editing.
I was hoping I could find another /admin/.fuctions.inc.php and just copy of over it.
Any clues? I would hate to rebuild, when the fix seems simple. Everything was working fine before I started doing all these updates and trying to figure out why some files were not downloading.