DesignLoft Posted November 25, 2006 Share Posted November 25, 2006 When clicking on certain pages this error comes up Warning: Missing argument 4 for userdata() in /usr/home/ben/public_html/mafia/header.php on line 16 line 16 is: function userdata($ir,$lv,$fm,$cm,$dosessh=1) although the scripts work it is extremely annoying to have this, any ideas what to change to stop making it do this? Quote Link to comment Share on other sites More sharing options...
seanybob Posted November 25, 2006 Share Posted November 25, 2006 Re: Header Error the problem is you are using some paid scripts, and some LITE scripts... the LITE scripts had 3 arguements, the paid had 4. you can either use your LITE global func, or on every page add the fourth arguement :) Quote Link to comment Share on other sites More sharing options...
DesignLoft Posted November 25, 2006 Author Share Posted November 25, 2006 Re: Header Error ha right thanks, and what would be the "4th argument" to add on each page the error comes up and where would i place it? Quote Link to comment Share on other sites More sharing options...
seanybob Posted November 25, 2006 Share Posted November 25, 2006 Re: Header Error can't remember, i believe its $cm, just the crystal formatter... look at ur other pages that work, they will have it Quote Link to comment Share on other sites More sharing options...
DesignLoft Posted November 25, 2006 Author Share Posted November 25, 2006 Re: Header Error well on my header.php this it userdata($ir,$lv,$fm,$cm,$dosessh=1) and this is it on thestreets: $h->userdata($ir,$lv,$fm,$cm); which one do i replacE? Quote Link to comment Share on other sites More sharing options...
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.