• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Style not changed after database rollback

Mike Edge

Well-known member
#1
So had a client contact me that at 7pm or shortly after they messed up their skin and requested it be restored from our hourly backup. So we dropped the database and restored it from the 6:02pm database backup. All posts after 6pm are gone, so the restore went fine, but client says his theme still has the changes after 7pm. Any idea what is causing that?
 

Brogan

XenForo moderator
Staff member
#6
They would need to have caching implemented to store templates as files, hence my first question.
For performance reasons, you may choose to have the public-facing side of XenForo load its templates from files rather than the database. Note that in order for this to be of benefit, you must have an opcode cache installed on your server (APC, eAccelerator, XCache etc.)
 

Brogan

XenForo moderator
Staff member
#8
Well, to clarify, they could be storing the templates as files without a caching mechanism.
It just wouldn't really do much.

It's worth checking anyway.
 

Brogan

XenForo moderator
Staff member
#18
Sounds to me like he's not sure what should be there before or after the restore.

On balance I would probably chalk this one up to user error.