Possible bug?

Archived from the Xataface Users forum.

radeski — Tue Jul 24, 2007 9:02 am

Hi all,

I’m not sure if this is a documented bug or just me: I have several apps installed in two different directories on the server. Each of them uses their own Dataface_Main_Template.html template, mostly to replace the header and a few other things.

Every time I replace one app’s Dataface_Main_Template.html file, all other applications (completely separate from each other!) load this very template files as their own!!! Upon examining the template file, it’s clear that it’s unchanged, but re-uploading or re-saving it fixes this bug and results in each application reverting to its own Dataface_Main_Template.html template file.

Has anyone else noticed this?

Thanks,
Radek


shannah — Tue Jul 24, 2007 12:09 pm

The best way to avoid this from happening is to add separate templates and templates_c directories in each application directory. That should prevent conflicts with templates. (It sounds like you already have templates directories.. perhaps just missing the templates_c directories). And make sure that the templates_c directories are writable by the web server.

Best regards

Steve


radeski — Wed Jul 25, 2007 7:59 am

Thank you, this seems to have fixed the problem

Radek