coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: keller45 on April 08, 2006, 07:04:36 AM

Title: SMF 1.07 to Coppermine Bridge Help
Post by: keller45 on April 08, 2006, 07:04:36 AM
I have the following issue when trying to bridge coppermine and SMF 1.07

Well at first i was able to login no problem and couldnt see my user Gallerries. It displayed some Error message.
and now i cant even log in. It takes me to the forum when i log in. Can someone help me? Thanks

Coppermine install: http://midnightmx.com/gallerys/
Forum install: http://midnightmx.com/forms/
Coppermine version: cpg1.4.2
Forum version: SMF 1.07
Test user account: Username: Test Pass: pooper

BridgeManager settings:
Forum URL:  http://midnightmx.com/forms/

Use post-based groups?:  Yes 
Title: Re: SMF 1.07 to Coppermine Bridge Help
Post by: Joachim Müller on April 08, 2006, 08:37:14 AM
I get a "404 not found" when trying to go to the URL http://midnightmx.com/gallerys/ that you specified. It's expected behaviour that when bridging is enabled that you're being sent to your forum's login page after clicking on "login" from within coppermine. That's what bridging is about.

You shouldn't use cpg1.4.2, update to the most recent version cpg1.4.4
Title: Re: SMF 1.07 to Coppermine Bridge Help
Post by: keller45 on April 08, 2006, 08:48:42 AM
sorry messed up the link...you'll see whats wrong in a minute

http://www.midnightmx.com/gallery/
Title: Re: SMF 1.07 to Coppermine Bridge Help
Post by: Joachim Müller on April 08, 2006, 09:00:13 AM
www.midnightmx.com is not the same as midnightmx.com in terms of cookies - subdomains are different domains, so the login doesn't stick. I suggest removing the www subdomain by redirecting all traffic that goes to the www domain to the domain without the leading www by adding a file named .htaccess in your webroot. Something likeRewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.midnightmx\.com$ [NC]
RewriteRule ^(.*) http://midnightmx.com/$1 [R,L]
should do the trick. You should set up your cookie domain correctly though.
When trying to solve cookie issues, make sure to clear your cookies and browser cache when testing your fixes.
Title: Re: SMF 1.07 to Coppermine Bridge Help
Post by: keller45 on April 08, 2006, 07:47:06 PM
where the web root that i edit?
Title: Re: SMF 1.07 to Coppermine Bridge Help
Post by: keller45 on April 08, 2006, 07:54:43 PM
Nm i got it. I just went into my forum and put a www. in. Thanks you very much for your help cause it works now!
Title: Re: SMF 1.07 to Coppermine Bridge Help
Post by: keller45 on April 08, 2006, 07:57:58 PM
Wait one more thing. When i go into my user galleries in admin mode i get this message:


There was an error while processing a database query


and when i go in under a guest i get tthis:

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>


How do i fix this? I used Fantastico to install both Apps Thanks
Title: Re: SMF 1.07 to Coppermine Bridge Help
Post by: Nibbler on April 08, 2006, 08:03:24 PM
Update your gallery. 1 issue per thread.