Login Problem phpmyfaq 1.5.6

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Tshunsh
Posts: 10
Joined: Fri Feb 10, 2006 6:21 pm

Login Problem phpmyfaq 1.5.6

Post by Tshunsh »

Hallo Leute,

ich möchte gerne phpmyfaq auf localhost zu installieren, was soweit auch ohne Fehlermeldungen auch klappt, aber soweit ich mich als admin anmelden möchte passiert folgendes:

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

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:176) in /srv/www/htdocs/phpmyfaq/admin/header.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:176) in /srv/www/htdocs/phpmyfaq/admin/header.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:176) in /srv/www/htdocs/phpmyfaq/admin/header.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:176) in /srv/www/htdocs/phpmyfaq/admin/header.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:176) in /srv/www/htdocs/phpmyfaq/admin/header.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:176) in /srv/www/htdocs/phpmyfaq/admin/header.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:176) in /srv/www/htdocs/phpmyfaq/admin/header.php on line 33

Mein System ist SuSE 10 mit php 4.4.0 mySQL 4.1.13
ich hoffe auf eure Hilfe!
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

klappt der Login?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Tshunsh
Posts: 10
Joined: Fri Feb 10, 2006 6:21 pm

Post by Tshunsh »

Hallo,

danke für superschelle Antwort!
Der Login klappt leider auch nicht, das Fenster teilt sich auf Zwei hälften,
oben sind die Fehler ausgaben und unten der Login Fenster.

mfg Tshunsh
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

stimmt das Passwort?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Tshunsh
Posts: 10
Joined: Fri Feb 10, 2006 6:21 pm

Post by Tshunsh »

Hallo,

Das Admin Password ist das was ich bei der Installation definirt habe und es ist gleich was ich da für Benutzer und Password eintrage, immer das gleiche Ergebnis.
Ubrigens, wenn ich die User-Seite einsteuere bekomme folgendes:

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/phpmyfaq/inc/mysql.php on line 312

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/phpmyfaq/inc/mysql.php:312) in /srv/www/htdocs/phpmyfaq/index.php on line 86

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

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

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

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

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

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

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

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

mfg Tshunsh
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

kannst du mal eine PHP-Datei mit

Code: Select all

<?php
setcookie('pmf_sid', 1, time() + 3600);
?>
erstellen und die aufrufen und mir das Ergebnis hier posten? Danke!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Tshunsh
Posts: 10
Joined: Fri Feb 10, 2006 6:21 pm

Post by Tshunsh »

Hallo,

das habe ich gemacht, nur passiert leider nichts, rein gar nichts!
Keine Fehlermeldung, einfach nur leere Seite.

mfg Tshunsh
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ist das Cookie vorhanden?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Tshunsh
Posts: 10
Joined: Fri Feb 10, 2006 6:21 pm

Post by Tshunsh »

Welche Cookie???
Im Explorer oder Firefox alles auf standart eingestelt.

mfg Tshunsh
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

die Installation lief aber sauber durch, oder? Kannst du mir mal per Mail einen Dump deiner Datenbank schicken?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Tshunsh
Posts: 10
Joined: Fri Feb 10, 2006 6:21 pm

Post by Tshunsh »

Hallo,

Datenbank ist leider komplett lehr!

Meine Vorgehensweise bei der Installation:
Mit „phpMyAdmin“ ganz normal eine Datenbank namens „phpmyfaq“ angelegt,
wie im Handbuch beschrieben habe alle nötigen Schritten ausgeführt(download, endpacken,
ins htdocs copirt und die Berechtigungen entsprechend angepasst).
Installation gestartet und sauber durchgeführt(ohne Fehlermeldung!) das was. :?:

mfg Tshunsh
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

es müsste in der faquser-Tabelle der admin-User zu sehen sein. Kann es sein, dass der Datenbank-User nicht genügend Rechte hat?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Svenaui
Posts: 29
Joined: Fri Sep 23, 2005 10:01 am

Post by Svenaui »

Hi Tshunsch,

schau mal, ob Du bei der Insatllation der FAQ den richtigen Datenbanknamen anggeben hast, wenn Du schon mehrmals probiert hast, kann da etwas schief gehen.
Aus dem "htdocs" entnehme ich, das Du xampp benutzt, wird dies ordendlich gestartet d.h. ohne Fehlermeldungen?
Ansonsten kann ich nur sagen, alles "sauber machen" und noch einmal entpacken, dann Datenbank erstellen mit allen Rechten, und dann installieren, hat bei mir bis her immer gut geklappt.
Sollten keine Tabellen unter der erstellten Datenbankzu finden sein, ist noch etwas anderes grau...

VG
Sven
Tshunsh
Posts: 10
Joined: Fri Feb 10, 2006 6:21 pm

Post by Tshunsh »

Hallo Leute,

ich vermute auch das der Fehler hier in der Datenbank liegt. Mit MySQL auf Kommandozeile
kenne ich mich nicht aus.
Wie erstelle ich die Datenbank richtig?
Muss ich die Tabellen auch erstellen, wie setze ich die Berechtigung?
Könnt ihr da mir unter die Arme greifen?

Villen dank!!!
Tshunsh
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

mit phpMyAdmin kannst du die Datenbank selbst erstellen, die Tabellen erstellt dir das Installationsskript von phpMyFAQ.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply