SMF 1.1 RC2 cpg1.4.4 integration: fatal error SMF 1.1 RC2 cpg1.4.4 integration: fatal error
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

SMF 1.1 RC2 cpg1.4.4 integration: fatal error

Started by Firefly, March 01, 2006, 01:30:44 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Firefly

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!
http://historyhuntersinternational.org
SMF 1.1.1 wrapped in Tinyportal 9.7 with manuscript theme

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Firefly

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!
http://historyhuntersinternational.org
SMF 1.1.1 wrapped in Tinyportal 9.7 with manuscript theme

joshkincheloe


Joachim Müller

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

Crazie

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.