News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Step by Step how to integrate SMF 1.1RC3 and Coppermine 1.4.9

Started by warhonowicz, September 13, 2006, 05:23:34 AM

Previous topic - Next topic

Goad

ok, this is a fresh install on a fresh database.....SMF 1.1.1, CPG 1.4.10, and TinyPortal 0.9.7 using the Sullen Madness theme for 1.1.1....

I am getting this error when I click on the Gallery link i made following these directions.

QuoteFatal error: smf_main() [function.require]: Failed opening required '/homepages/xx/xxxxxx/htdocs/scjb-test/Sources/Coppermine.php' (include_path='.:/usr/local/lib/php') in /homepages/xx/xxxxxx/htdocs/scjb-test/index.php on line 355

Goad

Quote from: Goad on January 15, 2007, 02:05:18 PM
ok, this is a fresh install on a fresh database.....SMF 1.1.1, CPG 1.4.10, and TinyPortal 0.9.7 using the Sullen Madness theme for 1.1.1....

I am getting this error when I click on the Gallery link i made following these directions.

QuoteFatal error: smf_main() [function.require]: Failed opening required '/homepages/xx/xxxxxx/htdocs/scjb-test/Sources/Coppermine.php' (include_path='.:/usr/local/lib/php') in /homepages/xx/xxxxxx/htdocs/scjb-test/index.php on line 355


This was fixed. There was a space at the end of my filename "coppermine.php "

Goad

Quote from: warmachine on November 17, 2006, 01:54:51 AM
I've done the steps in this thread, but when I click on my image gallery link at the top of my forum, I get returned to the main forum index page. Any ideas?

I am still having this problem. I was able to follow these steps and make it work on my test site, but not on my production site. I double checked everything. Any ideas?

Goad

Quote from: Goad on January 15, 2007, 08:06:00 PM
Quote from: warmachine on November 17, 2006, 01:54:51 AM
I've done the steps in this thread, but when I click on my image gallery link at the top of my forum, I get returned to the main forum index page. Any ideas?

I am still having this problem. I was able to follow these steps and make it work on my test site, but not on my production site. I double checked everything. Any ideas?

I figured out the answer for this problem. Just in case someone else stumbles accross this problem heres the fix:

in the index.php in the root, find this:

Quote'coppa' => array('Register.php', 'CoppaForm'),

Put this in the next line:

'coppermine' => array('Coppermine.php', 'Coppermine'),

mrgiffy2000

No good for me. I tried every suggestion here and in the other thread and the button only opens my main forum page again. Looks like it should work but i get nothing.  hxxp:www.deadlinetv.net/SMF [nonactive]

mrgiffy2000

Has anyone had any luck applying this modification to the Amber Template? I have gone through every post on this topic with no luck. My gallery button just links back to my forum home.

mrgiffy2000

So I have continued to reserch this still with no luck. Do we need to use the iframe script or is this just built off of that?

mrgiffy2000

Now I am getting this error
Parse error: parse error, unexpected T_STRING, expecting ')' in /home/content/e/d/d/eddiepaul/html/SMF/index.php on line 311

warhonowicz

I've just upgraded my forum to 1.1.2 and also installed TP 0.971. This time round I have added this to the root index.php file

'Coppermine' => array('Coppermine.php', 'Coppermine'),

I have added it just below this line

'coppa' => array('Register.php', 'CoppaForm'),

to keep it in alphabetical order.

Still works fine.
Tell me and I will forget
Show me and I might remember
But involve me and I will understand

SMF 2.0.11 with TP 1.2

bertyhell

i did the exact same thing

getting the link back to the forum index

i got smf 1.1.2
and TP 0.971
any help pls?


Velozity

Quote from: Goad on January 15, 2007, 09:45:40 PM
Quote from: Goad on January 15, 2007, 08:06:00 PM
Quote from: warmachine on November 17, 2006, 01:54:51 AM
...

...

I figured out the answer for this problem. Just in case someone else stumbles accross this problem heres the fix:

in the index.php in the root, find this:

Quote'coppa' => array('Register.php', 'CoppaForm'),

Put this in the next line:

'coppermine' => array('Coppermine.php', 'Coppermine'),


for me this one did not work - but this one did:
'Coppermine' => array('Coppermine.php', 'Coppermine'),
so you might need to type the first letter in "Coppermine" as a capital one.

Advertisement: