TinyPortal

General => Chit chat => Topic started by: gerrymo on November 21, 2005, 03:39:38 PM

Title: Problem with Coppermine after upgrade.
Post by: gerrymo on November 21, 2005, 03:39:38 PM
I have just upgraded to RC1 with the latest TP. Since doing the upgrade, I have an error when trying to access the Gallery. Anyone else had this, or know how to fix it? (Coppermine 1.3.3). I cant seem to get on to the Coppermine forum for some reason.


Fatal error: Call to undefined function: cache_get_data() in
/************/***/*******/********/site/cpg/bridge/smf.inc.php(127) : eval()'d code on line 10
Title: Re: Problem with Coppermine after upgrade.
Post by: IchBin on November 21, 2005, 05:04:19 PM
I had a problem with mine when I upgraded to RC1 too. I have just a blank white page when going to my gallery. Haven't taken the time to figure it out yet.
Title: Re: Problem with Coppermine after upgrade.
Post by: gerrymo on November 21, 2005, 06:10:44 PM
I only get the error above on the page. Think I might just leave it till the TP Gallery Module is ready and use that.
Title: Re: Problem with Coppermine after upgrade.
Post by: snork13 on November 21, 2005, 07:12:26 PM
coppermine forum is down, but nibbler had this fix...

in your bridge file

find and change this:

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


to this:

cm_include_smf_funcs("$sourcedir/Load.php", array("cache_get_data", "reloadSettings", "md5_hmac", "loadUserSettings"));
Title: Re: Problem with Coppermine after upgrade.
Post by: gerrymo on November 21, 2005, 08:41:38 PM
Cool, I'll give it a go (nothing to loose after all). I assume you mean smf.inc.php?
Title: Re: Problem with Coppermine after upgrade.
Post by: gerrymo on November 21, 2005, 08:46:06 PM
And, like magic, its all working again.

Thanks snork13
Title: Re: Problem with Coppermine after upgrade.
Post by: IchBin on November 22, 2005, 01:36:19 AM
Ha! That fix made my gallery work again! Thanks snork13!!
Title: Re: Problem with Coppermine after upgrade.
Post by: snork13 on November 23, 2005, 08:23:39 PM
Sweet...glad I could help :o