carsong
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Cannot modify header information – headers already sent by…i tried removing E_STRICT. still doesn’t help. bummer. i’m running php 5.2.0.
- Create a file called phpinfo.php with the following in it.
<?php phpinfo();
That will tell you the location of the server’s php initialization file. It’ll look like this:
- Windows – Configuration File (php.ini) Path C:\WINDOWS\php.ini
- Unix – Configuration File (php.ini) Path /home/users/mruser/php/php.ini
- If you’re sure that you’re changing the right php.ini file then put the following at the very end of your php.ini file:
display_errors = Off
- If that doesn’t work…(i.e. you can’t edit the php.ini file), most webservers let you put your own php.ini You’ll probably have to talk to support to figure it out.
Forum: Fixing WordPress
In reply to: bug in wp-settings.phpMaybe contact support where you have your site hosted and ask them if they changed something?
They may have changed the php.ini file to report coding standards errors found in source code. Or specifically they probably changed the default php installation’s php.ini file to:
error_reporting = E_All display_errors = On
The
Strict Standards: Assigning the return value of new by reference is deprecatedis a coding standards violation in WordPress (meaning this is a defect in WordPress).Deprecated means that the syntax used is eventually being phased out for something better.
Maybe a WordPress developer can look at the standards violation.