DaDaBIK
This forum is devoted to the discussion about the software DaDaBIK database front-end
the PHP Database application generator for MySQL, PostgreSQL and SQLite; also available for Wordpress.

Welcome! Log In Create A New Profile

Advanced

export to csv

Posted by Jeff 
Jeff
export to csv
March 24, 2004 09:46AM
I recently downloaded v3.0 beta and everything works well except the "export to csv" function. I get a fatal error that says "Call to undefined function: ob_clean() in ...\form.php on line 319"

Any suggestions on what I need to adjust in the script to get this to work?

Thank you for any help.

Eugenio
Re: export to csv
March 27, 2004 04:59AM
Jeff wrote:

> I recently downloaded v3.0 beta and everything works well
> except the "export to csv" function. I get a fatal error that
> says "Call to undefined function: ob_clean() in ...\form.php on
> line 319"
>
> Any suggestions on what I need to adjust in the script to get
> this to work?

The problem is related to the PHP version, PHP version prior to 4.2.0 has not this function implemented.
This is a lack of documentation in version 3.0 beta, which is supposed to work with PHP version >= 4.0.5



(Latest version of DaDaBIK when this message was posted: 3.0 beta)
Brad Dobson
Re: export to csv
April 09, 2004 04:51PM
I asked the oracle (google) and an answer was provided:

//ob_clean();^M
ob_end_clean();^M
ob_start();^M

Mine was broken too and modifying form.php worked.

Good luck,

Brad.
Eugenio
Re: export to csv
April 11, 2004 04:15AM
Brad Dobson wrote:

> I asked the oracle (google) and an answer was provided:
>
> //ob_clean();^M
> ob_end_clean();^M
> ob_start();^M
>
> Mine was broken too and modifying form.php worked.

You are right, thaks for reporting it, ob_end_clean() is supported from PHP 4, changing:
ob_clean();
to
ob_end_clean();
in form.php should be enough, without adding ob_start.



(Latest version of DaDaBIK when this message was posted: 3.0 beta)
Jeff
Re: export to csv
April 14, 2004 04:45PM
Thank you, Brad and Eugenio
Sorry, only registered users may post in this forum.

Click here to login