Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multiple PHP errors when clicking a link...

    delete this
    Last edited by thelorax; 10-31-2009 at 01:27 PM.

  • #2
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    delete this
    Last edited by thelorax; 10-31-2009 at 01:28 PM.

  • #3
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    delete this
    Last edited by thelorax; 10-31-2009 at 01:28 PM.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    We need to actual errors to help you.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    delete this
    Last edited by thelorax; 10-31-2009 at 01:28 PM.

  • #6
    New Coder
    Join Date
    Mar 2009
    Posts
    62
    Thanks
    19
    Thanked 1 Time in 1 Post
    Undefined variables occur when you are trying to... er... call to an undefined variable
    To fix this, you would need to add if(isset($variable_name)) { do stuff }
    kind of operators to not allow the usage of undefined variables.

    Notice-level warnings arent generally dramatic, and you can deactivate notices,
    I belive it would go like something that I have below here:
    PHP Code:
    ini_set('display_errors',0);
    ini_set('display_startup_errors',0); 
    Here would be a link to generally check what errors to report:
    http://www.w3schools.com/PHP/func_error_reporting.asp

    So the good way: Fix your code to avoid calling undefined variables.
    The bad way (but works): Disable notices from showing at all.

  • #7
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    delete this
    Last edited by thelorax; 10-31-2009 at 01:29 PM.

  • #8
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Quote Originally Posted by thelorax View Post
    Even if I disable the notices, the page still doesn't bring up the information it's supposed to show, so I need to fix the code.

    I don't know how to write PHP, this job was started and then left unfinished by someone else. I was hoping for specific help to fix this code. If someone is able to fix it, I can pay, not much, but a little. I apologize if I posted in the wrong section. But the help I received here, though it would be useful to a coder, doesn't help me. I need someone to specifically look at the code and fix it.
    I need a "PHP mechanic".
    Well how much are you able to pay then? No one is going to debug your 3 posts of code for nothing.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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