Cat hierarchy MOD: na installeren enkele errors.

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
Gebruikersavatar
SPyKoN
Berichten: 1224
Lid geworden op: 27 aug 2003, 07:41
Locatie: België
Contacteer:

Cat hierarchy MOD: na installeren enkele errors.

Bericht door SPyKoN » 22 jan 2004, 19:31

Ik gebruik dus een non subilsver stijl en heb gisteren de Category Hierarchy MOD geïnstalleerd (na al een stuk of 25 MOD's op m'n forum). Ik heb enkele errors en misschien kunnen sommigen er enkele oplossen:

Index.php (eigenlijk forum.php aangezien ik het gerenamed heb):

Code: Selecteer alles

Warning: init_userprefs(././includes/lang_extend_mac.php): failed to open stream: No such file or directory in /home/gametrex/public_html/v2/website/includes/functions.php on line 289 

Warning: init_userprefs(): Failed opening '././includes/lang_extend_mac.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gametrex/public_html/v2/website/includes/functions.php on line 289 

Warning: main(./includes/mods_settings/mod_categories_hierarchy.php): failed to open stream: No such file or directory in /home/gametrex/public_html/v2/website/forum.php on line 140 

Warning: main(): Failed opening './includes/mods_settings/mod_categories_hierarchy.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gametrex/public_html/v2/website/forum.php on line 140 

Warning: Cannot modify header information - headers already sent by (output started at /home/gametrex/public_html/v2/website/includes/functions.php:289) in /home/gametrex/public_html/v2/website/includes/page_header.php on line 528 

Warning: Cannot modify header information - headers already sent by (output started at /home/gametrex/public_html/v2/website/includes/functions.php:289) in /home/gametrex/public_html/v2/website/includes/page_header.php on line 530 

Warning: Cannot modify header information - headers already sent by (output started at /home/gametrex/public_html/v2/website/includes/functions.php:289) in /home/gametrex/public_html/v2/website/includes/page_header.php on line 531
En admin.php krijg ik niet meer open:

Code: Selecteer alles

Warning: init_userprefs(./.././includes/lang_extend_mac.php): failed to open stream: No such file or directory in /home/gametrex/public_html/v2/website/includes/functions.php on line 289 

Warning: init_userprefs(): Failed opening './.././includes/lang_extend_mac.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gametrex/public_html/v2/website/includes/functions.php on line 289 

Warning: Cannot modify header information - headers already sent by (output started at /home/gametrex/public_html/v2/website/includes/functions.php:289) in /home/gametrex/public_html/v2/website/includes/functions.php on line 875 
Alle hulp is welkom. Heb het op rpgnet.clamnckeen.com ook al gevraagd, maar zal nog ff duren dus misschien zou ik hier ook wat kunnen oplossen. Is tijd gespaard :bier:

Gebruikersavatar
WebSiteNet
Berichten: 6524
Lid geworden op: 20 okt 2003, 16:56
Locatie: Wieringerwerf
Contacteer:

Bericht door WebSiteNet » 22 jan 2004, 19:33

includes/lang_extend_mac.php upgeload. Bijde error wijzen er op dat dit niet het geval is.

Gebruikersavatar
SPyKoN
Berichten: 1224
Lid geworden op: 27 aug 2003, 07:41
Locatie: België
Contacteer:

Bericht door SPyKoN » 23 jan 2004, 21:28

webdev schreef:includes/lang_extend_mac.php upgeload. Bijde error wijzen er op dat dit niet het geval is.
Bedankt :bier: . Kwamen nog een paar andere errors bij, maar heb ze ook kunnen oplossen. Nu nog enkele parse errors in m'n admin panel en m'n template wat maar niet wil goed komen.

Iemand die me zou kunnen helpen? Ik heb een non-subsilver template en de code van m'n viewforum (het stukje van de tabel waar de info komt) is:

Code: Selecteer alles

	<th colspan="2" class="thCornerL" height="19" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap" height="19">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap" height="19">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap" height="19">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr> 
	<td class="catLeft" colspan="5" height="23"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr> 
	<td class="row2" align="center" valign="middle" height="76"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="20" height="20" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" height="76"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row2" align="center" valign="middle" height="76"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row1" align="center" valign="middle" height="76"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="76" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr> 
	<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
Dat van m'n category hierarchy mod is anders en werkt niet echt even goed. Ziet er zo uit (na het wat op te kuisen):

Code: Selecteer alles

<!-- BEGIN catrow -->
<!-- BEGIN tablehead -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr> 
	<th colspan="{catrow.tablehead.INC_SPAN}" width="100%" nowrap="nowrap">
    <p align="left">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th width="150" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr> 
	<!-- BEGIN inc -->
	<td width="46" class="{catrow.cathead.inc.INC_CLASS}"><img src="{SPACER}" /></td>
	<!-- END inc -->
	<td class="{catrow.cathead.CLASS_CAT}" width="100%" colspan="{catrow.cathead.INC_SPAN}"><span class="cattitle"><a href="{catrow.cathead.U_VIEWCAT}" class="cattitle" title="{catrow.cathead.CAT_DESC}">{catrow.cathead.CAT_TITLE}</a></span></td>
	<td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right">&nbsp;</td> 
</tr>
<!-- END cathead -->
<!-- BEGIN forumrow -->
<tr> 
	<!-- BEGIN inc -->
	<td width="46" class="{catrow.forumrow.inc.INC_CLASS}"><img src="{SPACER}" /></td>
	<!-- END inc -->
	<td  class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" height="50" colspan="{catrow.forumrow.INC_SPAN}" valign="top">
		<!-- BEGIN forum_icon -->
		<table cellpadding="2" cellspacing="0" border="0" width="100%" height="47">
		<tr>
			<td width="46" align="center"><a href="{catrow.forumrow.U_VIEWFORUM}"><img src="{catrow.forumrow.ICON_IMG}" border="0" /></a></td>
			<td>
		<!-- END forum_icon -->
		<span class="forumlink"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br /></span>
		<span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
		<span class="gensmall">{catrow.forumrow.L_MODERATOR}{catrow.forumrow.MODERATORS}{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
		<!-- BEGIN forum_icon -->
			</td>
		</tr>
		</table>
		<!-- END forum_icon -->
	</td>
	<!-- BEGIN forum_link_no -->
	<td class="row3" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row3" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
	<!-- END forum_link_no -->
	<!-- BEGIN forum_link -->
	<td class="row3" align="center" valign="middle" height="50" colspan="3"><span class="gensmall">{catrow.forumrow.forum_link.HIT_COUNT}</span></td>
	<!-- END forum_link -->
</tr>
<!-- END forumrow -->
<!-- BEGIN catfoot -->
<tr>
	<!-- BEGIN inc -->
	<td width="46" class="{catrow.catfoot.inc.INC_CLASS}"><img src="{SPACER}" /></td>
	<!-- END inc -->
	<td colspan="{catrow.catfoot.INC_SPAN}" height="1" class="spaceRow"><img src="{SPACER}" alt="" width="1" height="1" /></td>
</tr>
<!-- END catfoot -->
<!-- BEGIN tablefoot -->
</table>
<br class="gensmall" />
<!-- END tablefoot -->
<!-- END catrow -->
Ik zou dus graag de code van m'n stijl daarvoor, in de nieuwe index_box.tpl willen stoppen, maar het wil niet lukken met al die <!-- --> er in. Iemand die me kan helpen :bier: ?

Gesloten