0

Ive been thrust into trying to help a buddy fix his civicrm deployment and I cannot find a way to generate this template necessary to populate that page.

Looking at the errors it is looking for the following file but it isn't there. The directory is there and empty.

templates_c/en_US//%%45/45F/45F354E8%%ICalendar.tpl.php

I can figure out that there is a ICal.tpl file in the default templates folder, but I can't figure out how to regenerate the tpl.php file anywhere, nor did my poor attempts to hacking at php templates and copy it over work.

What generates the pre-pended ID? Is there a way to regenerate this file directly? I have no idea if its a custom template or not, but I dont think it is.

I have searched and have found nothing

Thanks

3
  • 2
    Can you post the error message? With a stack trace if you have it (see civicrm.stackexchange.com/questions/15931/…). The templates_c folder is a cache folder that holds compiled templates and will regenerate as needed, assuming the web server has write access.
    – Demerit
    Feb 6, 2022 at 17:56
  • To add on to what @Demerit said - templates_c can be deleted at any time and it will be automatically regenerated. If a file isn't there, it's generally a permissions issue; check the file permissions and the file owner. The file owner should be the same user that PHP runs under - e.g. www-data on Debian w/ mod_php, or the user specified by your pool.d if running php-fpm. Feb 8, 2022 at 4:31
  • Turns out, it was permissions. I have no idea how that got broken since no one should have been touching this. Thanks @JonG-MegaphoneTech Feb 12, 2022 at 21:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.