News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

i get error in Admin, configuration

Started by Babadinho, September 20, 2010, 06:30:43 PM

Previous topic - Next topic

Babadinho


I get this error whenever i want to access my core features, features and options with security and moderation, under admin.

"Parse error :  syntax error,  unexpected '}' in  /home/donytex/ public_html/Sources/ ManageSettings.php  on line  2311"

please i need ur help on what to do.

Babadinho

Please here is my line of error.......................someone should help me please............



    prepareDBSettingContext($config_vars);
}
// Function for modifying birfday settings
function ModifyBirthdayPostSettings($return_config = false)
{

Babadinho

Thank God............i fixed the problem myself.....but its quite a pity nobody wants to help me out.

the 1st code that caused the error was

{
        checkSession();
        $save_vars = $config_vars;
        saveDBSettings($save_vars);
        redirectexit('action=admin;area=modsettings;sa=counters');
    }

    prepareDBSettingContext($config_vars);
}


i removed the "}" in between counters'); and  prepareDBSetting
it then looked like this

{
        checkSession();
        $save_vars = $config_vars;
        saveDBSettings($save_vars);
        redirectexit('action=admin;area=modsettings;sa=counters');
   

    prepareDBSettingContext($config_vars);
}


it was then solved.....Thanks to Mr Google.

Babadinho

i still Then get another error this time..............it says

Fatal error: Call to undefined function savedbsettings() in /home/donytex/public_html/Sources/ManageSettings.php on line 2313

here is my code......

// Saving?
    if (isset($_GET['save'])){
        checkSession();
        $save_vars = $config_vars;
        saveDBSettings($save_vars);
        redirectexit('action=admin;area=modsettings;sa=counters');
   

    prepareDBSettingContext($config_vars);
}


while line 2313 is saveDBSettings($save_vars);

Babadinho

I have finally removed the mod responsible....which is

Counters: Google, StatCounter & Yandex

problem solve...i got to go to sleep now

Advertisement: