Share » Forums » Install & configuration » [Help] Fatal error without bug report...

[Help] Fatal error without bug report during installation.

[Help] Fatal error without bug report during installation.

Friday 30 September 2005 3:34:09 am - 2 replies

Author Message

Kristof Coomans

Saturday 01 October 2005 3:19:14 am

Modify your PHP settings file (php.ini):

error_reporting  =  E_ALL
display_errors = On

Now the PHP error messages are also printed and you can trace the problem.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Marko Žmak

Saturday 08 October 2005 10:49:33 am

This error usuall occurs when PHP comes to a critical errror that doesn't reproduce an error message.

It haappened to me something similar. I had a working installation of eZ and I noticed the bug when tried to execute som eZ PHP scripts from the shell. After days of debugging, I found out that the CGI version of PHP (the one used in shell execution of scripts) didn't have mysql extension loaded. So when PHP came to the eZ code that tried to execut mysql_connect() function, PHP crushed without any error or warning.

Possible soluutions:

1) You could check out your configuration of PHP, or try to execute your own script that executes only mysql_connect() or any other PHP function that you suspect is missing.

2) You could also try debbuging eZ code as I did... by putting to comments some parts of the eZ PHP code, or putting exit() command in some places of PHP code. So you can see exactly where the script crashes. But I suggest to try the first sollution first.

Hope this helps you.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu