Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Telly), 33 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/06/10
Posts: 14
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#1447 - 07/19/06 04:36 PM Database errors on install
MattUK Offline
enthusiast
Registered: 06/25/06
Posts: 275
Hi all..

Not getting too far with this install.. the database server is running, the permissions are set, and regardless of the username and setting I give it for the DB, i get the following error when it tries to connect to the DB.. I've played around for hours and now i'm just getting annoyed, so I thought I'd post up...

Connecting to server
Fatal error: Call to undefined function mysql_connect() in G:\webs\www.bm3w.co.uk\public_html\ubbthreads\install\install.php on line 436

Any ideas or pointers before I set it on fire
_________________________
Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Top
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."
#1449 - 07/19/06 04:42 PM Re: Database errors on install [Re: MattUK]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
This error "Call to undefined function mysql_connect()" means that PHP isn't compiled with mysql support or at least it's not set in the php.ini file. Is this your own server or a hosted server?
Top
#1452 - 07/19/06 04:57 PM Re: Database errors on install [Re: Rick]
MattUK Offline
enthusiast
Registered: 06/25/06
Posts: 275
This is my server
_________________________
Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Top
#1454 - 07/19/06 05:05 PM Re: Database errors on install [Re: MattUK]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ok, first thing would be to take a look at your phpinfo. Try creating a .php file with the following inside of it:

Php Code:
phpinfo(); 


Bring the file up in your web browser and see if there is anything related to mysql in the configuration. If php has been compiled with mysql support you should at least see a --with-mysql.
Top
#1455 - 07/19/06 05:14 PM Re: Database errors on install [Re: Rick]
MattUK Offline
enthusiast
Registered: 06/25/06
Posts: 275
Is that all I need to stick, as that is all that is being displayed when I load it up..

I've had a look in php.ini and there is a load of mysql stuff in there .. I guess I need to read up on it
_________________________
Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Top
#1456 - 07/19/06 05:17 PM Re: Database errors on install [Re: MattUK]
MattUK Offline
enthusiast
Registered: 06/25/06
Posts: 275
Seems PHP 5 doesnt come with mysql libraries.. great
_________________________
Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Top
#1457 - 07/19/06 05:19 PM Re: Database errors on install [Re: MattUK]
MattUK Offline
enthusiast
Registered: 06/25/06
Posts: 275
PHP Version 5.1.4

System Windows NT BM3W 5.2 build 3790
Build Date May 4 2006 10:30:29
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety enabled
Zend memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

Is the report on my query.. im just searching for the right DLL to enable it..
_________________________
Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Top
#1460 - 07/19/06 05:29 PM Re: Database errors on install [Re: MattUK]
MattUK Offline
enthusiast
Registered: 06/25/06
Posts: 275
You know what, it really bugs me when these people decide to change what they ship with their products and take out something people use.. ARGGGHGHHGHGG

I'm giving up for now, its too hot and im frustrated, I've copied the files to various places and its just stupid..

_________________________
Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Top
#1461 - 07/19/06 05:29 PM Re: Database errors on install [Re: MattUK]
MattUK Offline
enthusiast
Registered: 06/25/06
Posts: 275
<insert loudly shouted swear words here>
_________________________
Join Europes biggest BMW M Car owners site
M-Torque - www.mtorque.co.uk
Top
#1462 - 07/19/06 05:36 PM Re: Database errors on install [Re: MattUK]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
I believe that PHP5 uses MySQLi vs MySQL; I'm not sure on too much more as I'm utiliing PHP4 on all of my machines...

Your best bet is google though "php5 mysql" (or something similar)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
How do I make a selection between helpdesk and service desk
by Telly
09:47 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10488 Members
36 Forums
33836 Topics
181688 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image