I am upgrading to latest version from 3.4.0. I followed instructions in the readme file (included with the package). Everything went fine, I did run upgrade.php, until I want to view my site. I get the following error.
"WSN Links is unable to render this page. The reason is described below: Cannot establish a database connection. MySQL returns the error . (It's possible that the web host's database is currently down, if so this is a temporary error and will go away when the database is accessible again.) Version info: WSN Links 4.0.13"
I didnt alter any of the MySQL settings in the config.php file, which wasnt overwritten either.
Tested, I have no problems installing 3.4.6 and then upgrading it to the current version. I'm working with MySQL 5 and it updated my config to mysqli. 3.4.0 should be the same.
Comments on Upgrade from 3.4.0 troubles
Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania
Total Topics: 19
Total Comments: 50
I am upgrading to latest version from 3.4.0. I followed instructions in the readme file (included with the package). Everything went fine, I did run upgrade.php, until I want to view my site. I get the following error.
"WSN Links is unable to render this page. The reason is described below:
Cannot establish a database connection.
MySQL returns the error . (It's possible that the web host's database is currently down, if so this is a temporary error and will go away when the database is accessible again.)
Version info: WSN Links 4.0.13"
I didnt alter any of the MySQL settings in the config.php file, which wasnt overwritten either.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
What MySQL version? If it's mysql 4.1+ it's supposed to change your config.php from mysql to mysqli now. Check if your config says mysqli.
I'll try a 3.4.6 upgrade.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Tested, I have no problems installing 3.4.6 and then upgrading it to the current version. I'm working with MySQL 5 and it updated my config to mysqli. 3.4.0 should be the same.
Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania
Total Topics: 19
Total Comments: 50
We're running MySQL4 4.1.9
I've checked config.php and it says
$dbtype = 'mysqli';
require_once 'databases/mysqli.php';
Not sure if thats what you asked.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Change those to mysql and save the file. You must've had the same issue as https://www.webmastersite.net/forums/thread/7167
Usergroup: Customer
Joined: Aug 02, 2005
Location: Romania
Total Topics: 19
Total Comments: 50
That was it.
Thanks for the help.