Forum Moderators: coopster
This message:
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 convert_bits_to_array(). 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/content/r/e/v/revolveopp/html/example/forum/showthread.php(103) : eval()'d code on line 677
And this message:
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 convert_bits_to_array(). 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/content/r/e/v/revolveopp/html/example/forum/forumdisplay.php(106) : eval()'d code on line 212
And this one:
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 convert_bits_to_array(). 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/content/r/e/v/revolveopp/html/example/forum/showthread.php(103) : eval()'d code on line 677
Warning: Cannot modify header information - headers already sent by (output started at /home/content/r/e/v/revolveopp/html/example/forum/showthread.php(103) : eval()'d code:677) in /includes/functions.php on line 2480
Please help if you know how! Thank you so much!
[edited by: coopster at 1:52 pm (utc) on Oct. 10, 2006]
[edit reason] removed url per TOS [webmasterworld.com] [/edit]
The PHP manual pages explain references [php.net] better than I can. You will want to pay particular attention to Passing by Reference [php.net].
Thank you for attempting to point me in the right direction, though. If there's anything more anyone can offer to help me figure this out, please feel free to share.
Turn down or off error reporting seems like a good temporary solution.
I find it hard to believe that pass-by-reference is depracated, since it's such a useful feature of the language, but that's a very technical question for this thread.
Note that there's no reference sign on function call - only on function definition. Function definition alone is enough to correctly pass the argument by reference. In recent versions of PHP you will get a warning saying that "Call-time pass-by-reference" is deprecated when you use a & in foo(&$a);.
Thank you so much for posting. You're right: I'm not a programmer =(, but I am trying hard to fix this. I went to the link re:turning the error messages off. Unfortunately, I don't know where or how to get to the .ini file. =/ i know how to log into the database, and I know how to log into the php files, by typing in the ftp address. I just don't know where to look for the .ini file.
As far as how this thing happened, well, I was on the vbulletin site trying to add mods. I had successfully added about 20 or 25 mods with no issues. I added a few more back to back, and the next thing I know this message comes up, and I have no clue which mod did it. I don't understand what the message means, and I'm contemplating just erasing the whole database and starting from scratch, which makes me sad since so many people have already signed up and added posts to the site. I know that other people have a test forum where they try things out first, but I can't figure out how to do that =/. I just learned how to back up the database, but I'm thinking that this is less of a database issue, and more of a php file issue since my messages reference the various php and their lines. Now, if only I knew what to do about those lines, then maybe I could fix this.
Do any of you who actually know what you're doing work on sites like mine?
Whatever this issue is, it's even affecting some of the links on the site, making it all the more difficult for people to use the site.
Please help if you know how!
Thank you again!
Marlita