Suddenly I am getting these message (see below) when edit/add a picture in TinyMCE and WebYep. I assume it is not related to the WebYep action but to the TimyMCE and WebYep program. Doe anybody recognize this? I just don;t know what to do… Could it be related to an upgrade from the host? Their PHP settings or so?
This is what I get…
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 138
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 901
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 927
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 1021
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 1136
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/FileSystems/FileTreeHandler.php on line 194
This means you have moved up the PHP5 food chain, possibly to 5.3, which breaks a lot of programming assumptions of earlier versions of PHP. You can certainly get rid of these messages by turning down you alert level in either an .htaccess file or a php.ini file (depends on your host, ask them the preferred course of action). What you want to do is make sure that E_WARN is off, so you should only hear about critical errors. If your are really feeling daring, you can turn off visible errors altogether, and rely on looking through your error log on your server from time to time. The relevant flag is display_errors and it should be set to false or zero (0).
Walter
On Aug 13, 2012, at 7:11 PM, paulvw wrote:
Hi all,
Suddenly I am getting these message (see below) when edit/add a picture in TinyMCE and WebYep. I assume it is not related to the WebYep action but to the TimyMCE and WebYep program. Doe anybody recognize this? I just don;t know what to do… Could it be related to an upgrade from the host? Their PHP settings or so?
This is what I get…
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 138
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 901
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 927
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 1021
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/ManagerEngine.php on line 1136
Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/lsw_data_ws_dro/leprazendingnl/www.leprazending.nl/www/webyep-system/program/opt/tinymce/jscripts/tiny_mce/plugins/imagemanager/classes/FileSystems/FileTreeHandler.php on line 194
OK Walter, that sounds promising. Now, I have to look for that php file with the settings, right? So far, I haven’t seen in yet on the server, but will look further.
Or the .htaccess. What would I have to put in the .htaccess doc? Not that experienced with this.
to completely disable all error reporting on screen (errors are still written to logs).
You could also put this:
php_value error_reporting 1
This will turn off the NOTICE and WARN level errors, and leave the critical errors to show on screen. You should only use one of these techniques (and I recommend the former) not both.
Generally speaking, it is a very bad idea to have errors show on a production server. The output of the error messages is meant to be helpful to a programmer, and tell him or her what to do to make things better. This same information can be gold for a hacker, because it will often expose information about the server (PHP version, Apache version, popular script toolkit name and version) that can be used to mount an attack.
Definitely box up these errors and send them to Max (or directly to the WebYep team, if you’re in touch with them) and then turn display errors off. When you’re next working on a new site, turn the error reporting on (by passing true instead of false) or crank the error_reporting up to “kill” with the value 8191.
Walter
On Aug 13, 2012, at 10:37 PM, paulvw wrote:
OK Walter, that sounds promising. Now, I have to look for that php file with the settings, right? So far, I haven’t seen in yet on the server, but will look further.
Or the .htaccess. What would I have to put in the .htaccess doc? Not that experienced with this.