Error After Upgrading SMF Error After Upgrading SMF
 

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

Error After Upgrading SMF

Started by OIDanTheManIO, July 24, 2005, 02:12:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OIDanTheManIO

Hey, I just updated the CVS on my SMF forum (www.oi-forums.com) and now I'm getting this error on my Coppermine gallery index:

Fatal error: Call to undefined function: cache_get_data() in /home/oiforums/public_html/gallery/bridge/smf.inc.php(127) : eval()'d code on line 10

Anyone know what this means and if there's a fix for it?

-Dan The Man

Nibbler

The coppermine-smf bridge is designed for SMF 1.0 and does not work with SMF 1.1. Please check both our boards and at SMF for discussion about this.

OIDanTheManIO

Quote from: Nibbler on July 24, 2005, 04:15:40 AM
The coppermine-smf bridge is designed for SMF 1.0 and does not work with SMF 1.1. Please check both our boards and at SMF for discussion about this.

It's always worked fine for me with SMF 1.1...

-Dan The Man

Joachim Müller

don't use beta code if you're not confortable with it and know your way around how to fix errors. I don't think that cpg1.3.x has worked with SMF1.1.x

kegobeer

There's a thread on SMF that talks about this:

http://www.simplemachines.org/community/index.php?topic=40625

I don't have the SMF beta installed, so I can't offer a whole lot of help.  However, if any of the functions loaded by the bridge file are calling that function, it would have also have to be included in the cm_include_smf_funcs function call.  From a quick look, Load.php no longer has the md5_hmac function so I guess SMF has moved functions around, which means the bridge won't function correctly now.

Try this

cm_include_smf_funcs("$sourcedir/LogInOut.php", array("md5_hmac"));
cm_include_smf_funcs("$sourcedir/Load.php", array("cache_get_data", "reloadSettings", "loadUserSettings"));
cm_include_smf_funcs("$sourcedir/Subs.php", array("updateMemberData", "updateStats", "updateSettings"));


If you get more error message for missing functions, you'll have to either edit the appropriate cm_include_smf_funcs line or add a new cm_include_smf_funcs line.
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