Search link problem ? Search link problem ?
 

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

Main Menu

Search link problem ?

Started by toujours, July 07, 2005, 07:39:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

toujours

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.


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>



toujours

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

Bump...

Has anyone reproduced this one ...?

ne4x4

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

toujours

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.

toujours

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

ne4x4

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

toujours

That's cool.

Dev team !  We found a bug !     ;)

Nibbler

Commited fix to devel, include/keywords.inc.php v1.10