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: Error After Upgrading SMF  (Read 11179 times)

0 Members and 1 Guest are viewing this topic.

OIDanTheManIO

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Error After Upgrading SMF
« on: July 24, 2005, 02:12:32 am »

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:

Code: [Select]
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
Logged

Nibbler

  • Guest
Re: Error After Upgrading SMF
« Reply #1 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.
Logged

OIDanTheManIO

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Error After Upgrading SMF
« Reply #2 on: July 24, 2005, 04:36:47 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Error After Upgrading SMF
« Reply #3 on: July 24, 2005, 09:24:57 am »

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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Error After Upgrading SMF
« Reply #4 on: July 24, 2005, 07:11:14 pm »

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

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

Page created in 0.016 seconds with 15 queries.