Seite 1 von 1

Hilfe: Neuste Forensoftware => Fehler beim PN-Versand...

Verfasst: 12.04.2006 14:31
von sptotal
Hallo,

ich habe mir die neuste Forensoftware heruntergeladen und alle meine Mods neu eingebaut.

Die alte Datenbank habe ich mit der PHP-Update-Datei ebenfalls aktualisiert.

Nun tritt leider bei manchen (nicht allen) Usern folgendes Problem auf.
Wenn man eine PN versenden will, kommt folgender Fehler:

Code: Alles auswählen

Could not find oldest privmsgs (inbox)

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND privmsgs_to_userid = 21867' at line 6

SELECT privmsgs_id FROM phpbb_privmsgs WHERE ( privmsgs_type = 1 OR privmsgs_type = 0 OR privmsgs_type = 5 ) AND privmsgs_date = AND privmsgs_to_userid = 21867

Line : 1266
File : privmsg.php
Der Code um die Zeile 1266 sieht folgendermaßen aus:

Code: Alles auswählen

					$sql = "SELECT privmsgs_id FROM " . PRIVMSGS_TABLE . "
						WHERE ( privmsgs_type = " . PRIVMSGS_NEW_MAIL . "
								OR privmsgs_type = " . PRIVMSGS_READ_MAIL . "
								OR privmsgs_type = " . PRIVMSGS_UNREAD_MAIL . "  )
							AND privmsgs_date = " . $inbox_info['oldest_post_time'] . "
							AND privmsgs_to_userid = " . $to_userdata['user_id'];
					if ( !$result = $db->sql_query($sql) )
					{
						message_die(GENERAL_ERROR, 'Could not find oldest privmsgs (inbox)', '', __LINE__, __FILE__, $sql);
					}
Ich habe keine Ahnung, was da falsch sein könnte. Es liegt mit Sicherheit an der Datenbank. Bei der Version 2.0.19 hat noch alles wunderbar funktioniert.

MfG

sptotal

Verfasst: 12.04.2006 18:01
von sptotal
Hallo,

wo sind die phpBB-Spezialisten? Es wäre wirklich sehr wichtig, dass das Problem behoben wird :cry:

MfG

sptotal

Verfasst: 14.04.2006 16:42
von sptotal
Hallo,

keiner da, der mir helfen kann? Das Problem ist leider immer noch nicht gelöst...

MfG

sptotal

Verfasst: 15.04.2006 21:46
von sptotal
Hallo,

Fehler besteht leider immer noch :(

MfG

sptotal

Verfasst: 18.04.2006 19:29
von sptotal
Hallo,

bitte helft mir doch.

Noch ein großes Problem: PNs kommen teilweise bei anderen Usern an, als an die, an die sie adressiert waren :cry:

Kann mir keiner da helfen?!? Ist wirklich sehr, sehr, sehr dringend...

MfG

sptotal

Verfasst: 20.04.2006 02:07
von sptotal
Hallo,

das Problem scheint zu sein, dass die Variable $inbox_info['oldest_post_time'] für manche User keinen Wert liefert.

Wieso wird beim PN-Versand eigentlich die Zeit der ältesten PN abgefragt?

Wäre nett, wenn ihr mich aufklären könntet, Problem ist leider noch da.

MfG

sptotal

Verfasst: 20.04.2006 08:41
von derd

Verfasst: 21.04.2006 00:18
von sptotal
Hallo,

danke für den Link.

Ich hatte allerdings die neueste Version von phpbb heruntergeladen und dann alle Mods neu eingebaut...

Kann mir da keiner helfen?

MfG

sptotal

Verfasst: 21.04.2006 16:14
von sptotal
Hallo,

wäre wirklich sehr wichtig :cry:

MfG

sptotal