Site Links
Pricing & Order
Members Area
Support Options
Who's Online Now
1 registered members (Alento), 48 guests, and 218 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Midlands, UK
Posts: 137
Joined: July 2005
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
isaac 16
Ruben 14
Morgan 6
driv 2
M4TT 2
Ian 1
Latest Photos
Testing to drag photos
Comfortable Cats
BSA photos
Previous Thread
Next Thread
Print Thread
Error: call to undefined fn: mysql_real_escape_string #172914
01/10/07 03:52 AM
01/10/07 03:52 AM
Steve C  Offline OP
Joined: May 2006
Posts: 245
I got this error creating the creating your tables (createtable.php) script:

Fatal error: Call to undefined function: mysql_real_escape_string() in /usr/local/psa/home/vhosts/ on line 136

Could this be related: My host tech support reports to me that they are running MySQL 4.1.11, yet when I access the database via the PLESK browser screen: click on my domain name, then
click on the Databases button, then
click on my database, then click on the PHPMYADMIN button, a popup window appears showing what appears to be a list of tables (51 beginning with ubbt_) on the left, and on the right: Welcome to phpMyAdmin 2.2.6, MySQL 3.23.55 running on localhost as whitney1@localhost

Is it actually running 3.23.55?

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Error: call to undefined fn: mysql_real_escape_string [Re: Steve C] #172916
01/10/07 04:39 AM
01/10/07 04:39 AM
ntdoc  Offline
Carpal Tunnel
Joined: Nov 2006
Posts: 3,390
It could be that your cpanel cache needs to be cleared which you would have to open a ticket with your support and have them take care of it.


Re: Error: call to undefined fn: mysql_real_escape_string [Re: ntdoc] #172919
01/10/07 07:28 AM
01/10/07 07:28 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,974
Portland, OR; USA
It sounds like you already have the tables in place (as it creates the ubbt_ tables when ran)

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums. Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Error: call to undefined fn: mysql_real_escape_string [Re: Gizmo] #172934
01/10/07 11:34 AM
01/10/07 11:34 AM
Ian Spence  Offline
Joined: Jun 2006
Posts: 255
I think PHP is the problem here, not the mysql. What version of PHP are you running? UBB.Threads requires PHP 4.3 or greater

Re: Error: call to undefined fn: mysql_real_escape_string [Re: Ian Spence] #175555
01/25/07 12:43 PM
01/25/07 12:43 PM
Steve C  Offline OP
Joined: May 2006
Posts: 245
Posting a followup here...

Both the MySQL and PHP versions were too old on the server I was using. The host site has created a new environment on a more up-to-date server for me, and I am installing Threads there, while the Classic board continues to run on the old server.

Thanks for the help here. I have more (new) questions, but I'll open new threads for them.

Re: Error: call to undefined fn: mysql_real_escape_string [Re: Steve C] #175557
01/25/07 12:44 PM
01/25/07 12:44 PM
Ian  Offline

Carpal Tunnel
Joined: Jun 2006
Posts: 4,374
Essex, UK
cool - glad to hear you are being updated smile

Shout Box
Today's Birthdays
Recent Topics
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
UBB.threads 7.7.0 - Progress Reports
by isaac. 10/13/18 09:34 AM
Can't Reply to Global Announcements
by M4TT. 10/06/18 08:29 PM
Forum Statistics
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2