Line 584:
Line 584:
= Troubleshooting =
= Troubleshooting =
+
+
== General advices for troubleshooting ==
+
+
If you encounter an error (script not functionning, blank page, etc...), please '''enable php warnings and error notices''' and post the errors on the forum if you can't find the solution here or by yourself.
+
+
Set this in your '''php.ini''' file:
+
<pre>
+
display_errors = On
+
error_reporting = E_ALL | E_STRICT
+
; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
+
</pre>
+
+
In PHP you can use:
+
<source lang="php">
+
error_reporting(E_ALL);
+
ini_set('display_errors', '1');
+
+
// Or if track_errors = On in your php.ini:
+
print($php_errormsg);
+
</source>
== Q: I'm trying to edit a constrained customfield parameters in the admin configuration page, but everytime I change the constraint it goes back to None ? ==
== Q: I'm trying to edit a constrained customfield parameters in the admin configuration page, but everytime I change the constraint it goes back to None ? ==