Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Search link problem ?  (Read 4690 times)

0 Members and 1 Guest are viewing this topic.

toujours

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
Search link problem ?
« on: July 07, 2005, 07:39:12 pm »

When not logged in, if I click on the Search link on the Home Page, I get an error message (see below). I have set a few config options including (but not limited to) all my albums which are private, only visible to registered users. When I log in the search option works fine...

I had a look for similar posts, but found none. If you think this is a bug, let me know and I'll provide URL, config. info or whatever.


Code: [Select]
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>

« Last Edit: July 09, 2005, 05:27:53 pm by TranzNDance »
Logged

toujours

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
Re: Search link problem ?
« Reply #1 on: July 08, 2005, 01:08:00 pm »

I don't want to sound impatient, especially as this is not a big deal, but :

Bump...

Has anyone reproduced this one ...?
Logged

ne4x4

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • 4x4 UK
Re: Search link problem ?
« Reply #2 on: July 08, 2005, 01:14:31 pm »

Tried it on my 1.4.1 installation which has some private galleries, all worked ok whether I was logged in or not.
Logged

toujours

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
Re: Search link problem ?
« Reply #3 on: July 08, 2005, 02:31:05 pm »

Thanks for testing it. I will remove my config modifications and I will retest. Hopefully this will more clearly define the conditions necessary for reproducing the message.

I'll post back here today or Monday with more info.
Logged

toujours

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
Re: Search link problem ?
« Reply #4 on: July 08, 2005, 07:28:16 pm »

OK. I did a VERY quick test and found a way to reproduce this problem.

This is how you get the error (see my first post).
1. Make all of your albums private, only accessible to registered users.
2. Logout and do a search using the link in the top right hand corner.

This is how you don't get it.
3. Now login as admin and make one album visible to all users, even when not logged in.
4. Logout and do a search.

Personally this is not a big deal for me, but the error does show up an unsightly looking screen of code...
Logged

ne4x4

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
    • 4x4 UK
Re: Search link problem ?
« Reply #5 on: July 08, 2005, 07:56:31 pm »

Yes If I do that I can reproduce the error. When I checked last time I did have some albums visible to guests so I did not get the error
Logged

toujours

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 24
Re: Search link problem ?
« Reply #6 on: July 08, 2005, 09:00:12 pm »

That's cool.

Dev team !  We found a bug !     ;)
Logged

Nibbler

  • Guest
Re: Search link problem ?
« Reply #7 on: July 09, 2005, 01:53:29 pm »

Commited fix to devel, include/keywords.inc.php v1.10
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 20 queries.