DZCP-Community / DZCP-1.6

Official repository for deV!L`z ClanPortal Version 1.6.x
http://www.dzcp.de
9 stars 7 forks source link

No Content after migration to php7 #30

Closed robingroppe closed 6 years ago

robingroppe commented 7 years ago

After migration to Ubuntu Xenial with php7 our dzcp instance shows no content anymore. Any ideas?

adiosamigos.eu

hammermaps commented 7 years ago

Have you a error log? Set in inc/config.php -> define('view_error_reporting', false); to define('view_error_reporting', true);

Run your page and past the errors here.

robingroppe commented 7 years ago

https://www.robingroppe.de/zerobin/?7e29b7380d0fabf9#RWYx3UvteT7KhtT1bVneaie8krShYVaIMaC/F5Qa7L0=

robingroppe commented 7 years ago

Just saw that the /gameserver page throws even more. I will leave error reporting switched on, then you can see it live.

hammermaps commented 7 years ago

Please replace the inc/teamspeak_query.php with this file: https://raw.githubusercontent.com/DZCP-Community/DZCP-1.6/development/inc/teamspeak_query.php

The Github Version has fixes for PHP 7 but has not yet been officially released on dzcp.de.

robingroppe commented 7 years ago

Is it the same case for the bbcode and gameserverquery?

hammermaps commented 7 years ago

Do you speak German? That would be easier :)

The bbcode and gameserver query is not so easy.

robingroppe commented 7 years ago

Jawohl. ;)

Am 11.10.2016 15:07 schrieb "Lucas" notifications@github.com:

Do you speak German? That would be easier :)

The bbcode and gameserver query is not so easy.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/DZCP-Community/DZCP-1.6/issues/30#issuecomment-252911184, or mute the thread https://github.com/notifications/unsubscribe-auth/AKlKfikJwFv4jXpvji1aReLY1kMJ-aRnks5qy4oJgaJpZM4KRwms .

robingroppe commented 7 years ago

Okay, der TS-Viewer funktioniert schonmal. Ich ziehe die Seite erstmal auf einen anderen Server um bis das hier gelöst ist.

hammermaps commented 7 years ago

Du könntest auch die github version probieren, die sollte auf php 7 laufen, müsstest nur deine addons/mods neu einbauen, wenn du was an der bbcode geändert hast.

robingroppe commented 7 years ago

Okay, das probiere ich mal.

robingroppe commented 7 years ago

Okay, klasse das funktioniert soweit schonmal. Wow, ist php7 schnell. 8) Einige Dinge fallen aber noch auf:

hammermaps commented 7 years ago

Bei dem Login müsste man mal in die log files schauen im inc/_logs da sollte ein Datei drin sein die deine SQL-Errors loggt.

Zeichenkodierung ist ein leidiges Thema, die sollte auf utf8 laufen, alte dzcp Versionen haben aber eine Mischung verwendet, was jetzt Probleme macht, da müsste man das Zeichen suchen und gegen HTML/UTF8 codiertes Zeichen austauschen, das habe ich aber noch nicht überall gemacht, darum ist das update noch nicht auf dzcp.de erhältlich.

Zu den Hinweisen, die werden / wurde erst in der 1.7 beseitigt bzw. neu geschrieben, da dzcp sehr alten Code dafür verwendet, das wird später ersetzt.