Seite 1 von 1

Database failure

Verfasst: Mi 14. Aug 2013, 20:29
von malsdgtac
Hallo,

jetzt habe ich einen Fehler, bei dem ich irgendwie keine Ahnung habe, woher der kommt.

Contenido-Version: 4.9.0 (ein Upgrade von der 4.9.0 RC1)
PHP: 6.4.16-nmm1

Fehlermeldung:

Code: Alles auswählen

[2013-08-14 21:21:32] Warning: "Database failure: 1054 (Unknown column 'b.idcat' in 'where clause') - /contenido/external/backendedit/front_content.php?changeview=edit&client=1&lang=1&action=con_editart&idartlang=18&idart=18&idcat=26&tmpchangelang=&contenido=mp4tdjho6l57iog08kmjilrn89s42j0i SELECT a.idtplcfg FROM con_cat_lang a, con_cat_art WHERE a.idcat=b.idcat AND b.idart=18 AND a.idlang=1;
" at reportHalt() [class.db.driver.handler.php(938)]
	reportHalt() called in file class.db.driver.handler.php(910)
	halt() called in file class.db.driver.handler.php(640)
	query() called in file include.front_content.php(399)
	include() called in file front_content.php(36)

[14-Aug-2013 21:21:32 Europe/Berlin] PHP Warning:  Database failure: 1054 (Unknown column 'b.idcat' in 'where clause') - /contenido/external/backendedit/front_content.php?changeview=edit&client=1&lang=1&action=con_editart&idartlang=18&idart=18&idcat=26&tmpchangelang=&contenido=mp4tdjho6l57iog08kmjilrn89s42j0i SELECT a.idtplcfg FROM con_cat_lang a, con_cat_art WHERE a.idcat=b.idcat AND b.idart=18 AND a.idlang=1;
 in /www/htdocs/.../contenido/includes/functions.general.php on line 1287
[2013-08-14 21:21:32] Warning: "Database failure: 1054 (Unknown column 'b.idcat' in 'where clause') - /contenido/external/backendedit/front_content.php?changeview=edit&client=1&lang=1&action=con_editart&idartlang=18&idart=18&idcat=26&tmpchangelang=&contenido=mp4tdjho6l57iog08kmjilrn89s42j0i next_record called with no query pending.
" at reportHalt() [class.db.driver.handler.php(938)]
	reportHalt() called in file class.db.driver.handler.php(910)
	halt() called in file class.db.driver.handler.php(658)
	nextRecord() called in file class.db.driver.handler.php(966)
	next_record() called in file include.front_content.php(402)
	include() called in file front_content.php(36)

[14-Aug-2013 21:21:32 Europe/Berlin] PHP Warning:  Database failure: 1054 (Unknown column 'b.idcat' in 'where clause') - /contenido/external/backendedit/front_content.php?changeview=edit&client=1&lang=1&action=con_editart&idartlang=18&idart=18&idcat=26&tmpchangelang=&contenido=mp4tdjho6l57iog08kmjilrn89s42j0i next_record called with no query pending.
 in /www/htdocs/.../contenido/includes/functions.general.php on line 1287
Mir ist zwar klar, dass die Abfrage einen Fehler hat, ich komme aber nicht drauf, wann bzw. wo diese überhaupt verwendet wird. Der Fehler tritt bei jedem Aufruf eines Artikels im Backend auf. Ich habe auch schon mal alle Module entfernt, ich glaube nicht, dass der Fehler durch ein Modul erzeugt wird. Hat jemand einen Tipp für mich?

Re: Database failure

Verfasst: Do 15. Aug 2013, 11:52
von xmurrix
... next_record() called in file include.front_content.php(402)...
Die Datei "include.front_content.php" ist in "contenido/includes/frontend/". Allerdings gibt es weder in Version 4.9.0-RC1 noch in 4.9.0 eine Zeile 402, in der next_record() aufgerufen wird.

Kann es sein, dass beim Update die Datei "include.front_content.php" nicht überschrieben wurde?

Gruß
xmurrix

Re: Database failure

Verfasst: Do 15. Aug 2013, 13:23
von malsdgtac
Vielen Dank für deine Hilfe, den Fehler hatte ich eingebaut. Siehe hier: http://forum.contenido.org/viewtopic.ph ... 21#p159750