Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (Geoff), 65 guests, and 394 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Gizmo
Gizmo
Portland, OR; USA
Posts: 16,826
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 48
Gizmo 38
Geoff 32
Morgan 30
ECNet 17
Mark S 11
JAISP 10
Ruben 9
Bert 8
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
Error: call to undefined fn: mysql_real_escape_string #172914
01/10/07 02:52 AM
01/10/07 02:52 AM
Joined: May 2006
Posts: 245
California
Steve C Offline OP
enthusiast
Steve C  Offline OP
enthusiast
Joined: May 2006
Posts: 245
California
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/whitneyportalstore.com/httpdocs/forum/libs/mysql.inc.php 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 03:39 AM
01/10/07 03:39 AM
Joined: Nov 2006
Posts: 3,390
ntdoc Offline
Carpal Tunnel
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 06:28 AM
01/10/07 06:28 AM
Joined: Jun 2006
Posts: 16,826
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,826
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.
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 10:34 AM
01/10/07 10:34 AM
Joined: Jun 2006
Posts: 255
I
Ian Spence Offline
enthusiast
Ian Spence  Offline
enthusiast
I
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 11:43 AM
01/25/07 11:43 AM
Joined: May 2006
Posts: 245
California
Steve C Offline OP
enthusiast
Steve C  Offline OP
enthusiast
Joined: May 2006
Posts: 245
California
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 11:44 AM
01/25/07 11:44 AM
Joined: Jun 2006
Posts: 4,372
Essex, UK
I
Ian Offline
Carpal Tunnel
Ian  Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 4,372
Essex, UK
cool - glad to hear you are being updated smile


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Subscription Pending Auto Update to Active
by Geoff. 01/18/18 09:04 AM
7.6.1.1 Custom Tag Editor (YouTube)
by Mark S. 01/15/18 02:58 PM
Enable Spider Friendly Urls Issues
by Geoff. 01/15/18 11:32 AM
Restore 'member #' like UBB.classic
by mmkk. 01/14/18 09:18 AM
Icon Select (default icon)
by TGCsanderson. 01/13/18 09:20 PM
Forum Statistics
Forums36
Topics35,047
Posts190,760
Members12,050
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1.1