Template error message for Member Created Albums Template error message for Member Created Albums
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Template error message for Member Created Albums

Started by OutOfSync, February 13, 2006, 08:19:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OutOfSync

I have permissions set to allow registered users to create their own albums.  In the listing of categories and albums, there is an link named ''Member Galleries'' with the description ''This category contains albums that belong to Coppermine users'' with 2 albums being shown.  When the link is clicked however, this message appears:


Template error
Failed to find block 'log_ecards'(#(<!-- BEGIN log_ecards -->)(.*?)(<!-- END log_ecards -->)#s) in :

                <div align="center">
                <table cellpadding="0" cellspacing="1">
                        <tr>

                                <td class="admin_menu"><a href="admin.php" title="{ADMIN_TITLE}">{ADMIN_LNK}</a></td>
                                <td class="admin_menu"><a href="catmgr.php" title="{CATEGORIES_TITLE}">{CATEGORIES_LNK}</a></td>
                                <td class="admin_menu"><a href="albmgr.php{CATL}" title="{ALBUMS_TITLE}">{ALBUMS_LNK}</a></td>
                                <td class="admin_menu"><a href="groupmgr.php" title="{GROUPS_TITLE}">{GROUPS_LNK}</a></td>
                                <td class="admin_menu"><a href="usermgr.php" title="{USERS_TITLE}">{USERS_LNK}</a></td>
                                <td class="admin_menu"><a href="banning.php" title="{BAN_TITLE}">{BAN_LNK}</a></td>
                                <td class="admin_menu"><a href="reviewcom.php" title="{COMMENTS_TITLE}">{COMMENTS_LNK}</a></td>

                                <td class="admin_menu"><a href="picmgr.php" title="{PICTURES_TITLE}">{PICTURES_LNK}</a></td>
                                <td class="admin_menu"><a href="searchnew.php" title="{SEARCHNEW_TITLE}">{SEARCHNEW_LNK}</a></td>
                                <td class="admin_menu"><a href="util.php" title="{UTIL_TITLE}">{UTIL_LNK}</a></td>
                                <td class="admin_menu"><a href="profile.php?op=edit_profile" title="{MY_PROF_TITLE}">{MY_PROF_LNK}</a></td>
<!-- BEGIN documentation -->
                                <td class="admin_menu"><a href="{DOCUMENTATION_HREF}" title="{DOCUMENTATION_TITLE}" target="cpg_documentation">{DOCUMENTATION_LNK}</a></td>
<!-- END documentation -->
                        </tr>
                </table>
                </div>

What have I set wrong?  Many thanks!

Joachim Müller

Blind guess: you have performed an upgrade, but didn't bother to read the theme upgrade guide?


OutOfSync

ok...be easy on me as I'm quite new at this  ;D

I used the default "rain drop" theme and do not allow users to change themes. I'll read that other posting and hopefully (fingers crossed) it will make sense to me.

OutOfSync

ok, that suggested fix didn't work.  So I changed Themes to "Classic" and now when I click that link I get a "There was an error while processing a database query" message

Nibbler

Enable debug mode and post the mysql error message you receive.

OutOfSync

thanks

While executing query "SELECT ID_MEMBER as user_id,memberName as user_name,COUNT(DISTINCT a.aid) as alb_count,COUNT(DISTINCT pid) as pic_count,MAX(pid) as thumb_pid, MAX(galleryicon) as gallery_pid FROM cpg_albums AS a INNER JOIN `south49_smf1`.smf_members as u on u.ID_MEMBER+10000=a.category LEFT JOIN cpg_pictures AS p ON p.aid = a.aid WHERE ((isnull(approved) or approved='YES') AND category > 10000)  GROUP BY category ORDER BY category LIMIT 0, 24 " on 0

mySQL error:


below that it indicates the file as: functions.inc.php - Line: 248

Nibbler

What version of Coppermine are you running ? Make sure you are up to date.

OutOfSync


Nibbler


OutOfSync

Now I wanna be sedated... :o
Thanks for the help...that worked...sorry to have bothered!