coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: SamoanOnion on September 22, 2005, 06:58:27 AM

Title: SMF 1.1 integration
Post by: SamoanOnion on September 22, 2005, 06:58:27 AM
I am using SMF 1.1 and coppermine 1.3.4 and I keep getting this message:


Fatal error: Call to undefined function: cache_get_data() in E:\htdocs\family\bridge\smf.inc.php(125) : eval()'d code on line 10

I am using ver. 1.9 for smf.inc, any ideas???
Title: Re: SMF integration
Post by: Joachim Müller on September 22, 2005, 08:47:38 AM
Coppermine comes with a bridge for SMF1.0.x. There currently is no bridge for SMF1.1.x. Has been asked often both on this board and the smf support board. Search for details.
Title: Re: SMF integration
Post by: anna.y on September 22, 2005, 07:42:34 PM
Bridge was working flawlessly with SMF 1.1 beta3 (THANK YOU!)  and I get similar error with SMF 1.1.CG 1 as SamoanOnion.

In case there is no simple way to fix it, is there any way to 'unbridge' Coppermine without loosing everything?

Anna
Title: Re: SMF integration
Post by: Nibbler on September 22, 2005, 08:22:17 PM
Try this to fix it.

in the smf bridge file, find:

cm_include_smf_funcs("$sourcedir/Load.php", array("reloadSettings", "md5_hmac", "loadUserSettings"));

and modify it so it reads:

cm_include_smf_funcs("$sourcedir/Load.php", array("cache_get_data", "reloadSettings", "md5_hmac", "loadUserSettings"));
Title: Re: SMF integration
Post by: anna.y on September 22, 2005, 10:48:31 PM
Thank you Nibbler! You really made my day with this one little line.  It worked like a charm.

You don't know how much this is appreciated...

Anna   
Title: Re: SMF integration
Post by: nordew on September 23, 2005, 01:56:05 PM
Thx, Nibbler! It works for me with SMF 1.1 RC1, too.
Title: Re: SMF integration
Post by: Sizzling Hot on September 23, 2005, 11:00:37 PM
Thank You Nibbler! ;D
Title: Re: SMF integration
Post by: SamoanOnion on September 23, 2005, 11:42:30 PM
OMG!!!


much thanx Nibbler  ;D
Title: Re: SMF integration
Post by: Powerbob on October 21, 2005, 07:39:29 AM
Did the trick for my 1.1 RC1 thanks  ;D


Powerbob
Title: Please make official bridge for SMF 1.1
Post by: ericmn on October 30, 2005, 01:49:50 AM
Please make official bridge for SMF 1.1

Why not???