FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » How do I get error messages?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How do I get error messages? [message #20330 is a reply to message #20327] Fri, 08 October 2004 12:04 Go to previous messageGo to previous message
Abraxa is currently offline  Abraxa   Germany
Messages: 72
Registered: August 2004
Location: Germany
Karma:
Member
If the error is in the PHP code you write then the FUDForum can't catch it since it only checks the syntax of the template files.

So if there's an error in your PHP code then PHP should report it - however some setting in your web server's system might prevent them from being shown.
To check that, make a file called phpinfo.php that contains only one line:
<?php phpinfo(); ?>

Save it and execute it from your web browser. Look for the error_reporting and display_error variables. The former should be greater than 0 and the latter should be "on", or "1".

If that's not the case and you can edit the php.ini file, set those values in there and try running your script again. If you can't access the php.ini file you could try setting those values by using .htaccess files: http://martin.f2o.org/php/portable

If PHP is set to report and display errors then it seems to me that you have problems with your HTML code that prevents anything from being shown.

Good luck,
-Soeren
[Message index]
 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: adding a 'simple' thing to FUD
Next Topic: another proposal: use DB to store post messages
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Sep 28 21:55:33 GMT 2024

Total time taken to generate the page: 0.05225 seconds