SQL-Warnings bei Aufruf der Hauptseite!

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
stingray
Posts: 2
Joined: Sun Feb 18, 2007 12:16 pm

SQL-Warnings bei Aufruf der Hauptseite!

Post 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!
Thorsten
Posts: 15726
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
stingray
Posts: 2
Joined: Sun Feb 18, 2007 12:16 pm

Alles gefixt - Es läuft!

Post 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!
Post Reply