Click to See Complete Forum and Search --> : Please help I'm get an error in my code
newprogram
Oct 15th, 2007, 01:28 AM
im getting this error on my website member control
"Warning: Missing argument 1 for dataGrid::render(), called in /home/hotonlin/public_html/memberarea.php on line 92 and defined in /home/hotonlin/public_html/class.datagrid.php on line 636
Notice: Undefined variable: returnOutput in /home/hotonlin/public_html/class.datagrid.php on line 1104" I enclosed my php file and it in a txt file thank you to all how help
zalez
Oct 16th, 2007, 09:59 PM
It is kind of hard to trouble shoot this with out seeing the calling code which I would assume is residing in memberarea.php
dclamp
Oct 16th, 2007, 10:17 PM
umm. yeah, can you upload your members page as well. and you uploaded the class page 2 times, in 2 different formats...
newprogram
Oct 17th, 2007, 12:47 AM
sorry about that here the members page
umm. yeah, can you upload your members page as well. and you uploaded the class page 2 times, in 2 different formats...
zalez
Oct 17th, 2007, 08:39 AM
Your problem is in your memberarea.php . Just like what the error states, On line 92 in memberarea you are calling the function render() without sending a variable along with it. except in your class, render is defined with a variable being sent to it. So php is telling you, you are missing an argument.
newprogram
Oct 18th, 2007, 09:39 PM
thank you!! , I don't really understand how to fix it I no really no php im good at vb6 but clueless on php.
Your problem is in your memberarea.php . Just like what the error states, On line 92 in memberarea you are calling the function render() without sending a variable along with it. except in your class, render is defined with a variable being sent to it. So php is telling you, you are missing an argument.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.