Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Template error message for Member Created Albums  (Read 4923 times)

0 Members and 1 Guest are viewing this topic.

OutOfSync

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Template error message for Member Created Albums
« on: February 13, 2006, 08:19:49 pm »

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!
« Last Edit: February 13, 2006, 11:04:57 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Template error message for Member Created Albums
« Reply #1 on: February 13, 2006, 08:22:15 pm »

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

OutOfSync

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Template error message for Member Created Albums
« Reply #3 on: February 13, 2006, 08:32:35 pm »

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.
Logged

OutOfSync

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Template error message for Member Created Albums
« Reply #4 on: February 13, 2006, 09:00:20 pm »

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
Logged

Nibbler

  • Guest
Re: Template error message for Member Created Albums
« Reply #5 on: February 13, 2006, 09:04:42 pm »

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

OutOfSync

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Template error message for Member Created Albums
« Reply #6 on: February 13, 2006, 09:14:39 pm »

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
Logged

Nibbler

  • Guest
Re: Template error message for Member Created Albums
« Reply #7 on: February 13, 2006, 09:26:00 pm »

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

OutOfSync

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Template error message for Member Created Albums
« Reply #8 on: February 13, 2006, 09:34:54 pm »

Coppermine 1.4.2 
Logged

Nibbler

  • Guest
Re: Template error message for Member Created Albums
« Reply #9 on: February 13, 2006, 09:40:13 pm »

There you go then, update to 1.4.3
Logged

OutOfSync

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 7
Re: Template error message for Member Created Albums
« Reply #10 on: February 13, 2006, 10:54:08 pm »

Now I wanna be sedated... :o
Thanks for the help...that worked...sorry to have bothered!
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.