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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.