Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (Ruben), 52 guests, and 217 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
JPG
JPG
Posts: 62
Joined: February 2004
Show All Member Profiles 
Top Posters(30 Days)
Ruben 29
Gizmo 26
fuzzy47 24
isaac 24
Morgan 12
Basil 5
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
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
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 04:39 AM
01/10/07 04: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 07:28 AM
01/10/07 07:28 AM
Joined: Jun 2006
Posts: 16,903
Portland, OR; USA
Gizmo Offline
UBB.threads Developer
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,903
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 11:34 AM
01/10/07 11: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 12:43 PM
01/25/07 12:43 PM
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 12:44 PM
01/25/07 12:44 PM
Joined: Jun 2006
Posts: 4,373
Essex, UK
I
Ian Offline
Carpal Tunnel
Ian  Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 4,373
Essex, UK
cool - glad to hear you are being updated smile


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Backgroud colors in posts
by fuzzy47. 04/16/18 08:27 PM
Avatar Upload Issue
by fuzzy47. 04/15/18 11:58 AM
Forum database - Table prefix question
by Morgan. 04/15/18 06:45 AM
Old Forum Archives
by TGCsanderson. 04/13/18 06:05 PM
Gallery
by fuzzy47. 04/12/18 09:48 AM
Forum Statistics
Forums36
Topics35,104
Posts191,183
Members12,068
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180410)