Page 1 of 1

HELP!! Something keeps re-writing my def_tree.php

PostPosted: Wed Nov 29, 2006 11:06 am
Author: zenrei
Starting yesterday, something keeps re-writing my def_tree.php....


it's taking it from 40 kb to 23 kb and the last few lines look like this:

Code: Select all
                                 => array(                     'user_id'         => array(),                     'username'       => array(),                     'group_id'       => array(6, 6, 6, 6, 6, 6, 6, 6, 6, 6),                     'group_name'     => array('Moderators', 'Moderators', 'Moderators', 'Moderators', 'Moderators', 'Moderators', 'Moderators', 'Moderators', 'Moderators', 'Moderators'),                 ),                             ),);?>  


What's odd is, if i delete the file, it recreates itself.
is that part of integramod's design?

I tried over writing it with a backup, but something keeps changing it.

Re: HELP!! Something keeps re-writing my def_tree.php

PostPosted: Wed Nov 29, 2006 1:28 pm
Author: Teelk
It's part of the Categories Hierarchy cache system. Rarely is there a problem with it, but there have been a few reports like yours.

You can prevent your site from writing to the def_tree.php file by disabling the cache.

Open includes/functions_categories_hierarchy.php
FIND
Code: Select all
define('CACHE_TREE', true);

REPLACE WITH
Code: Select all
// define('CACHE_TREE', true);