Page 1 of 1

[Solved]def_tree.php Issues.

PostPosted: Mon Sep 18, 2006 2:07 pm
Author: Drop-Forged
Hello,

Like many others, Ive had a problem with my website going blank.

I thought I had it figured out a couple of times, but then I would run database maintenance, or resync and poof, back to blank site.

It always seems to come back to the def_tree.php.

Im now struggling with this issue again, Ive even tried downloading 141 RC5, and tried that def_tree.php, and the same thing happened.

Most of the site will function without the file, but of course some mods need it, and the file will trash the whole site.

Does anybody know an actual fix for this issue???

Replacing the file only allows my site to work until I do maintenance.

Is this going to be an ongoing issue in 141???

PostPosted: Tue Sep 19, 2006 8:36 am
Author: Jacky
Check your Security configurations.

Try turning off GZIP compression for the site.

Check CHMOD.

Re: def_tree.php Issues.

PostPosted: Tue Sep 19, 2006 3:03 pm
Author: Drop-Forged
CHMOD is set all files. and turned Gzip off, still goes blank.

What setting in security could cause site to go blank???

Also, I'm not sure how exactly the def_tree file works, does it pull the info from the DB, or does another file insert it???

Is there a way to stop it from seeing my forum so I can just leave the file CHMOD 644???

Re: def_tree.php Issues.

PostPosted: Tue Sep 19, 2006 4:30 pm
Author: Helter
using your ftp client, open includes/functions_categories_hierarchy.php
FIND
define('CACHE_TREE', true);
REPLACE WITH
// define('CACHE_TREE', true);

this will disable the caching funtion on your forum structure, and CH will no longer use def_tree.php.
Unless your site is very large with many forums, the performance hit will be minor

Re: def_tree.php Issues.

PostPosted: Tue Sep 19, 2006 7:07 pm
Author: Drop-Forged
Thank you HelterSkelter!!!

It seems to be working... :D