forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: tommy22 on September 21, 2006, 01:10:17 am
-
I have been checkinjg out the new themes i installed. I have been getting the template block errors on some.
not a big deal, seeing as i know how to change the template so it works again. my problem is that i selected a template, and i cant remember which one it is!
i have alot of themes in there, and i dont want to go through each one.. how can i tell which theme i am using? is it in a .php filke somewhere?
normally i could just look at the error and see from there, however this is what my error is..
Template error
Failed to find block 'documentation'(#(<!-- BEGIN documentation -->)(.*?)(<!-- END documentation -->)#s) in :
<div align="center">
<table cellpadding="0" cellspacing="1">
<tr>
<td class="admin_menu"><a href="editpics.php?mode=upload_approval" title="">{UPL_APP_LNK}</a></td>
<td class="admin_menu"><a href="config.php" title="">{CONFIG_LNK}</a></td>
<td class="admin_menu"><a href="albmgr.php{CATL}" title="">{ALBUMS_LNK}</a></td>
<td class="admin_menu"><a href="catmgr.php" title="">{CATEGORIES_LNK}</a></td>
<td class="admin_menu"><a href="usermgr.php" title="">{USERS_LNK}</a></td>
<td class="admin_menu"><a href="groupmgr.php" title="">{GROUPS_LNK}</a></td>
<td class="admin_menu"><a href="banning.php" title="">{BAN_LNK}</a></td>
<td class="admin_menu"><a href="db_ecard.php" title="">{DB_ECARD_LNK}</a></td>
<td class="admin_menu"><a href="reviewcom.php" title="">{COMMENTS_LNK}</a></td>
<td class="admin_menu"><a href="searchnew.php" title="">{SEARCHNEW_LNK}</a></td>
<td class="admin_menu"><a href="util.php" title="">{UTIL_LNK}</a></td>
<td class="admin_menu"><a href="profile.php?op=edit_profile" title="">{MY_PROF_LNK}</a></td>
</tr>
</table>
</div>
-
One way is looking for something like this
<link rel="stylesheet" href="themes/classic/style.css" type="text/css" />
under source , if you check out the href properties you'll see the name of theme after themes in this case it is classic
and about your error :
probably you've edited that theme wrong way or you are using old theme (1.3.x)
-
i uderstand what to look for.
i just dont know where to look..
that error i posted doesnt name any theme at all.
so i dont know what theme to even edit.
where do i look, as in what page do i look at the source of to find out what theme i am using?
i looked at my index.php and all i got was the error posted above.
-
yes
-
im sorry, yess to what?
im confused, and would appreciate any help.
-
here is the source to my index.php.......
<b>Template error<b><br />Failed to find block 'documentation'(#(<!-- BEGIN documentation -->)(.*?)(<!-- END documentation -->)#s) in :<br /><pre>
<div align="center">
<table cellpadding="0" cellspacing="1">
<tr>
<td class="admin_menu"><a href="editpics.php?mode=upload_approval" title="">{UPL_APP_LNK}</a></td>
<td class="admin_menu"><a href="config.php" title="">{CONFIG_LNK}</a></td>
<td class="admin_menu"><a href="albmgr.php{CATL}" title="">{ALBUMS_LNK}</a></td>
<td class="admin_menu"><a href="catmgr.php" title="">{CATEGORIES_LNK}</a></td>
<td class="admin_menu"><a href="usermgr.php" title="">{USERS_LNK}</a></td>
<td class="admin_menu"><a href="groupmgr.php" title="">{GROUPS_LNK}</a></td>
<td class="admin_menu"><a href="banning.php" title="">{BAN_LNK}</a></td>
<td class="admin_menu"><a href="db_ecard.php" title="">{DB_ECARD_LNK}</a></td>
<td class="admin_menu"><a href="reviewcom.php" title="">{COMMENTS_LNK}</a></td>
<td class="admin_menu"><a href="searchnew.php" title="">{SEARCHNEW_LNK}</a></td>
<td class="admin_menu"><a href="util.php" title="">{UTIL_LNK}</a></td>
<td class="admin_menu"><a href="profile.php?op=edit_profile" title="">{MY_PROF_LNK}</a></td>
</tr>
</table>
</div>
</pre>
i dont see anthing that let me know what theme i am using...
maybe you can see someting i dont.. here is my address.
http://tommynewbrey.com/coppermine/index.php
-
gallery load for me just fine with classic theme as a default , so if you got error , try to clear your cookie then test each of themes by putting their name at the end of site URL:
?theme=[themename] So the URL could be (for changing theme to classic theme):
http://tommynewbrey.com/coppermine/index.php?theme=classic
this way you'll find that theme with error