Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.

pphlogger schwarz

Ajax, Hijax, Microformats, RDF, Markup, HTML, PHP, CSS, MySQL, htaccess, robots.txt, CGI, Java, Javascript usw.
Neues Thema Antworten
zzz
PostRank 7
PostRank 7
Beiträge: 520
Registriert: 16.01.2004, 12:44
Wohnort: Berlin

Beitrag von zzz » 15.05.2006, 20:46

alle paar Monate das gleiche spiel. Der ppphlogger bekommt ab und zu Probleme und ist ein paar Tage schwarz mit folgenden Fehlermeldungen schwarz auf schwarz.

Code: Alles auswählen

Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 18 in /srv/www/htdocs/web870/html/stats/stats/libraries/functions.lib.php on line 1667

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/web870/html/stats/stats/include/get_csscolors.inc.php on line 18

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web870/html/stats/stats/libraries/functions.lib.php:1667) in /srv/www/htdocs/web870/html/stats/stats/include/head.inc.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web870/html/stats/stats/libraries/functions.lib.php:1667) in /srv/www/htdocs/web870/html/stats/stats/include/head.inc.php on line 14

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/web870/html/stats/stats/libraries/functions.lib.php:1667) in /srv/www/htdocs/web870/html/stats/stats/include/head.inc.php on line 16

kennst das jemand und hat einer eine Lösung für dieses Problem... Immer neuinsstallieren macht wenig Spaß.

Anzeige von ABAKUS

von Anzeige von ABAKUS »

SEO Consulting bei ABAKUS Internet Marketing
Erfahrung seit 2002
  • persönliche Betreuung
  • individuelle Beratung
  • kompetente Umsetzung

Jetzt anfragen: 0511 / 300325-0.


kill_bill
PostRank 8
PostRank 8
Beiträge: 882
Registriert: 07.07.2005, 00:31
Wohnort: Meppen

Beitrag von kill_bill » 15.05.2006, 21:22

Hm, wenn ich mir den Quelltext von functions.lib.php anschaue (so um die Line 1667) finde ich da folgendes:

Code: Alles auswählen

function resetCssIDs() {
	
	// restore cssid in pphl_settings
	$sql = "SELECT value FROM ".PPHL_TBL_SETTINGS." WHERE setting = 'cssid'";
	$res = mysql_query($sql);
	$cssid_setting = mysql_result($res, 0, 0);
	$sql = "SELECT * FROM ".PPHL_TBL_CSS." WHERE id = $cssid_setting AND userid = 0";
	$res = mysql_query($sql);
	if (!@mysql_num_rows($res)) { // if cssid in pphl is not valid, choose first id in pphl_css
		$sql = "SELECT id FROM ".PPHL_TBL_CSS." WHERE userid = 0";
		$res2 = mysql_query($sql);
		$cssid_setting = mysql_result($res2, 0, 0);
		$sql = "UPDATE ".PPHL_TBL_SETTINGS." SET value = '$cssid_setting' WHERE setting = 'cssid'";
		$res2 = mysql_query($sql);
	}
Es scheint so, als würde aus welchen Gründen auch immer
$cssid_setting = mysql_result($res2, 0, 0);
zu keinem Ergebnis führen.
Dort wird eigentlich nachgeschaut, welches Farbset gewählt wurde...

Kleiner Lösungsvorschlag:
if (!@mysql_num_rows($res)) { // if cssid in pphl is not valid, choose first id in pphl_css
$sql = "SELECT id FROM ".PPHL_TBL_CSS." WHERE userid = 0";
$res2 = mysql_query($sql);
$cssid_setting =@mysql_result($res2, 0, 0);
if (!$cssid_setting){ $cssid_setting=1; }
$sql = "UPDATE ".PPHL_TBL_SETTINGS." SET value = '$cssid_setting' WHERE setting = 'cssid'";
$res2 = mysql_query($sql);
}
Das Farbset würde dann im Notfall auf Farbset Nr. 1 zurückspringen.
Den Wert $cssid_setting kannst Du natürlich auch nach belieben ändern.

Poste mal, ob das geholfen hat.

marc75
PostRank 9
PostRank 9
Beiträge: 1916
Registriert: 06.10.2004, 09:36

Beitrag von marc75 » 16.05.2006, 08:00

$cssid_setting =@mysql_result($res2, 0, 0);
if (!$cssid_setting){ $cssid_setting=1; }
Die Frage ist eher, warum liefert es kein Ergebnis mehr.

benutze mal:

echo mysql_error();

Antworten