Sub Menu
Links Menu
Online Users

In total there are 306 users online :: 2 registered, 0 hidden and 304 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

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

IntegraMOD 140 Themes

Moderator: Integra Moderator

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

PostAuthor: zenrei » Wed Nov 29, 2006 11:06 am

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.
Last edited by zenrei on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
IntegraMOD 141 RULES!!
[img=left]http://www.falloutzone.net/foz/images/smiles/attentionwhore.gif[/img]

[url=http]Click here to go to my site built with IntegraMOD 141[/url] <img>
User avatar
zenrei
Sr Integra Member
Sr Integra Member
 
Posts: 286
Likes: 0 post
Liked in: 0 post
Joined: Mon Oct 09, 2006 7:36 am
Cash on hand: 0.00

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

PostAuthor: Teelk » Wed Nov 29, 2006 1:28 pm

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);  
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 140

Who is online

Registered users: Google [Bot], Majestic-12 [Bot]

cron