4 replies [Last post]
finkpad's picture
Offline
Joined: 12/08/2007
Juice: 63
Was this information Helpful?

Just upgraded two of my websites to version 1.0 and get the same error message on both of them after running upgrade.php:

Fatal error: Call to undefined function _imagecache_preset_flush() in www/sites/all/modules/ubercart/uc_catalog/uc_catalog.install on line 172

I then run upgrade *again* and it seems to finish with no errors....

any ideas?

finkpad's picture
Offline
Joined: 12/08/2007
Juice: 63
Re: Fatal error: Call to undefined function _imagecache_preset_f

btw - upgrading from Ubercart RC and using IMAGECACHE 5.x 2.0

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Fatal error: Call to undefined function _imagecache_pres

That function was removed or changed in Imagecache 2.0, but you can still flush the presets yourself through the interface. The update adds a preset and is trying to flush the cached images of a preset that used to be used.

finkpad's picture
Offline
Joined: 12/08/2007
Juice: 63
Thanks Lyle

problem solved by downgrading to previous 1.5 version of imagecache. Seems to work great now... I've had a few weird problems with imagecache in the past while using the RC and DEV versions so I think I'll stick with this version for a while.

/me makes note to only install final versions of software.

/me makes another note to exclude UBERCART from this list since it's been working great since it's alpha days Eye-wink

wishstik's picture
Offline
Joined: 12/06/2007
Juice: 9
Great!

I had this same problem as well. Glad to know it's only minor.