Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 117
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 117
[]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 create_form_check(). 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 /home2/fccuk/public_html/board/ubbt.inc.php on line 1911[/]

Having just made a new install in order to make a move to a different host, I get this message above. As a result, I'm unable to log in, even as an admin.

Can't find any solution yet... please help!

PHP version 4.3.9
MySQL version 4.0.25-standard
Apache version 1.3.33 (Unix)
Kernel version 2.4.25

Currently on http://209.197.244.224/board

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
I see the same error in a client's install, it's filling up the error log pretty quickly. The function in question is:

Code
function do_form_check($check, &$value_hash) {

	$doomed = create_form_check(&$value_hash); <<== ( [b]line 1911[/b] )

//	print "!$doomed!$check!";

	return $doomed == $check ? true : false;

} // end do_form_check

in ubbt.inc.php version 6.5.2


- Allen
- ThreadsDev | PraiseCafe
Joined: Apr 2006
Posts: 13
R
stranger
stranger
R Offline
Joined: Apr 2006
Posts: 13
we are experiencing the same problem ... any suggestions?

Joined: Jun 2006
Posts: 93
A
journeyman
journeyman
A Offline
Joined: Jun 2006
Posts: 93
use this:
function do_form_check(check, $value_hash) {

$doomed = create_form_check(&$value_hash); <<== ( line 1911 )

// print "!$doomed!$check!";
$return = $doomed == $check ? true : false;

return $return;
} // end do_form_check


---
Take your community to the next level
Joined: Apr 2006
Posts: 13
R
stranger
stranger
R Offline
Joined: Apr 2006
Posts: 13
I couldn't get the above to work but I did get this to work:

function do_form_check($check, $value_hash) {

$doomed = create_form_check($value_hash);

// print "!$doomed!$check!";

return $doomed == $check ? true : false;

} // end do_form_check

Joined: Jun 2006
Posts: 93
A
journeyman
journeyman
A Offline
Joined: Jun 2006
Posts: 93
Sorry, I accidently deleted a "$" sign. My solution should be:

function do_form_check(check, $value_hash) {

$doomed = create_form_check(&$value_hash); <<== ( line 1911 )

// print "!$doomed!$check!";
$return = $doomed == $check ? true : false;

But yours is basically the same.
return $return;
} // end do_form_check


---
Take your community to the next level
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
I think you still forgot the "$" sign on the top line before "check"? It gives me a parse error until I add the $ back in. smile

Is this correct?

Code
function do_form_check($check, $value_hash) {

$doomed = create_form_check($value_hash);
// print "!$doomed!$check!";
$return = $doomed == $check ? true : false;
return $return;
} // end do_form_check


- Allen
- ThreadsDev | PraiseCafe

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (ahmed047), 624 guests, and 172 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)