AdminCP Problem Needed Urgent Help !

Status
Not open for further replies.

KrøniiK

Active Member
671
2009
32
0
So Today, I went into my AdminCP and got this problem:
Code:
[B]Fatal error[/B]:  Call to undefined function print_cp_header() in [B]/home/sharewor/public_html/admincp/index.php[/B] on line [B]293[/B]
and
Code:
[B]Fatal error[/B]:  Call to undefined function print_cp_header() in [B]/home/sharewor/public_html/admincp/index.php[/B] on line [B]524[/B]


I have no clue what to do, I never had this problem before :(... ever since i ran the site, this is the first time.
 
10 comments
try and copy the default vbulletin admincp index.php file overwriting that one

and check your includes/adminfunctions.php for the

Code:
void
Code:
 print_cp_header([[I]string[/I] [B]$title[/B] = ''], [[I]string[/I] [B]$onload[/B] = ''], [[I]string[/I] [B]$headinsert[/B] = ''], [[I]integer[/I] [B]$marginwidth[/B] = 0], [[I]string[/I] [B]$bodyattributes[/B] = ''])
^ line
 
I've done that already over 20 times... and still receiving this problem... I am afraid to think now that the problem is in the database ?
 
have you added any new mods try disabling them and see if you still get the error

Open your /includes/config.php and add
Add this below
Code:
[COLOR=#000000][COLOR=#0000BB]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]'DISABLE_HOOKS'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000BB]true[/COLOR][COLOR=#007700]);

This
[/COLOR][/COLOR]PHP Code:
Code:
<?php
 
I got the
Code:
function print_cp_header($title = '', $onload = '', $headinsert = '', $marginwidth = 0, $bodyattributes = '')

would some one please share with me... AdminFunctions.php
 
have you added any new mods try disabling them and see if you still get the error

Open your /includes/config.php and add
Add this below
Code:
[COLOR=#000000][COLOR=#0000bb]define[/COLOR][COLOR=#007700]([/COLOR][COLOR=#dd0000]'DISABLE_HOOKS'[/COLOR][COLOR=#007700], [/COLOR][COLOR=#0000bb]true[/COLOR][COLOR=#007700]);[/COLOR][/COLOR]


This
PHP Code:
Code:
<?php
I just did it, and nope still problem saying:
Code:
[B]Fatal error[/B]:  Call to undefined function log_admin_action() in [B]/home/sharewor/public_html/admincp/index.php[/B] on line [B]84[/B]


try and copy the default vbulletin admincp index.php file overwriting that one

and check your includes/adminfunctions.php for the

Code:
void
Code:
 print_cp_header([[I]string[/I] [B]$title[/B] = ''], [[I]string[/I] [B]$onload[/B] = ''], [[I]string[/I] [B]$headinsert[/B] = ''], [[I]integer[/I] [B]$marginwidth[/B] = 0], [[I]string[/I] [B]$bodyattributes[/B] = ''])
^ line


i've got something similar to that :(
 
Status
Not open for further replies.
Back
Top