Need some PHP help

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by faithfa2, Jan 23, 2014.

  1. faithfa2

    faithfa2 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I get this error : I need help to know what to do to remove these error- I'm new to PHP. Thanks!

    Notice: Undefined variable: result in /home/faithfa2/public_html/catalog/controller/product/category.php on line 179
    Notice
    : Undefined variable: result in /home/faithfa2/public_html/catalog/controller/product/category.php on line 182

    Notice
    : Undefined variable: result in /home/faithfa2/public_html/catalog/controller/common/footer.php on line 21
    Notice
    : Undefined variable: result in /home/faithfa2/public_html/catalog/controller/common/footer.php on line 21

    I attached the PHP's
     

    Attached Files:

  2. descalzo

    descalzo Grim Squeaker Community Support

    Messages:
    9,375
    Likes Received:
    327
    Trophy Points:
    83
    Apparently $result should be the output of a database query run somewhere else in the scripts.
    My suggestion is to go to the site that created the script (OpenCart ?) and ask them in their support forum.
     
  3. faithfa2

    faithfa2 New Member

    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thank you! I tested it by removing the code and all is well :)
     

Share This Page