coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: manlung on April 04, 2006, 08:06:30 PM

Title: Coppermine Photo Gallery bridge to SMF
Post by: manlung on April 04, 2006, 08:06:30 PM
Hi!
I'm having this problem when bridging my Coppermine Photo Gallery to SMF

When I enter the members gallery using the ADMIN mode

This error message comes up:

There was an error while processing a database query 


When I enter the members gallery using the USER  mode

This error message comes up:

Template error
Failed to find block 'admin_approval'(#(<!-- BEGIN admin_approval -->)(.*?)(<!-- END admin_approval -->)#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>
<!-- BEGIN log_ecards -->
                                <td class="admin_menu"><a href="db_ecard.php" title="{DB_ECARD_TITLE}">{DB_ECARD_LNK}</a></td>
<!-- END log_ecards -->
                                <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>







Title: Re: Coppermine Photo Gallery bridge to SMF
Post by: Nibbler on April 04, 2006, 08:16:26 PM
What version of Coppermine are you using ?

http://forum.coppermine-gallery.net/index.php?topic=24032.0
Title: Re: Coppermine Photo Gallery bridge to SMF
Post by: kegobeer on April 04, 2006, 08:19:54 PM
For the database error, you need to enable debug mode.  If you can't access it from your Coppermine gallery, use phpMyAdmin and edit the settings table.  Change debug_mode to 1.

For the template error, do a search for this:

Failed to find block admin_approval

There are numerous posts about this.  If you are using a custom theme, you must change the theme to work with 1.4.  Switch to the default theme and see if you continue getting that error.