|
Joined: Sep 2006
Posts: 89
journeyman
|
journeyman
Joined: Sep 2006
Posts: 89 |
On the way to 7.4.1 - just upgraded my 6.4.4 installation to 6.5.5. Install went smoothly but we now get the following error whenever posting a new message, in all the forums. Doesn't seem to affect discussion functionality but something is amiss and I need to fix before moving to 7.4.1. I've had this installation for many years so I may have tweaked something but I don't remember. Any thoughts, suggestions ?? Thanks. By the way, this error msg appears at the top of the page above my custom forum header. It disappears after submitting the new post. ----------------------------------
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /usr/www/users/packlite/forums/newpost.php on line 402
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/packlite/forums/newpost.php:402) in /usr/www/users/packlite/forums/ubbt.inc.php on line 141
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/packlite/forums/newpost.php:402) in /usr/www/users/packlite/forums/ubbt.inc.php on line 361
Last edited by packlite; 12/12/2008 4:29 AM.
|
|
|
|
Joined: Aug 2006
Posts: 1,358
Veteran
|
Veteran
Joined: Aug 2006
Posts: 1,358 |
and I need to fix before moving to 7.4.1. Well, actually, you don't. 7.4.x is an entirely new install that imports the forums/users from your 6.5.5 database, so the error is not in the way of the upgrade path.
|
|
|
|
Joined: Sep 2006
Posts: 89
journeyman
|
journeyman
Joined: Sep 2006
Posts: 89 |
and I need to fix before moving to 7.4.1. Well, actually, you don't. 7.4.x is an entirely new install that imports the forums/users from your 6.5.5 database, so the error is not in the way of the upgrade path. Thank you for responding. I still have this innate urge to fix the problem, but if no one posts a helping suggestion here, then I will fall back on your recommendation. Thanks.
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
Well, the warning is whining about an issue with your PHP configuration; and as it's being sent to the browser it's being sent prior to the header in the php script; hence the error.
Fix? Disble showing of errors to the browser or fix the issue in the php configuration...
|
|
|
|
Joined: Sep 2006
Posts: 89
journeyman
|
journeyman
Joined: Sep 2006
Posts: 89 |
Well, the warning is whining about an issue with your PHP configuration; and as it's being sent to the browser it's being sent prior to the header in the php script; hence the error.
Fix? Disble showing of errors to the browser or fix the issue in the php configuration... Thanks Gizmo, How do I do that? Thanks.
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
Well, the disabling of errors would be via your php configuration (php.ini): display_errors = Off
Likely you don't own your server and can't edit the contents of the php.ini; the appropriate .htaccess equivalent would be: php_flag display_errors off
|
|
|
|
Joined: Sep 2006
Posts: 89
journeyman
|
journeyman
Joined: Sep 2006
Posts: 89 |
Thanks-haven't tried it yet - but thanks
|
|
|
|
Joined: Jul 2006
Posts: 2,143
Pooh-Bah
|
Pooh-Bah
Joined: Jul 2006
Posts: 2,143 |
Version 6 used a function in older versions of php that is deprecated. Doesn't matter, because the latest version of .threads, being newer, doesn't have the same thing. You're seeing a warning from the newer version of php that essentially says "hey, don't do that anymore because soon it will not work." Still works for now, just throws an ugly warning. Well, yes, we know that. that's why version 7 doesn't do that anymore. Options are to hide these warnings, as Gizzy instructed, or continue to upgrade, in which the issue is not longer an issue.
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
3 members (Gizmo, Ruben, 1 invisible),
638
guests, and
169
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|