PDA

View Full Version : Fatal error, how to access admincp?


dadoc
01-02-2013, 08:53 PM
Hello,

I need some help

I was trying to set up a plugin and I now get this fatal error

Fatal error: Cannot redeclare tla_ads() (previously declared in /home/crimecas/public_html/forum/includes/init.php(336) : eval()'d code:191) in /home/crimecas/public_html/forum/includes/init.php(336) : eval()'d code on line 452

How can I access my admincp ?

or even better, fix this problem, I cant access frontend or backend please help

Regards
Ryan:confused:

DAMINK
01-02-2013, 09:11 PM
You could upload the tools.php file in the dont upload folder when you downloaded VB.
That would give you access. (remember to remove it after)

You could edit your config.php file and add define('DISABLE_HOOKS', true); to that file.
That would disable all plugins and allow you to repair any damage.

I use the define('DISABLE_HOOKS', true); option myself.

Lynne
01-03-2013, 12:17 AM
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

DAMINK
01-03-2013, 11:49 PM
Yea exactly what i said in the post directly above yours Lynne :)
Must have missed that one.