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
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
sorry messed up the link...you'll see whats wrong in a minute
http://www.midnightmx.com/gallery/
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.
where the web root that i edit?
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!
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
Update your gallery. 1 issue per thread.