coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Firefly on March 01, 2006, 01:30:44 PM

Title: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
Post by: Firefly on March 01, 2006, 01:30:44 PM
bridge settings:
Forum URL:  http://coolasmustard.com 
Relative path to config file:  ../ 
Test user account: test / test

Installed the systems during the last couple of days. After installing the bridge, I followed the instructions posted here:
- creating and posting the button
- Coppermine.php
- index.template.php
- chose to wrap coppermine in smf
However, as SMF admin panel allows to create a number of buttons/urls directly, I used that method rather than mod theme.php.

When I click on the Galleries link in SMF, I get this:

Fatal error: Cannot redeclare coppermine() (previously declared in /public_html/Sources/Coppermine.php:7) in /public_html/Sources/Load.php(1616) : eval()'d code on line 5

Advice most appreciated :)
Cheers!
Title: Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
Post by: kegobeer on March 01, 2006, 07:17:05 PM
Quote from: Firefly on March 01, 2006, 01:30:44 PM
After installing the bridge, I followed the instructions posted here:
- creating and posting the button
- Coppermine.php
- index.template.php
- chose to wrap coppermine in smf

Instructions posted where?  Steps to integrate:

Install SMF and verify it works.
Install Coppermine and verify it works.
Run the bridge wizard in Coppermine and verify it works.

How did you wrap Coppermine in SMF?  If you followed the guide snork13 wrote (like I did), then there should be no problems.
Title: Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
Post by: Firefly on March 01, 2006, 07:53:40 PM
Thanks for coming back to me on this. You're right: I double-checked the coding I used from the guide and found a small error, now corrected. All works well.
Cheers!
Title: Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
Post by: joshkincheloe on March 02, 2006, 06:30:33 AM
Can someone tell me where this guide is?
Title: Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
Post by: Joachim Müller on March 02, 2006, 07:31:15 AM
it comes with your coppermine package inside the docs folder. The documentation link is available at the top of this page as well, but if you need some link in the body of this thread's postings, here you go: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating
Title: Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
Post by: Crazie on March 02, 2006, 01:05:24 PM
Quote from: GauGau on March 02, 2006, 07:31:15 AM
it comes with your coppermine package inside the docs folder. The documentation link is available at the top of this page as well, but if you need some link in the body of this thread's postings, here you go: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#integrating

I'm pretty sure he's looking for snork13's guide, which allows you to "Wrap" Coppermine with your SMF forum.  Basically it puts Coppermine in an iFrame (guessing here) inside the forums index.template.php file.

I did a search, because I wanted to find it as well.  Snork13's guide is not anywhere near the same process as bridging the two together.  Here's the link snork13's guide (http://forum.coppermine-gallery.net/index.php?topic=25877.0).