Seite 1 von 1

[Erledigt] Cash MOD Fehlermeldung beim Themen-Ansicht

Verfasst: 03.11.2008 13:36
von Luuq
Hey,

habe bei mir den Cash MOD von Handyman eingebaut.
Jetzt scheint irgendwie bei ansehen eines Themas folgende Meldung:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/mods/cash/cash_class.php on line 461: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3549: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3551: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3552: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3553: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
Bin alles nochmal durchgegangen,ist alles korrekt.
Woran kann das liegen?

Luuq

Verfasst: 04.11.2008 20:19
von Luuq
Hey,

komme leider nicht weiter.
Weiß jemand Rat?

Luuq

Verfasst: 05.11.2008 18:41
von Luuq
Hey,

habe noch ein bisschen probiert.
Dabei ist mir aufgefallen das der Fehler in der Themenansicht nur kommt, wenn ich diesen Code in der viewtopic.php einfüge:

Code: Alles auswählen

// grab the cash for the users in this topic
$cash->user_cache($id_cache, $user_cache);
Lasse ich diesen Code weg, erhalte ich auch keinen Fehler.


Das gleiche auch in der memberlist.php mit dem Code:

Code: Alles auswählen

$cash->viewprofile($user_id);
Sind die beiden Codes wichtig, oder müssen die drinne sein?

Luuq

Re: Cash MOD Fehlermeldung beim Themen-Ansicht

Verfasst: 06.11.2008 15:44
von easygo
Luuq hat geschrieben:habe bei mir den Cash MOD von Handyman eingebaut.
Jetzt scheint irgendwie bei ansehen eines Themas folgende Meldung:

Code: Alles auswählen

[phpBB Debug] PHP Notice: in file /includes/mods/cash/cash_class.php on line 461: Division by zero
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3549: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3551: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3552: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3553: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
Bin alles nochmal durchgegangen,ist alles korrekt.
Woran kann das liegen?
http://www.phpbb.com/community/viewtopi ... 0#p7467305

Verfasst: 07.11.2008 12:07
von Luuq
Hey,

danke, das hat sich dann erledigt. :)

Luuq

Verfasst: 29.12.2008 01:00
von schustrik
ich habe die anweisung gefolgt die hier vorgeschlagen wurde mit der cash_slass.css aber wenn ich in der datei
memberlist.php den code

Code: Alles auswählen

$cash->viewprofile($user_id);
drinlasse bekomme ich eine fehlermeldung wenn ich im forum auf ein benutzername klicke nämlich das

Code: Alles auswählen

SQL ERROR [ mysqli ]

Table 'usr_web32_7.phpbb_cash' doesn't exist [1146]

SQL

SELECT c.*, ca.* FROM (phpbb_cash c, phpbb_cash_amt ca) WHERE ca.user_id = 2 AND ca.cash_id = c.cash_id

BACKTRACE


FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/mods/cash/cash_class.php
LINE: 137
CALL: dbal_mysqli->sql_query()

FILE: includes/mods/cash/cash_class.php
LINE: 499
CALL: cash->get_user_cash()

FILE: memberlist.php
LINE: 630
CALL: cash->viewprofile()


was hat es eigenlich in der datei : styles/prosilver/template/memberlist_body.html auf sich da muss man ja diese codes ändern

Code: Alles auswählen

<td colspan="<!-- IF U_SORT_ACTIVE -->{:%1}<!-- ELSE -->
irgendwas mit diesen angaben

Code: Alles auswählen

{:%1} + 1
bei mir in der datei gibt es nur diesen eintrag

Code: Alles auswählen

 <td colspan="<!-- IF U_SORT_ACTIVE -->{:%1}<!-- ELSE -->  
was soll ich den da ganau nun ändern? oder kann man es so lassen! :-?