However, If I go to edit the template from where the UDT is called, it will not allow me to save any changes - there is no error, it just will not acknowledge that I have pressed save or update.
I have narrowed the problem code down to these two lines:
Code: Select all
    if (!file_exists($LOCAL_FILENAME)) {
        die("Script error: $LOCAL_FILENAME does not exist. Please create a blank file 
named $LOCAL_FILENAME.");
    }
    if (!is_writable($LOCAL_FILENAME)) {
        die("Script error: $LOCAL_FILENAME is not writable. Please set write permissions 
on $LOCAL_FILENAME.");
   
 }The code in the UDT is from a third party and intended to display adverts.
If any more info needed let me know, and also if I have posted in the wrong section left me know.



