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

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.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 1 Guest 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.