Page 2 of 2 First 12
  • Jump to page:
    #16
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    On planet earth
    Posts
    105
    Rep Power
    11
    Funny enough I just edited that php.ini file
  2. #17
  3. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2002
    Location
    Seattle, U.S.A.
    Posts
    712
    Rep Power
    13
    Originally Posted by cssbonding
    Funny enough I just edited that php.ini file
    nice work! there are less heavy handed ways of disabling warnings messages too:

    Code:
    error_reporting = E_ALL & ~E_NOTICE

    Comments on this post

    • cssbonding agrees : ok, I get it, it doesn't disable all error messages, thanks
  4. #18
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    On planet earth
    Posts
    105
    Rep Power
    11
    Just realised that when at college, I edited the php.ini file, the only problem is, I can't remember what I did at college to get it going
  6. #19
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    On planet earth
    Posts
    105
    Rep Power
    11
    enable mysqli I think it was
  8. #20
  9. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,316
    Rep Power
    7171
    You should develop code with notices on, and your code should not generate any notices.

    Notices can help you identify annoying bugs like mistyped variable names. If you don't use them you are handicapping yourself. There is no reason to write code that is expected to generate them; just use empty or isset when appropriate.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  10. #21
  11. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    On planet earth
    Posts
    105
    Rep Power
    11
    I think I will leave the isset thing on, if I turn off the error reporting off, typos are likely to occur
  12. #22
  13. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    On planet earth
    Posts
    105
    Rep Power
    11
    I've uploaded the same files and database online, no error messages and I hadn't included the isset() function...weird
  14. #23
  15. --
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Jul 2012
    Posts
    3,959
    Rep Power
    1014
    Um, I thought we already realized that the error messages depend on the configuration? So what's so weird about that? In fact, it would have been weird if you had gotten error messages.
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo