Jump to content
MakeWebGames

Recommended Posts

Posted

Ok i'm making a delete gang mod and I added the cases in the staff section now I get theses errors when I visit the pages on the two that I added

Fatal error: Call to undefined function gang_staff_del() in /home/gangland/public_html/yourgang.php on line 459

Fatal error: Call to undefined function gang_staff_del1() in /home/gangland/public_html/yourgang.php on line 463

Now these are lines 458-464

case "del":
gang_staff_del();
break;

case "del1":
gang_staff_del1();
break;
Posted

Re: Very confused need help!

gang_staff_del() & gang_staff_del1() are not existing / defined.

Define the function, simply by using:

 

 
function gang_staff_del1() { 
// function code.. ( don't forget gang_staff_del() too )
}
Posted

Re: Very confused need help!

Ok the problem is that they are already defined. If someone would mind looking at my code to check the error it would be great. I have to upload it as it exceeds the character limit.

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.   Paste as plain text instead

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