bryanteske
03.07.2012, 00:35
Wurde heute daraufhin gewiesen, das bei meiner Seite im Google Chrome im Fuß diverse SQL Fehler sind.
Diese Fehler sind es :
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/klick-area.de/httpdocs/index.php on line 9
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Allerdings kann ich in den besagten Zeilen nichts finden.
// Mysql Querys
function db_query($sql_tag){
global $count_query;
$count_query++;
$fargs = func_get_args();
if (!empty($fargs)){
$vargs = array();
foreach($fargs as $key => $arg){
$vargs[$key] = mysql_real_escape_string($arg);
}
array_shift($vargs);
$sql_tag = vsprintf($sql_tag,$vargs);
}
if($ret = mysql_query($sql_tag)){
return $ret;
}else{
return 0;
}
}
ist nun von Reihe 45 bis 65
Währe sehr dankbar um Hilfe
Diese Fehler sind es :
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/klick-area.de/httpdocs/index.php on line 9
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 55
Warning: mysql_query() [function.mysql-query]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /var/www/vhosts/klick-area.de/httpdocs/lib/functions.lib.php on line 60
Allerdings kann ich in den besagten Zeilen nichts finden.
// Mysql Querys
function db_query($sql_tag){
global $count_query;
$count_query++;
$fargs = func_get_args();
if (!empty($fargs)){
$vargs = array();
foreach($fargs as $key => $arg){
$vargs[$key] = mysql_real_escape_string($arg);
}
array_shift($vargs);
$sql_tag = vsprintf($sql_tag,$vargs);
}
if($ret = mysql_query($sql_tag)){
return $ret;
}else{
return 0;
}
}
ist nun von Reihe 45 bis 65
Währe sehr dankbar um Hilfe