News - Features - Downloads - Forum - Team - Support - Switch View: Screen
Login - Registrierung - Passwort vergessen

Antworten: 2
Seite [1]
CHDMedia


Rock the board





Beiträge: 60
# Thema - 17.10.2010 um 20:11 Uhr
Hallo,

ich habe folgende fehler, seid dem ich eine custom teams.tpl datei verwende.

Inhalt der teams.tpl +-

<table class="forum" cellpadding="0" cellspacing="{page:cellspacing}" style="width:{page:width}">
<tr>
<td class="headb">Forum - Liste </td>
</tr>
<tr>
<td class="leftb">{lang:body}</td>
</tr>
</table>
<br />
{loop:members}
<center><div style="float:left">{members:pic} </div></ce nter>
{stop:members}


Folgendes erscheint im Errorlog, nachdem ich /index/members/teams aufrufe:

Error cs_subtemplate - Loop not found: "squad_members"
Filename /srv/www/vhosts/boosix.com/httpdocs/mods/members/teams.php
Error in: params=/members/teams

*EDIT*

debug.php gibt folgendes aus... +-

Error: /srv/www/vhosts/boosix.com/httpdocs/mods/members/teams.php -> cs_subtemplate - Loop not found: "squad_members"
Error: /srv/www/vhosts/boosix.com/httpdocs/mods/members/teams.php -> cs_subtemplate - Loop not found: "squad_members"
Error: /srv/www/vhosts/boosix.com/httpdocs/mods/members/teams.php -> cs_subtemplate - Loop not found: "squad_members"
/srv/www/vhosts/boosix.com/httpdocs/system/core/account.php
1) SELECT * FROM page_users WHERE users_id = '1' AND users_active = 1 AND users_delete = 0 LIMIT 0,1
2) UPDATE page_users SET users_laston='1287332172' WHERE users_id = 1
/srv/www/vhosts/boosix.com/httpdocs/mods/count/startup.php
3) UPDATE page_count SET count_time='1287332172', count_location='members/teams' WHERE count_id = 1129
/srv/www/vhosts/boosix.com/httpdocs/mods/members/teams.php
4) SELECT * FROM page_squads WHERE squads_own = '1' ORDER BY squads_order, squads_name
5) SELECT mem.members_admin AS members_admin, mem.users_id AS users_id, usr.users_nick AS users_nick, usr.users_active AS users_active, usr.users_delete AS users_delete FROM page_members mem INNER JOIN page_users usr ON mem.users_id = usr.users_id WHERE mem.squads_id = '9' ORDER BY mem.members_order ASC, usr.users_nick ASC
6) SELECT mem.members_admin AS members_admin, mem.users_id AS users_id, usr.users_nick AS users_nick, usr.users_active AS users_active, usr.users_delete AS users_delete FROM page_members mem INNER JOIN page_users usr ON mem.users_id = usr.users_id WHERE mem.squads_id = '8' ORDER BY mem.members_order ASC, usr.users_nick ASC
7) SELECT mem.members_admin AS members_admin, mem.users_id AS users_id, usr.users_nick AS users_nick, usr.users_active AS users_active, usr.users_delete AS users_delete FROM page_members mem INNER JOIN page_users usr ON mem.users_id = usr.users_id WHERE mem.squads_id = '7' ORDER BY mem.members_order ASC, usr.users_nick ASC
8) SELECT mem.members_admin AS members_admin, mem.users_id AS users_id, usr.users_nick AS users_nick, usr.users_active AS users_active, usr.users_delete AS users_delete FROM page_members mem INNER JOIN page_users usr ON mem.users_id = usr.users_id WHERE mem.squads_id = '6' ORDER BY mem.members_order ASC, usr.users_nick ASC
9) SELECT games_name, games_id FROM page_games WHERE games_id = '6' LIMIT 0,1
/srv/www/vhosts/boosix.com/httpdocs/mods/users/navlogin.php
10) SELECT COUNT(*) FROM page_messages WHERE users_id_to = 1 AND messages_show_receiver = 1 AND messages_view = 0


Kann mir da wer helfen? Ich habe bereits im Forum gesucht, dafür aber keine Lösungsmöglichkeit gefunden.


Zuletzt editiert von sk00zy am 17.10.2010 um 20:18 Uhr (1x Editiert)
Inaktiv
SlayR ClanSphere Team


Geekboy




Herkunft: Calbe (Saale)
Beiträge: 1133
# Antwort: 1 - 17.10.2010 um 20:22 Uhr
Quick&Dirty:
Wenn Du Dein custom-theme behalten willst, schreib in Deine teams.tpl (Deine Custom-Variante natürlich) einfach an beliebiger Stelle
 
1.
2.
1. / 2. / ... 
 {loop:squad_members}
{
stop:squad_members}

gleich hintereinander ohne Inhalt dazwischen. Dadurch wir ein leerer loop erzeugt und die logs meckern nicht mehr.


------------------
--- CLANSPHERE ---
Professional clan care starts here


Inaktiv
|
CHDMedia
Thread-Ersteller


Rock the board





Beiträge: 60
# Antwort: 2 - 17.10.2010 um 20:27 Uhr
Danke. Das hat geklappt.


Inaktiv
|

Dieses Thema wurde von palle ClanSphere Team PM geschlossen.

Antworten: 2
Seite [1]




ClanSphere Project - Mailus - Imprint - Disclaimer - Scriptinfo