Problems With Def_tree.php? »  Show posts from    to     

Icy Phoenix


Old Support Topics - Problems With Def_tree.php?



paramine-gx [ Mon 03 Mar, 2008 19:07 ]
Post subject: Problems With Def_tree.php?
So, reading on various forums
i have read that def_tree.php file has several problems.
even more that one forum is down for this file.

The reason?, the file size changes alone.
why?, what is the file function?, i have some minimal problems with my forum
and the cracker tracker says that this is the only file has been changed.

So it's only a question.
what is the file function?, and why this file may cause this problems?..

Thanks in advance.


ThE KuKa [ Mon 03 Mar, 2008 19:25 ]
Post subject: Re: Problems With Def_tree.php?
def_tree.php is designed to get all the hierarchy to all categories, forums and subforums (or that I understand) :wink:


paramine-gx [ Mon 03 Mar, 2008 23:42 ]
Post subject: Re: Problems With Def_tree.php?
well, im having several problems with this file.
Sometimes when the users try to enter the site appear the next message

"Critical error Could no connect to database"

And some post on other forums says that uploading the original file this restores the site accesibility
but, it's safe delete this file?, or upload the original file?

Im so worried cause this error it's more frecuently each day.
And i asked to my host provider and he says that there is no problem with the servers.

Im really worried with this situation :(


ThE KuKa [ Mon 03 Mar, 2008 23:45 ]
Post subject: Re: Problems With Def_tree.php?
This error:
Quote:
"Critical error Could no connect to database"

Is config.php file problem, not def_tree.php file problem.


Mighty Gorgon [ Tue 04 Mar, 2008 01:35 ]
Post subject: Re: Problems With Def_tree.php?
DEF_TREE is needed to store a cached copy of forum index, which speeds up a lot forum index loading.

Make sure you have applied default CHMOD to this file otherwise it won't work properly.

I would suggest to use it... deleting it won't bring you improvements... if you really want to disable it, you can open functions_category_hierarchy.php and comment this line with double slash:

Code: [Hide] [Select]
define('CACHE_TREE', true);


paramine-gx [ Tue 04 Mar, 2008 02:16 ]
Post subject: Re: Problems With Def_tree.php?
ThE KuKa wrote: [View Post]
This error:
Is config.php file problem, not def_tree.php file problem.

You are wrong, the forum works greats, if i'd have a problem with the config.php i'd never can't access to my forum.
This problems happens at random, for example today at 5:40 the file was bothering again. what i did?.
only wait, 10 minutes later the forum was fine again

Mighty Gorgon wrote: [View Post]
DEF_TREE is needed to store a cached copy of forum index, which speeds up a lot forum index loading.

Make sure you have applied default CHMOD to this file otherwise it won't work properly.

Understood, this file have all CHMOD actives, search,modify and execute.
But then whats the problem?, this file have not relation with my database... Oh F%&&(k, then i'll go to talk with my host provider.

Maybe the error are there.
Thank you very much thekuka and mighty gorgon :kid:


KasLimon [ Fri 07 Mar, 2008 21:59 ]
Post subject: Re: Problems With Def_tree.php?
Mighty Gorgon wrote: [View Post]
I would suggest to use it... deleting it won't bring you improvements... if you really want to disable it, you can open functions_category_hierarchy.php and comment this line with double slash:

Code: [Hide] [Select]
define('CACHE_TREE', true);
Try what MG says.

functions_categories_hierarchy.php is in includes folder
Commenting means adding two slashes in the beggining of the line (//):
Code: [Hide] [Select]
//define('CACHE_TREE', true);


Greets!




Powered by Icy Phoenix