Skip to main content
5 events
when toggle format what by license comment
Sep 1, 2017 at 15:45 comment added spinsheet I found that in the file sites/all/modules/civicrm/CRM/Utils/PDF/Document.php there is a line require_once 'TbsZip/tbszip.php that was throwing the following error in the Drupal logs: Warning: require_once(TbsZip/tbszip.php): failed to open stream: No such file or directory in require_once() (line 34 of /var/www/html/EXAMPLE/sites/all/modules/civicrm/CRM/Utils/PDF/Document.php). I commented that line out and now everything seems to work. Not sure what the repercussions of that are, or why it works on Test and not Prod.
Sep 1, 2017 at 12:50 comment added spinsheet I didn't see any 404 errors but there was the following 500 error: GET example.org/civicrm/admin/messageTemplates/… 500 (Internal Server Error) Where 'example' is replacing the actual URL. So for some reason even after setting my JS not to aggregate it's still aggregating.
Sep 1, 2017 at 1:13 comment added Jon G - Megaphone Tech You may be getting the same results - but if your JS is no longer aggregated, then your console should report the JS error in a different filename, which should be a clue. Did you find any 404 errors?
Aug 31, 2017 at 16:26 comment added spinsheet Thanks for the help. I do have JS aggregation turned off. I just added $config['system.performance']['js']['preprocess'] = TRUE; to my settings.php file as per the post that you linked to, just to verify. I'm still getting the same results. One of the errors I neglected to add to the error message is: 'civicrm/admin/messageTemplates/add?action=add&reset=1 500 (Internal Server Error)'
Aug 31, 2017 at 16:14 history answered Jon G - Megaphone Tech CC BY-SA 3.0