pspotential Posted May 29, 2007 Posted May 29, 2007 well somebody sent me there header and now i get this error when trying to access staff panel Fatal error: Call to undefined function: smenuarea() in C:\Domains\psp-customs.com\wwwroot\mafialegends\sglobals.php on line 87 ive tried everything i can think of but i dont no what is wrong the person i got the header off is -Genocide- but he usually very busy so i thought i would ask here. Quote
pspotential Posted May 29, 2007 Author Posted May 29, 2007 Re: Header Problem!!! also i can edit some code and take away some "s" so smenuarea=menuarea i get in the staff panel but the options like add item etc arnt there its just the normal menu like explore etc im reall stuck any help would be much appreciated Quote
ignite Posted May 29, 2007 Posted May 29, 2007 Re: Header Problem!!! You need to see what the user level in your menu area is set at to view the staff pannel. Quote
pspotential Posted May 29, 2007 Author Posted May 29, 2007 Re: Header Problem!!! how do u do that ?? Quote
ignite Posted May 29, 2007 Posted May 29, 2007 Re: Header Problem!!! There should be a bit your menu.php saying something like if($ir['userlevel']=2) { print " <a href=admin.php> Quote
hamster01 Posted May 29, 2007 Posted May 29, 2007 Re: Header Problem!!! smenuarea = Staff Menu. Quote
pspotential Posted May 29, 2007 Author Posted May 29, 2007 Re: Header Problem!!! yep i no tht but still i dont no how to fix it if i use my orginal header.php it works fine so its something in my new header.php so any more help ?? :? :? Quote
hamster01 Posted May 29, 2007 Posted May 29, 2007 Re: Header Problem!!! Please post your header here. I am willing to fix it for you :) Quote
bling Posted May 29, 2007 Posted May 29, 2007 Re: Header Problem!!! i think i know what it is just post it in here if death dos not then i will Quote
pspotential Posted May 29, 2007 Author Posted May 29, 2007 Re: Header Problem!!! i have pmed it death Quote
pspotential Posted May 30, 2007 Author Posted May 30, 2007 Re: Header Problem!!! ny1 else willing to have a go at helping me ?? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.