1 davidcowdery Jul 31, 2009 04:19
3 yabba Jul 31, 2009 16:48
I'm guessing you're running an older version of b2evo, try upgrading and all those errors should be gone
¥
4 pirsquared Jul 31, 2009 16:54
¥åßßå wrote:
I'm guessing you're running an older version of b2evo, try upgrading and all those errors should be gone
¥
Hi, ¥åßßå. I get these same deprecation warnings all over the place — from installation onward — even with 3.3.0-RC1.
5 yabba Jul 31, 2009 17:56
How weird, I really thought all those had been killed, and I'm sure my setup barfs at all errors .... meanders off to check for a blonde moment ;)
¥
6 pirsquared Jul 31, 2009 21:25
Heh.
Here are a few spewed out by index.php when displaying the default blog in 3.3.0:
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_core/__core.init.php on line 814
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/sessions/_sessions.init.php on line 268
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_blog_main.inc.php on line 507
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 135
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 139
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 147
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 154
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 201
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 207
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 235
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 250
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 261
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_main.inc.php on line 273
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/files/model/_file.funcs.php on line 583
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_connect_db.inc.php on line 29
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_core/_param.funcs.php on line 1739
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/items/model/_item.funcs.php on line 114
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_core/model/dataobjects/_dataobject.class.php on line 414
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_core/model/dataobjects/_dataobject.class.php on line 430
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/_core/model/dataobjects/_dataobject.class.php on line 439
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/items/model/_itemlist.class.php on line 538
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/items/model/_itemlistlight.class.php on line 118
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/items/model/_itemlistlight.class.php on line 178
Deprecated: Assigning the return value of new by reference is deprecated in blogs/inc/items/model/_itemlistlight.class.php on line 833
Warning: Cannot modify header information - headers already sent by (output started at blogs/inc/_core/_template.funcs.php on line 59
Most, if not all, seem to refer to lines like this:
$foo = & new bar();
7 davidcowdery Sep 14, 2009 21:16
Sorry it took so long to get back to you. I had other problems that required my attention, and when I got back I forgot my userid and password. I just remembered it now. I am not use to forums. I changed the info in the php.ini and it worked. Sorry I didn't mention that earlier
8 jlbseg Dec 27, 2009 23:12
I'm running b2evo 3.3.1 with php 5.3.1.and I'm getting all the depricated errors on the bottom of my blog. I have display errors turned off in the php.ini, I'm wondering if I should just downgrade php to 5.29
You can see it at blog.symmetricgroup.com
Your b2evo installation is likely fine; it's your PHP configuration that needs some configuratin'.
Depending on how you set up your HTTP server and its PHP module, you might have had to choose between two PHP.ini files: one optimized for a development environment, the other for production. You've chosen the developer ini file, which enables the [url=http://ca2.php.net/manual/en/errorfunc.configuration.php#ini.display-errors]display_errors[/url] directive in the PHP.ini file by default.
This will cause PHP to not only log but output all errors, warnings, etc. If you want to prevent their output (good idea if your server can be accessed remotely), simply disable the display_errors directive:
The "deprecated" warnings are just that: warnings; they can be safely ignored for now and are probably of more importance to b2evo developers than you.
As for the date() function warnings, that's another PHP directive you should set:
http://ca2.php.net/manual/en/datetime.configuration.php#ini.date.timezone
The header warning just means that that script cannot generate an HTTP header for the document because another script already has, and you can't have more than one header.