forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: creativename on January 15, 2010, 01:25:13 am

Title: [Double posting] After changing theme, getting "Failed to find block 'documentat
Post by: creativename on January 15, 2010, 01:25:13 am
I have 1.4.21, and I was just checking the different themes for the first time (I'd never changed from classic before). But after changing to (I believe) Styleguide, if I hit Continue I started getting a page that showed the error message:
Code: [Select]
Template error
Failed to find block 'documentation'(#(<!-- BEGIN documentation -->)(.*?)(<!-- END documentation -->)#s) in :

                <div align="left">
                <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>
I found this earlier thread (http://forum.coppermine-gallery.net/index.php/topic,45463.0.html), but my themes.inc.php already has the braces mentioned. I tried hitting the back button and changing the theme back to Classic, but I'd just get the same error message. Likewise when trying to Restore factory defaults. Viewing images would give the above error, and the homepage and album pages would look like this:
http://img35.imageshack.us/img35/8564/18894609.gif

I ended up changing the cpg_congif 'theme' option to 'classic', and that seems to have worked - I don't know if there are any other steps involved in changing the theme that I would also need to do to prevent further errors.

What is this issue? And is there any way to change the theme while this issue is occurring other than via MySQL?
Title: Re: After changing theme, getting "Failed to find block 'documentation'" error
Post by: creativename on January 15, 2010, 01:26:16 am
Sorry for the double post.
Title: Re: After changing theme, getting "Failed to find block 'documentation'" error
Post by: Joachim Müller on January 15, 2010, 09:23:56 am
This is a double posting of http://forum.coppermine-gallery.net/index.php/topic,63232.0.html
Locking and marking accordingly.