Results 1 to 6 of 6

Thread: Please help I'm get an error in my code

  1. #1

    Thread Starter
    Fanatic Member newprogram's Avatar
    Join Date
    Apr 2006
    Location
    in your basement
    Posts
    769

    Please help I'm get an error in my code

    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
    Attached Files Attached Files
    Live life to the fullest!!

  2. #2
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    326

    Re: Please help I'm get an error in my code

    It is kind of hard to trouble shoot this with out seeing the calling code which I would assume is residing in memberarea.php

  3. #3
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: Please help I'm get an error in my code

    umm. yeah, can you upload your members page as well. and you uploaded the class page 2 times, in 2 different formats...
    My usual boring signature: Something

  4. #4

    Thread Starter
    Fanatic Member newprogram's Avatar
    Join Date
    Apr 2006
    Location
    in your basement
    Posts
    769

    Re: Please help I'm get an error in my code

    sorry about that here the members page

    Quote Originally Posted by dclamp
    umm. yeah, can you upload your members page as well. and you uploaded the class page 2 times, in 2 different formats...
    Attached Files Attached Files
    Live life to the fullest!!

  5. #5
    Hyperactive Member
    Join Date
    Dec 2004
    Posts
    326

    Re: Please help I'm get an error in my code

    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.

  6. #6

    Thread Starter
    Fanatic Member newprogram's Avatar
    Join Date
    Apr 2006
    Location
    in your basement
    Posts
    769

    Re: Please help I'm get an error in my code

    thank you!! , I don't really understand how to fix it I no really no php im good at vb6 but clueless on php.
    Quote Originally Posted by zalez
    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.
    Live life to the fullest!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width