Installation angeblich OK, dann beim Einloggen Fehler

All about webserver configurations, PHP and databases.

Moderator: Thorsten

fpsoft
Posts: 8
Joined: Tue Aug 22, 2006 9:49 am
Contact:

Von 1.4.1 auf 1.6.4 und jetzt auf 1.6.5

Post by fpsoft »

Hallo,

ich kam von 1.4.1 auf 1.6.4 mit Problemen (Posts zuvor) und habe jetzt auf 1.6.5 upgedated (ohne Fehlermeldung).

Mit besten Grüßen
fpsoft
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

es passt nun also?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
fpsoft
Posts: 8
Joined: Tue Aug 22, 2006 9:49 am
Contact:

Post by fpsoft »

:?:

Hallo,

phpMyFAQ läuft jetzt leider gar nicht mehr :(

Mein phpMyFAQ:
http://www.piplak.de/Produkte/FAQs/index.php
PostPosted: Sun Sep 24, 2006 12:49 am Post subject: Das gleiche Problem... Reply with quote
Hallo,

ich habe das gleiche Problem und die 'init.php' entsprechend geändert. Jetzt kommen folgende Meldungen:
Code:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/www/htdocs/piplak.de/Produkte/FAQs/inc/mysql.php on line 144

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/www/htdocs/piplak.de/Produkte/FAQs/inc/mysql.php on line 144

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/htdocs/piplak.de/Produkte/FAQs/inc/mysql.php on line 176

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/htdocs/piplak.de/Produkte/FAQs/inc/mysql.php on line 176
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

was hast du denn alles geändert? Kannst du mal deinen Debug-Modus aktivieren?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
fpsoft
Posts: 8
Joined: Tue Aug 22, 2006 9:49 am
Contact:

Post by fpsoft »

Hallo Thorsten,

eigentlich habe ich das update 1.4.1 auf 1.6.4 nach Anleitung durchgeführt, wobei bei Schritt 5/5 der Fehler

Code: Select all

Fatal error: Cannot redeclare class db in /home/www/htdocs/piplak.de/Produkte/FAQs/inc/mysql.php on line 28 
phpMyFAQ funktionierte trotzdem, bis auf die Administration. Beim Aufruf erscheinen folgende 3 Meldungen:

Code: Select all

1.
Warning: main() [function.main]: Unable to access constants.php in /home/www/htdocs/piplak.de/Produkte/FAQs/inc/init.php on line 35

2.
Warning: main(constants.php) [function.main]: failed to create stream: No such file or directory in /home/www/htdocs/piplak.de/Produkte/FAQs/inc/init.php on line 35

3.
Fatal error: main() [function.main]: Failed opening required 'constants.php' (include_path='') in
/home/www/htdocs/piplak.de/Produkte/FAQs/inc/init.php on line 35
Dann habe ich das Update von 1.6.4 auf 1.6.5 nach Anleitung durchgeführt (ohne Fehlermeldungen), wobei der Fehler vielleicht noch aus dem ersten Update kommt.

Wie aktiviere ich den Debug-Modus (leider nicht meine Welt)?

Mit besten Grüßen
fpsoft
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

in der init.php musst du folgendes ändern:

Code: Select all

//debug mode:
// - false	debug mode disabled
// - true	debug mode enabled
define("DEBUG", false);
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
fpsoft
Posts: 8
Joined: Tue Aug 22, 2006 9:49 am
Contact:

Debug Modus ist aktiviert.

Post by fpsoft »

Hallo Thorsten,

der Debug Modus ist aktiviert.

Mit besten Grüßen
fpsoft
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

ich glaub, dein Update lief nicht sauber durch. Kannst du mir mal deinen SQL-Dump per Mail zusenden?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
fpsoft
Posts: 8
Joined: Tue Aug 22, 2006 9:49 am
Contact:

Update noch einmal durchlaufen lassen?

Post by fpsoft »

Hallo Thorsten,

ich habe einfach noch einmal das 1.4.1 Verzeichnis aktiviert, damit sieht es gut aus.

Könnte man das Update (noch einmal) von 1.4.1 direkt auf 1.6.5 laufen lassen? Oder ist das nicht so gut?

Mit besten Grüßen
fpsoft
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

hast du update.php laufen lassen? Ich müsste halt deine DB-Strukur ansehen, aber wenn deine 1.4.1 noch läuft, scheinst du das Update nicht korrekt gemacht zu haben.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
fpsoft
Posts: 8
Joined: Tue Aug 22, 2006 9:49 am
Contact:

Alles bestens! Vielen Dank!

Post by fpsoft »

Hallo Thorsten,

alles bestens! Vielen Dank!

Mit besten Grüßen
fpsoft
Post Reply