corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Any vBulletin guys out there?


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Any vBulletin guys out there?
Andrew
Member

Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
14th Feb 07 at 20:37   View User's Profile U2U Member Reply With Quote

Keep getting this error message:

Step 2) Connect to the database
Attempting to attach to database
Error description: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'localhost' (10061) E:\web\public_html\andrewc07\forums\includes\class _core.php on line 273

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.

However, my database server is not called localhost and mysql2.loosefoot.com. How do i get vBullitin to look at the relevant database.
Neil
Member

Registered: 2nd Nov 03
Location: Newcastle Drives: E46 MSport Coupe
User status: Offline
14th Feb 07 at 20:51   View User's Profile U2U Member Reply With Quote

Tells you there really. In includes/config.php you need to change this line:

$config['MasterServer']['servername'] = 'localhost';
Andrew
Member

Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
14th Feb 07 at 20:57   View User's Profile U2U Member Reply With Quote

Parse error: parse error, unexpected $end in E:\web\public_html\andrewc07\forums\includes\config.php on line 171
Andrew
Member

Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
14th Feb 07 at 21:01   View User's Profile U2U Member Reply With Quote

Line 273 contains the following code:

$link = $this->functions[$usepconnect ? 'pconnect' : 'connect']("$servername:$port", $username, $password);
Andrew
Member

Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
14th Feb 07 at 21:09   View User's Profile U2U Member Reply With Quote

http://www.vbulletin.com/forum/showthread.php?t=220211
Neil
Member

Registered: 2nd Nov 03
Location: Newcastle Drives: E46 MSport Coupe
User status: Offline
14th Feb 07 at 21:51   View User's Profile U2U Member Reply With Quote

what does line 171 say?
Neil
Member

Registered: 2nd Nov 03
Location: Newcastle Drives: E46 MSport Coupe
User status: Offline
14th Feb 07 at 21:52   View User's Profile U2U Member Reply With Quote

Also is this bit from vbulletin post at the end of the file?

ÿÿÿ
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
14th Feb 07 at 21:53   View Garage View User's Profile U2U Member Reply With Quote

bin vbulletin while your ahead

[Edited on 14-02-2007 by Steve]
Whittie
Member

Registered: 11th Aug 06
Location: North Wales Drives: BMW, Corsa & Fiat
User status: Offline
14th Feb 07 at 22:10   View User's Profile U2U Member Reply With Quote

I used IPB, preferred it to VB at the time.
Andrew
Member

Registered: 5th May 04
Location: Skoda Octavia Estate, Ford Puma
User status: Offline
15th Feb 07 at 08:24   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by NeilM
Also is this bit from vbulletin post at the end of the file?

ÿÿÿ


Sorted it now. That was part of the problem! Took me hours

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Today, I'll mostly be getting annoyed with the following things Ian General Chat 77 2629
23rd Jan 07 at 20:54
by andy1868
 
forums Greg_M Geek Day 10 618
10th Sep 06 at 00:32
by Sam
 
Forum WATSON Geek Day 24 1211
15th Dec 06 at 01:44
by WATSON
 

Corsa Sport » Message Board » Off Day » Geek Day » Any vBulletin guys out there? 28 database queries in 0.0175600 seconds