morne
morne

Reputation: 4189

pear quickfrom throws code at the top of the page

I started using PEAR yesterday, but Im having trouble.

When I launch the app, there is a bunch of QuickForm code at the tom of the page before the app. enter image description here

I have followed the installation instructions from pear to the word. Downloaded packages (including QuickForms), added the the path variables.

But for some reason it does this. I can not paste the code here as it is quite broken up into a lot of files. But maybe someone has come across something like this before.

Upvotes: 1

Views: 16

Answers (1)

Pupil
Pupil

Reputation: 23948

You have set PEAR DB's debug level to non-zero value.

Set it to:

DB_DataObject::debugLevel(0);

Reference:

http://pear.php.net/manual/en/package.database.db-dataobject.db-dataobject.debuglevel.php

Upvotes: 1

Related Questions