Welcome, Guest. Please Login or Register.
August 28, 2025, 03:51:11 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Pass-by-reference error « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Pass-by-reference error  (Read 311 times)
tombrock
Noobie
*
Posts: 15


But Yogi, Ranger wouldn't like it

Pass-by-reference error
« on: April 08, 2002, 11:35:12 PM »
Reply with quote

Did a clean install of SE 1.3. It works fine except that the below error appears several times on most pages. Any suggestions?  Many thanks.

Apache: 1.3.23 (Unix)
Perl:  5.006001
PHP: 4.1.2
MySQL: 3.23.45

=======================================

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of censortxt(). 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. However, future versions may not support this any longer. in /home/altarboy/public_html/yabbse/Sources/Load.php on line 326

Logged
tombrock
Noobie
*
Posts: 15


But Yogi, Ranger wouldn't like it

Re:Pass-by-reference error
« Reply #1 on: April 09, 2002, 01:37:36 AM »
Reply with quote

Here are two calls that are generating the error.

CensorTxt(&$userprofile[$user]['signature']);
CensorTxt(&$userprofile[$user]['personalText']);

I'm not familiar with php. The error message says that the ini file can be modified to allow "call time passing by reference". I have seen references to php.ini in this forum, but do not seem to have this file on my web site.  

Please advise, before I do the unthinkable and revert to Yabb SE 1.1 which was running successfully.

Thanks again,

Tom
Logged
tombrock
Noobie
*
Posts: 15


But Yogi, Ranger wouldn't like it

Re:Pass-by-reference error
« Reply #2 on: April 09, 2002, 02:40:22 AM »
Reply with quote

Well, my eyes don't seem to be working today.

After looking scanning the forums several times and going to the download page 3 times, I FINALLY saw the link for the 1.3 bugfix. And yes, it did do the trick.

My only question at this point is, "Why don't the "current" installs include the patches?"
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Pass-by-reference error
« Reply #3 on: April 09, 2002, 11:36:56 AM »
Reply with quote

Because I haven't had time to update all of them.  Alex updated three or four for us but I juts haven't had time.
Logged

tombrock
Noobie
*
Posts: 15


But Yogi, Ranger wouldn't like it

Re:Pass-by-reference error
« Reply #4 on: April 09, 2002, 02:26:58 PM »
Reply with quote

Fair enough!

I understand completely. There aren't enough hours in the day for me either.  :D
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Pass-by-reference error « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.010 seconds with 16 queries.