Tobes
05-08-2008, 05:32 PM
Hi guys,
I have just moved from a windows server to a linux server, and Im trying to connect to the database and im getting an error already :eek:
heres the config.php:
<?php
$url ="http://www.itstooloud.com/V3/news/";
$root = "/home/tobes/public_html/itstooloud/V3/news/";
$admin_directory = "admin";
$sqlHost = "localhost";
$sqlUsername = "tobes_ITLV3Vivvo";
$sqlPassword = "***********";
$sqlDatabaseName = "tobes_vivvonews";
$showFriendlyURL = "no";
?>
and heres the error Im now getting when i try to log into the CP:
Fatal error: Call to undefined function: sql_error() in /home/tobes/public_html/itstooloud/V3/news/Class/Users.class.php on line 280
and heres line 280 on Class.users.php:
$result = mysql_query($SQL, $this->connection) or sql_error($SQL);
does anyone have any ideas, this is Vivvo3.5
Thanks
Tobes
I have just moved from a windows server to a linux server, and Im trying to connect to the database and im getting an error already :eek:
heres the config.php:
<?php
$url ="http://www.itstooloud.com/V3/news/";
$root = "/home/tobes/public_html/itstooloud/V3/news/";
$admin_directory = "admin";
$sqlHost = "localhost";
$sqlUsername = "tobes_ITLV3Vivvo";
$sqlPassword = "***********";
$sqlDatabaseName = "tobes_vivvonews";
$showFriendlyURL = "no";
?>
and heres the error Im now getting when i try to log into the CP:
Fatal error: Call to undefined function: sql_error() in /home/tobes/public_html/itstooloud/V3/news/Class/Users.class.php on line 280
and heres line 280 on Class.users.php:
$result = mysql_query($SQL, $this->connection) or sql_error($SQL);
does anyone have any ideas, this is Vivvo3.5
Thanks
Tobes