Jump to content

Fatal error: Call to undefined function


Recommended Posts

Im getting this error in my arena control panel :

 

Fatal error: Call to undefined function staff_permissions() in /home/battleco/public_html/arenacp/index.php on line 579

 

Here are the lines in the file arenacp/index.php:

 

// *************************************************

$canjob = false;

if(staff_permissions("job","view_applications")){

	$canjob = true;

	construct_nav_option("Open Applications", 'openapplication.php');

			$canjob = true;

	construct_nav_option("Applications", 'application.php');

        }

  	if(staff_permissions("job","manage_application_questions")){

	$canjob = true;

	construct_nav_option("Application Questions", 'appquestions.php');

        }      	

        if(staff_permissions("job","manage_application_requirements")){

	$canjob = true;

	construct_nav_option("Application Requirements", 'apprequirements.php');

        }   

        if(staff_permissions("job","manage_interview_questions")){

	$canjob = true;

	construct_nav_option("Interview Questions", 'interview_questions.php');

        }   



        if(staff_permissions("job","manage_audit_questions")){

	$canjob = true;

	construct_nav_option("Audit Questions", 'audit.php');

        }  

        if(staff_permissions("job","add_dnh_list") OR staff_permissions("job","edit_dnh_list")){

	$canjob = true;

	construct_nav_option("Do Not Hire List", 'dnhlist.php');

        }   

        if(staff_permissions("job","manage_positions_available")){

	$canjob = true;

	construct_nav_option("Positions Available", 'positions.php');

        }   

        if(staff_permissions("job","user_records")){

	$canjob = true;

	construct_nav_option("User Records", 'user_records.php');

        }   

        if(staff_permissions("job","add_audit")){

	$canjob = true;

	construct_nav_option("Add Audit", 'add_audit.php?do=addaudit1');

        }   

	if(staff_permissions("job","edit_audit")){

	$canjob = true;

	construct_nav_option("Edit Audit", 'edit_audit.php?do=editaudit1');

        }   

	if(staff_permissions("job","audit_log")){

	$canjob = true;

	construct_nav_option("Audit Log", 'audit_log.php');

        }   

        if(staff_permissions("job","psa")){

	$canjob = true;

	construct_nav_option("Pending Staff Actions", 'psa.php');

        } and so on............... 

 

Link to comment
https://forums.phpfreaks.com/topic/157826-fatal-error-call-to-undefined-function/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.