SMF 1.07 to Coppermine Bridge Help SMF 1.07 to Coppermine Bridge Help
 

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

SMF 1.07 to Coppermine Bridge Help

Started by keller45, April 08, 2006, 07:04:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

keller45

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 

Joachim Müller

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

keller45

sorry messed up the link...you'll see whats wrong in a minute

http://www.midnightmx.com/gallery/

Joachim Müller

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.

keller45


keller45

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!

keller45

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

Nibbler

Update your gallery. 1 issue per thread.