pragmaMx Support Forum

pragmaMx => Zusatzmodule => Thema gestartet von: netzer in 02 Juni 2007, 18:01:08

Titel: x7 Chat Fehlermeldung in online.php
Beitrag von: netzer in 02 Juni 2007, 18:01:08
Hello, after server change I get this error message if I the file call. Number of users is not indicated in the block. (Translates with Google): -)

Warning: imagettftext() [function.imagettftext]: Could not find/open font in
xxxxx/chat/online.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at xxxxxx/chat/online.php on line 93
‰PNG  ��� IHDR��� ������!so¯���PLTEÿÿÿ���UÂÓ~��� IDAT™c` ���*�7üYõ����IEND®B`,

Online.php rights: 755
Titel: Re : x7 Chat Fehlermeldung in online.php
Beitrag von: algebre in 02 Juni 2007, 19:07:13
hi

admin.php?op=info
check if you have the GD Library Installed (GD1 OR GD2)
Titel: Re: x7 Chat Fehlermeldung in online.php
Beitrag von: netzer in 05 Juni 2007, 16:29:02
GD Support    enabled
GD Version    2.0 or higher
FreeType Support    enabled
FreeType Linkage    with freetype
T1Lib Support    enabled
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
Titel: Re: x7 Chat Fehlermeldung in online.php
Beitrag von: netzer in 16 Juni 2007, 17:42:11
I think GD Support its ok. get errors not away.
my v-server is hostet by strato.
Titel: Re: x7 Chat Fehlermeldung in online.php
Beitrag von: netzer in 19 Juni 2007, 18:04:10
hilfe.....
Titel: Re : x7 Chat Fehlermeldung in online.php
Beitrag von: algebre in 19 Juni 2007, 20:33:14
hallo
use this file (block-Who_is_Online.php)
open file
line 155
$result = sql_query("SELECT  Count(name) FROM x7chat2_online WHERE invisible<>'1' AND time>'$exptime'");
replace  x7chat2_online  with your prefix
line 167
ex. replace '. CHATMEMBER .' with 'in chat'
Titel: Re: x7 Chat Fehlermeldung in online.php
Beitrag von: netzer in 20 Juni 2007, 08:57:58
Supi, da gehts.
Bei meinem selbst erstellten Block (lt. x7 Anleitung) nicht mehr nach Serverumzug.
Davon abgesehen gefällt mir die Lösung mit dem Block "block-Who_is_Online.php" besser WENN ich ihn verwenden würde  :gruebel:
Ich habe den Block der als Anhang unter dem Post ist.
Leider bin ich als Programmier DAU nicht fähig die Zeile so ein zu setzen das es geht. Könntest du (oder ein anderer der Zeit hat) evtl..... :)