Advanced search  

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]

Pages: [1]   Go Down

Author Topic: SMF 1.1 RC2 cpg1.4.4 integration: fatal error  (Read 4082 times)

0 Members and 1 Guest are viewing this topic.

Firefly

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • Revealing the Treasures of History
SMF 1.1 RC2 cpg1.4.4 integration: fatal error
« 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:

Code: [Select]
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!
« Last Edit: March 01, 2006, 08:33:36 pm by GauGau »
Logged
http://historyhuntersinternational.org
SMF 1.1.1 wrapped in Tinyportal 9.7 with manuscript theme

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
« Reply #1 on: March 01, 2006, 07:17:05 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • Revealing the Treasures of History
Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
« Reply #2 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!
Logged
http://historyhuntersinternational.org
SMF 1.1.1 wrapped in Tinyportal 9.7 with manuscript theme

joshkincheloe

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
« Reply #3 on: March 02, 2006, 06:30:33 am »

Can someone tell me where this guide is?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
« Reply #4 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
Logged

Crazie

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: SMF 1.1 RC2 cpg1.4.4 integration: fatal error
« Reply #5 on: March 02, 2006, 01:05:24 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.