getting started,but a fatal error in common.php
Posted by godo biker
getting started,but a fatal error in common.php June 23, 2008 04:44PM |
Registered: 14 years ago Posts: 20 |
Hello,
I've searched the db if this error was already asked, but didn't find a result.
I try to instal the phorum, made a database, uploaded the files, and when i open the admin page i get the next error:
Fatal error: Call to undefined function: ob_get_status() in [weburl]/phorum/common.php on line 1689
in the script it says the next code:
function phorum_ob_clean()
{
// Clear out all output that PHP buffered up to now.
for (;;) {
$status = ob_get_status(); [this is line 1689 in the script!!]
if (!$status ||
$status['name'] == 'ob_gzhandler' ||
!$status['del']) break;
ob_end_clean();
}
}
there i'm a newbe i'm totaly blind after searching for a error...
sorry, but i cannot match the error with the script...so please help me where I have to look or change the script!!!???
I've searched the db if this error was already asked, but didn't find a result.
I try to instal the phorum, made a database, uploaded the files, and when i open the admin page i get the next error:
Fatal error: Call to undefined function: ob_get_status() in [weburl]/phorum/common.php on line 1689
in the script it says the next code:
function phorum_ob_clean()
{
// Clear out all output that PHP buffered up to now.
for (;;) {
$status = ob_get_status(); [this is line 1689 in the script!!]
if (!$status ||
$status['name'] == 'ob_gzhandler' ||
!$status['del']) break;
ob_end_clean();
}
}
there i'm a newbe i'm totaly blind after searching for a error...
sorry, but i cannot match the error with the script...so please help me where I have to look or change the script!!!???
June 23, 2008 04:50PM |
Admin Registered: 18 years ago Posts: 8,532 |
ob_get_status() is a standard PHP function that is part of PHP since version 4.2.0.
Are you running a PHP version older than that by any chance?
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Are you running a PHP version older than that by any chance?
Maurice Makaay
Phorum Development Team



Re: getting started,but a fatal error in common.php June 23, 2008 04:59PM |
Registered: 14 years ago Posts: 20 |
June 23, 2008 05:10PM |
Admin Registered: 18 years ago Posts: 8,532 |
You can delete that code, but it is better to kick the hosting provider, check if they can give you PHP5 or find a different hosting provider that knows how to provide up-to-date services. You will probably run into a lot of more issues if you start hacking the code for compatibility with such an old PHP version (it's more than 5 years old I think). We recommend PHP5 for running Phorum.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: getting started,but a fatal error in common.php June 23, 2008 05:16PM |
Registered: 14 years ago Posts: 20 |
June 23, 2008 05:23PM |
Admin Registered: 18 years ago Posts: 8,532 |
You're welcome and good luck.
I hope your host will help you out on this one.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
I hope your host will help you out on this one.
Maurice Makaay
Phorum Development Team



Sorry, only registered users may post in this forum.