coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: ned on June 29, 2006, 01:55:05 PM

Title: can't get in to gallery after upgrade: undefined function ob_clean
Post by: ned on June 29, 2006, 01:55:05 PM
I've just tried to update my 1.2.1 gallery to 1.4.8. I ran the update scriopt OK but now i get this error:

Fatal error: Call to undefined function: ob_clean() in /gallery/include/init.inc.php on line 153

where do I go now as I can't even log in?

I am about to move this site to a new server: would it be useful  - or even possible - to do a clean install and then overwrite the tables with the sql dump from the old version?
Title: Re: can't get in to gallery after upgrade: undefined function ob_clean
Post by: Sami on June 29, 2006, 07:33:19 PM
- board has "one question per thread" rule

your PHP version is under 4.2.0
CPG 1.4.8 need (PHP 4 >= 4.2.0)
check php version of new server

@dev team:please update it (PHP 4 >= 4.2.0):What is required (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#what)
Title: Re: can't get in to gallery after upgrade: undefined function ob_clean
Post by: ned on June 29, 2006, 09:39:54 PM
It was one question - I was wondering if moving the site would solve the problem! 

I obviously failed to read the requirements properly before upgrading and yes, the new server has a later version of PHP, so I guess the answer is yes :)
Title: Re: can't get in to gallery after upgrade: undefined function ob_clean
Post by: Nibbler on June 29, 2006, 09:46:06 PM
Yes, and there is a code fix posted already for this issue if you search the board.