PHP warnings

You need to be logged in to post messages in the forums. New users may register here.

Kristof Coomans

Member since:
09 January 2008

Posts: 66

Monday 24 March 2008 2:59:05 am

Hi

I tried the extension (on the pre-eZ Publish 4.1.0alpha1 from Subversion trunk) but received quite some PHP warnings when accessing the ezchat/room view:























































































































































































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

Up

Kristof Coomans

Member since:
09 January 2008

Posts: 66

Monday 24 March 2008 3:23:28 am

I have been able to solve the JavaScript errors myself. If you use the recommended rewrite rules for eZ Publish ( http://ez.no/doc/ez_publish/techn.../4_0/installation/virtual_host_setup ), you should add this rewrite rule as well:








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

Up

Xavier Gouley

Member since:
08 February 2008

Posts: 12

Monday 24 March 2008 11:38:25 am

Thanks a lot for this. For installation rewrite rule, it has been added into INSTALL file.

For PHP Warning messages, I don't see them in my eZ, it must be a different configuration between our php.ini files.
I have this setting :
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT

Can you tell me what is your warning setting, because you see Warnings, and it appears that I should see them too (E_WARNING is not disabled for me).
Up

Kristof Coomans

Member since:
09 January 2008

Posts: 66

Monday 24 March 2008 12:00:26 pm

Hi Xavier

I advice you to use an error reporting level of E_ALL | E_STRICT, especially when developing. Then you will see all error messages coming from PHP.

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

Up

You need to be logged in to post messages in the forums. New users may register here.