Hi all,
I have just upgragded from 1.1 to 1.4 following the instructions in the documentation.
I have just tried to run the version check and I get the following
Fatal error: Call to undefined function: ob_clean() in /home/httpd/vhosts/123bikini.us/httpdocs/include/init.inc.php on line 153
Can anyone provide some help on
1. what this means and
2. how I might fix it?
Many thanks
Best idea is to update your PHP to 4.2 or higher. If you can't do that then I'll post a code change for you.
I am unable to upgrade at this stage. Is it possible to post the code change?
Thanks
include/init.inc.php, find
// Include config and functions files
if(file_exists('include/config.inc.php')){
ob_start();
require_once 'include/config.inc.php';
ob_clean();
} else {
change to
// Include config and functions files
if(file_exists('include/config.inc.php')){
//ob_start();
require_once 'include/config.inc.php';
//ob_clean();
} else {
Thanks Nibbler
Greatly appreicated
Keep in mind that older PHP versions have known issues - you will probably run into issues sooner or later that can't be fixed that easily. Particularly security issues existing in older PHP versions make it mandatory to upgrade asap. Don't forget that there are minimum requirements for running Coppermine.