As the title states, I am unable to generate a pdf of an invoice since the upgrade. I get a 500 server error. Here are the last lines of the log after trying to generate a pdf from an invoice:
[Tue Apr 08 13:00:10.573826 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1831, referer: http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.611790 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fopen(custom/modules/Meetings/Ext/Vardefs//vardefs.ext.php): failed to open stream: Permission denied in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 111, referer: http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.611871 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1830, referer: http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.611897 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1831, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.633488 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fopen(custom/modules/SM_Products/Ext/Vardefs//vardefs.ext.php): failed to open stream: Permission denied in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 111, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.633573 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1830, referer: http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.633599 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1831, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.640015 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fopen(custom/modules/SM_Contracts/Ext/Vardefs//vardefs.ext.php): failed to open stream: Permission denied in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 111, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.640104 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1830, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.640130 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1831, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.641546 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fopen(custom/modules/SM_Quotes/Ext/Vardefs//vardefs.ext.php): failed to open stream: Permission denied in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 111, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.641621 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1830, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.641646 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1831, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.680369 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fopen(custom/modules/Prospects/Ext/Vardefs//vardefs.ext.php): failed to open stream: Permission denied in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 111, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.680452 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1830, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:10.680477 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1831, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:32.891491 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fopen(custom/application/Ext/TableDictionary//tabledictionary.ext.php): failed to open stream: Permission denied in /var/www/suitecrm/include/utils/sugar_file_utils.php on line 111, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:32.891588 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1865, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:32.891618 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/suitecrm/ModuleInstall/ModuleInstaller.php on line 1866, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=Upgrade
[Tue Apr 08 13:00:36.069107 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Notice: Undefined index: modlink in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 70, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=repair
[Tue Apr 08 13:00:36.069192 2014] [:error] [pid 5864] [client xxx.xxx.xxx.xxx:1025] PHP Notice: Undefined index: custom in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 95, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=repair
[Tue Apr 08 13:01:05.168983 2014] [:error] [pid 5885] [client xxx.xxx.xxx.xxx:1027] PHP Notice: Undefined index: modlink in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 70, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=repair
[Tue Apr 08 13:01:05.169103 2014] [:error] [pid 5885] [client xxx.xxx.xxx.xxx:1027] PHP Notice: Undefined index: custom in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 95, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=repair
[Tue Apr 08 13:01:19.404626 2014] [:error] [pid 5618] [client xxx.xxx.xxx.xxx:1033] PHP Notice: Undefined index: modlink in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 70, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=index
[Tue Apr 08 13:01:19.404711 2014] [:error] [pid 5618] [client xxx.xxx.xxx.xxx:1033] PHP Notice: Undefined index: custom in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 95, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?module=Administration&action=index
[Tue Apr 08 13:01:26.708035 2014] [:error] [pid 5915] [client xxx.xxx.xxx.xxx:1031] PHP Notice: Undefined index: modlink in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 70, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?action=ajaxui
[Tue Apr 08 13:01:26.708137 2014] [:error] [pid 5915] [client xxx.xxx.xxx.xxx:1031] PHP Notice: Undefined index: custom in /var/www/suitecrm/themes/Suite7/css/colourSelector.php on line 95, referer:http://xxx.xxx.xxx.xxx/suitecrm/index.php?action=ajaxui