Possible bug?

A place for users and developers of the Xataface to discuss and receive support.

Postby 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
radeski
 
Posts: 12
Joined: Wed Dec 31, 1969 5:00 pm

Postby 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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby radeski » Wed Jul 25, 2007 7:59 am

Thank you, this seems to have fixed the problem :)

Radek
radeski
 
Posts: 12
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 42 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved