View Full Version : Assigning the return value of new by reference is deprecated in
1996 328ti
04-03-2011, 09:12 PM
I just noticed I'm getting this error after upgrading php.
I renewed my license hoping there was an upgrade but I see I'm already running the most current version.
Reading elsewhere I thought by adding this
error_reporting( error_reporting() & ~E_STRICT );
to all of the dyna_ files that it would fix the error reporting.
It did not.
Updating to v4 is not an option.
Any fix?
Brian
04-04-2011, 12:35 PM
Where exactly are you receiving this error, and can you post the full error including the filename and line?
1996 328ti
04-04-2011, 07:20 PM
Wrote up a support ticket.
Probably easier to see the problems than describe them.
1996 328ti
04-06-2011, 07:50 PM
Does anyone have this working with PHP 5.3.4?
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 55
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 107
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 111
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 119
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 130
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 134
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 142
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 211
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 389
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/class_core.php on line 2552And if I click on a file.
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 55
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 107
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 111
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 119
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 130
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 134
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 142
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 211
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/init.php on line 389
Deprecated: Assigning the return value of new by reference is deprecated in /home/username/public_html/forum/includes/class_core.php on line 2552
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 150
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 151
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 152
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 153
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 154
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 196
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 197
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 198
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/init.php:55) in /home/username/public_html/files/attachment.php on line 203
%PDF-1.3 % 52 0 obj <> endobj xref 52 55 0000000016 00000 n 0000001796 00000 n 0000001877 00000 n 0000002294 00000 n 0000002354 00000 n 0000002412 00000 n 0000002454 00000 n 0000002742 00000 n 0000002967 00000 n 0000003397 00000 n 0000003821 00000 n 0000004377 00000 n 0000004666 00000 n 0000005097 00000 n 0000005380 00000 n 0000005723 00000 n 0000005992 00000 n 0000006154 00000 n 0000007013 00000 n 0000007795 00000 n 0000008359 00000 n 0000008565 00000 n 0000008780 00000 n 0000008993 00000 n 0000009149 00000 n 0000009371 00000 n 0000009522 00000 n 0000009684 00000 n 0000009842 00000 n 0000010456 00000 n 0000011052 00000 n 0000012863 00000 n 0000017430 00000 n 0000021512 00000 n 0000025970 00000 n 0000026014 00000 n 0000026912 00000 n 0000027107 00000 n 0000027222 00000 n 0000027452 00000 n 0000031808 00000 n 0000032337 00000 n 0000035870 00000 n 0000036353 00000 n 0000036901 00000 n 0000066081 00000 n 0000066557 00000 n 0000067113 00000 n 0000131461 00000 n 0000131938 00000 n 0000132497 00000 n 0000194429 00000 n 0000194908 00000 n 0000195468 00000 n 0000001396 00000 n trailer <<8016FEE8E4CD40C889FD8287CC0BB95D>]>> startxref 0 %%EOF 106 0 obj <>stream xb``d``=( €B@QŽ5Œ,5w…ojŸ> ,d –-W)cY0M ŠHqu\ F“nD€–rwK.,9g"x4qJw[ 3˜”2:: frt˜ Aˆli& ‰2 .% m` ZŒ@߶30111|gleȨ˜‚ِ †Š02T0”00i\BЁ‰9‚a&ƒ'Á[Œy3dUx‰qo#L1nebc{sŒvˆ01`r*1
1996 328ti
04-06-2011, 08:55 PM
I've had 1.2.0 installed for a long time.
I looked at the 1.2.0 download and noticed the directory dynamics.
I don't have the directory dynamics on my server. ???
Edit: Never mind. dynamics is in /public_html
My forum is /public_html/forum
Brian
04-08-2011, 01:27 PM
Could you try looking near the top of your dynamics/index.php file for this line:
error_reporting(E_ALL & ~E_NOTICE);
Replace with this:
error_reporting(E_ALL & ~E_NOTICE & ~8192);
And see if that resolves the errors on that file?
1996 328ti
04-08-2011, 07:11 PM
And see if that resolves the errors on that file?Same error.
In fact, I edited all files in /dynamics.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.