Error After Upgrading SMF Error After Upgrading SMF
 

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

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