upgrade error 'Fatal error: Call to undefined function getUploadPathPreview...."

4 posts by 2 authors in: Forums > CMS Builder
Last Post: December 24, 2014   (RSS)

By Deborah - December 23, 2014 - edited: December 23, 2014

Hi. I have a serious problem with a minor-version site upgrade. The site was functioning perfectly well up to the point of this upgrade.

When upgrading from 2.61 to 2.63, the General Settings page displays the following and the entire rest of the settings page below this is not displaying:

"Preview: Fatal error: Call to undefined function getUploadPathPreview() in /home/mysite/public_html/cmsb/lib/menus/admin/general.php on line 148"
(URL edited for privacy)

I've tried various edits to the settings.dat.php for 'uploadDir', 'uploadUrl', but nothing has worked. This error prevents the live website images from displaying! Any ideas of what I can check or change to get this going again?

Thanks for any help.
~ Deborah

By Deborah - December 24, 2014

Hi, Claire.

You are so right! The old /lib/upload_functions.php file was not replaced with the new upgrade version. I copied that over and all is well. If a similar issue happens in the future, I'll try uploading the entire upgrade again.

I sincerely appreciate the quick reply, as this will help me meet my deadline today.

Wishing you happy holidays!

~ Deborah

By claire - December 24, 2014

Glad to help! And happy holidays!

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/