Menu

Use of undefined constant

2005-02-06
2013-04-17
  • PietVerdriet

    PietVerdriet - 2005-02-06

    Hi guys,

    I posted "failure to generate code" earlier. This time I stopped being lazy and turned on error reporting in php. result :

    PHP Notice:  Use of undefined constant ALLOW_HTML_TAGS_IN_POST_GET_REQUESTS - assumed 'ALLOW_HTML_TAGS_IN_POST_GET_REQUESTS' in C:\\Program Files\\Apache Group\\Apache\\htdocs\\phpCodeGenie3\\app\\common\\utils\\requestUtils\\requestUtils.class.php on line 48\n

    Can anyone help ?? I'd really like to use this application. Sigh. Thanks.

     
    • Aapo Lehti

      Aapo Lehti - 2005-11-21

      Edit your php.ini / Error handling and logging

      Check that your error_reporting is set to show errors only:

      error_reporting = E_ALL & ~E_NOTICE (show all -notices)
      ;error_reporting  = E_ALL (show all + notices)

      Save php.ini -> try again.

      ALLOW_HTML_TAGS_IN_POST_GET_REQUESTS 'failure' is only notice. If you change error handling and logging options from php.ini, everything should work fine.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.