TBDev Forum
Programming board
Main Page Forum Rules Privacy Policy Members Contact Us
Welcome Guest (Login | Register)
TBDev Forum TBDev.net - Help General Support Call to undefined function

Call to undefined function

2007-01-23 22:34:00
Group: Member
Posts: 46
Topics participated: 20
Topics started: 7
First post: 2007-01-23 22:34:00
Last post: 2007-03-25 01:33:00
I've just installed "TBDEV.NET - 01 - 03 - 06" on localhost.
It's up now, but i'm getting one annoying error in a couple places... Like the Staff page, and when I try to signup... the signup page is fine, It happens after I put in all my information and click signup.

Fatal error: Call to undefined function: mysql_real_escape_string() in c:\phpdev5\www\include\bittorrent.php on line 294

Here's line 293 and 294 from bittorrent.php:::

function sqlesc($x) {
 
2007-01-23 22:51:00
Group: Member
Posts: 2607
Topics participated: 1470
Topics started: 2
First post: 2006-07-10 10:45:00
Last post: 2008-06-13 17:08:00
 
2007-01-24 12:16:00
Group: Member
Posts: 46
Topics participated: 20
Topics started: 7
First post: 2007-01-23 22:34:00
Last post: 2007-03-25 01:33:00
Sorry, that page is just confusing to me.
I know the very basics of php... this is way beyond my expertise.
 
2007-01-24 12:56:00
Group: Member
Posts: 2607
Topics participated: 1470
Topics started: 2
First post: 2006-07-10 10:45:00
Last post: 2008-06-13 17:08:00
by ur errror i see u using phpdev5 and it use PHP4.2.2, mysql_real_escape_string() is PHP4.3.0 and up.
 
2007-01-24 03:56:00
Group: Member
Posts: 46
Topics participated: 20
Topics started: 7
First post: 2007-01-23 22:34:00
Last post: 2007-03-25 01:33:00
Ahhhh, I see now... sorry about that. Got it workin now.

Thank you!!!

p.s. When I signed up I was automaticly made sysOp... is this normal?
 
2007-01-24 04:19:00
Group: Member
Posts: 2607
Topics participated: 1470
Topics started: 2
First post: 2006-07-10 10:45:00
Last post: 2008-06-13 17:08:00
yes, first account will be sysop after him will be users
 

Similar threads

Topic Posts Last post
Call to Undefined function 4 2007-04-08 15:39:00
Call to undefined function: verify_passkey() 7 2007-04-14 10:10:00
Call to undefined function: get_date_time() in 1 2006-06-04 21:55:00
undefined function get_date_time() on every page 4 2008-12-02 13:13:00
delete certain subtable or how do u call this 2 2006-04-06 19:35:00