PDA

View Full Version : error on upgrade 3.0.6 to 3.6.0


seidel
Sat 19th Aug '06, 11:26pm
My vbulletin 3.0.6 runs fine.

I want upgrade to 3.6.0 and fill the new config.php

when run the upgrade.php file:

"There seems to have been a slight problem with the database"

Please helpme!

Thanks

Steve Machol
Sat 19th Aug '06, 11:46pm
We need to see the real error message. Right-click on the error page and go to View/Source. Then copy-n-paste the error message here.

seidel
Sat 19th Aug '06, 11:59pm
Thanks1 but is the all info:

There seems to have been a slight problem with the database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience

Steve Machol
Sun 20th Aug '06, 12:00am
Right-click on the error page and go to View/Source. Then copy-n-paste the error message here.

seidel
Sun 20th Aug '06, 12:08am
I´m sorry... :(

Database error in vBulletin :

Link-ID == false, connect failed
mysql error:

mysql error number: 0

Date: Saturday 19th of August 2006 10:04:55 PM

Steve Machol
Sun 20th Aug '06, 12:10am
See this:

http://www.vbulletin.com/docs/html/troubleshoot_mysql_linkid

seidel
Sun 20th Aug '06, 12:44am
Thanks!

I run the test suggested and says:

"Access denied for user 'joan'@'localhost' (using password: NO)"

Exactly, whats wrong?

thanks again

Steve Machol
Sun 20th Aug '06, 12:45am
The most likely cause of this error is that the info in your config.php file is wrong or your db user does not have full permissions to this database. Please read this for all the known causes of this error:

http://www.vbulletin.com/forum/showthread.php?t=145384

seidel
Sun 20th Aug '06, 1:41am
I trying with these code:


<?php
require_once('./includes/config.php');
$db = @mysql_connect($config['MasterServer']['servername'], $config['MasterServer']['username'], $config['MasterServer']['password']) or die(mysql_error());
mysql_select_db($config['Database']['dbname'], $db);
echo "Connected sucessfully.";
?>

I say error, but If I use these code


<?php
require_once('./includes/config.php');
@mysql_connect('localhost', 'user', 'pass') or die(mysql_error());
mysql_select_db($config['Database']['dbname'], $db);
echo "Connected sucessfully.";
?>

the result is ok...

whats wrong?

The username and pass is not "travel" from config.php ...

seidel
Sun 20th Aug '06, 3:12am
I will update from 3.0.6 to 3.0.15 and is ok

but when updated from 3.0.15 to 3.5.0 the system says the same error....

(post 1)

I believe the structure in config.php is the problem, the config.php in 3.0.X has no problem, but >3.5 Is very problematic...

please helpme!

Steve Machol
Sun 20th Aug '06, 3:15am
If it's the error in post 5, it's the same issue I posted about. If it's the error in post 7, I also gave you a link for all the known causes of that error.

The answers are in the links I provided.

seidel
Sun 20th Aug '06, 11:24am
Dear Steve:

I read you link and I type exactly the password,username, database name from config.php 3.0.6 in config.php 3.6.0... all fields are the same

But the error is the same:

Link-ID == false, connect failed

my server information:

Operating System Linux
Kernel Version 2.6.17.6
Apache Version 1.3.36 (Unix)
PHP Version 4.4.2
MySQL Version 4.1.19-standard

any idea?

Steve Machol
Sun 20th Aug '06, 1:40pm
This link has all the known causes of this error:

http://www.vbulletin.com/docs/html/troubleshoot_mysql_linkid

If it's not the info in your config.php file or db permissions, then it's a server problem and you need to contact your host about this.

seidel
Sun 20th Aug '06, 5:42pm
Thanks for your time, but my problem is not resolved :(

If possible get a refund for my failed upgrade to 3.6.0?

thanks

Steve Machol
Sun 20th Aug '06, 6:29pm
Not really.

seidel
Thu 24th Aug '06, 8:53am
Dear Steve:

The advice from Martin advice was correct!

I create a fresh install and 3.6.0 is running ok.

At this time I´m using impex for import from old 3.0.x to 3.6.0!

Thanks for your help!

I´m happy!