Hi all, when I try to connect to the login screen of serweb the next messages appear. I'm worried specially about the fatal error (its' the last message)!!!
Warning: Division by zero in /var/www/html/serweb/serweb_2004-07-27/html/config.php on line 214
Warning: Division by zero in /var/www/html/serweb/serweb_2004-07-27/html/config.php on line 215
Warning: Division by zero in /var/www/html/serweb/serweb_2004-07-27/html/config.php on line 216
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in /var/www/html/serweb/serweb_2004-07-27/html/page.php on line 7
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in /var/www/html/serweb/serweb_2004-07-27/html/page.php on line 8
Warning: Cannot add
header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in /var/www/html/serweb/serweb_2004-07-27/html/page.php on line 9
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in /var/www/html/serweb/serweb_2004-07-27/phplib/session.inc on line 462
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in /var/www/html/serweb/serweb_2004-07-27/phplib/session.inc on line 463
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in
/var/www/html/serweb/serweb_2004-07-27/phplib/session.inc on line 464
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in /var/www/html/serweb/serweb_2004-07-27/phplib/session.inc on line 465
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/serweb/serweb_2004-07-27/html/config.php:214) in /var/www/html/serweb/serweb_2004-07-27/phplib/session.inc on line 466
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/serweb/serweb_2004-07-27/phplib/db_mysql.inc on line 73
I've had a look at db_mysql.inc:
line 73: $this->Link_ID=mysql_pconnect($Host, $User, $Password);
Where should this function be defined? What am I missing? The only changes I've made to db_mysql.inc are:
/* public: connection parameters */
var $Host = "";
var $Database = "";
var $User = "";
var $Password = "";
resulting:
/* public: connection parameters */
var $Host = "localhost";
var $Database = "ser";
var $User = "ser";
var $Password = "heslo";
Please help. Thanks a lot,
Llanos