Page 1 of 1

SQL-Warnings bei Aufruf der Hauptseite!

Posted: Sun Feb 18, 2007 12:43 pm
by stingray
Hallo phpMyFAQ-Friends :-)

Ich habe fast alle Voraussetzungen erfüllt, bis auf register_globals_on.
Dazu konnte ich meinen Hoster nicht bewegen.

Aber die Installation funktionierte auch so einwandfrei! Als ich dann die index aufrief kamen folgende Warnings:


Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 324

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php:324) in /srv/www/vhosts/domain.com/httpdocs/index.php on line 90

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 162

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 144

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 144

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 144

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 176

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 176

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 144

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /srv/www/vhosts/domain.com/httpdocs/inc/mysql.php on line 144



Rechte sind bei folgenden Dateien und Ordnern auf 777 gesetzt:

- attachments
- data
- images
- inc
- config.php
- data.php
- pdf
- xml

Serverkonfiguration:

- Apache/2.0.54 (Linux/SUSE)
- MySQL 4.1.13
- PHP 4.4.0

Für ein Feedback schon mal Danke im voraus!

Posted: Sun Feb 18, 2007 1:14 pm
by Thorsten
Hi,

aktivier doch mal bitte in der inc/init.php den DEBUG MODE und rufe dann die Seite nochmal auf. Was erscheint dann? Danke!

bye
Thorsten

Alles gefixt - Es läuft!

Posted: Sun Feb 18, 2007 5:21 pm
by stingray
Hi Thorsten!

Danke für Deine schnelle Antwort.
Ich Hafensänger hätte einfach mal in die DB schauen sollen, die war nämlich komplett leer. Ich hab alles nochmal eingespielt und es lief.

Manchmal sollte man zwischen der ganzen Arbeit einfach mal eine längere Pause einlegen, dann funktioniert der Kopf auch wieder! :shock:

Besten Dank!