Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#403 How to remove PHP Warnings from bottom of pages?!?

Rendering
closed
Reini Urban
5
2014-06-25
2004-12-02
Steven Buehler
No

I'm getting all sorts of crap at the bottom of my WIki
pages, even with DEBUG=0. how to fix this?

PHP Warnings

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php:289: Notice[8]: Use of
undefined constant DB_PORTABILITY_LOWERCASE - assumed
'DB_PORTABILITY_LOWERCASE'

C:\PHP\pear\DB\mysql.php:307: Notice[8]: Use of
undefined constant DB_PORTABILITY_RTRIM - assumed
'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php:315: Notice[8]: Use of
undefined constant DB_PORTABILITY_NULL_TO_EMPTY -
assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php:307: Notice[8]: Use of
undefined constant DB_PORTABILITY_RTRIM - assumed
'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php:315: Notice[8]: Use of
undefined constant DB_PORTABILITY_NULL_TO_EMPTY -
assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php:307: Notice[8]: Use of
undefined constant DB_PORTABILITY_RTRIM - assumed
'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php:315: Notice[8]: Use of
undefined constant DB_PORTABILITY_NULL_TO_EMPTY -
assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php:289: Notice[8]: Use of
undefined constant DB_PORTABILITY_LOWERCASE - assumed
'DB_PORTABILITY_LOWERCASE'

C:\PHP\pear\DB\mysql.php:307: Notice[8]: Use of
undefined constant DB_PORTABILITY_RTRIM - assumed
'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php:315: Notice[8]: Use of
undefined constant DB_PORTABILITY_NULL_TO_EMPTY -
assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php:307: Notice[8]: Use of
undefined constant DB_PORTABILITY_RTRIM - assumed
'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php:315: Notice[8]: Use of
undefined constant DB_PORTABILITY_NULL_TO_EMPTY -
assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php:289: Notice[8]: Use of
undefined constant DB_PORTABILITY_LOWERCASE - assumed
'DB_PORTABILITY_LOWERCASE'

C:\PHP\pear\DB\mysql.php:307: Notice[8]: Use of
undefined constant DB_PORTABILITY_RTRIM - assumed
'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php:315: Notice[8]: Use of
undefined constant DB_PORTABILITY_NULL_TO_EMPTY -
assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php:722: Notice[8]: Use of
undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php (In template 'head') (In
template 'html'):722: Notice[8]: Use of undefined
constant DB_PORTABILITY_DELETE_COUNT - assumed
'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):722: Notice[8]:
Use of undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):289: Notice[8]:
Use of undefined constant DB_PORTABILITY_LOWERCASE -
assumed 'DB_PORTABILITY_LOWERCASE'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):307: Notice[8]:
Use of undefined constant DB_PORTABILITY_RTRIM -
assumed 'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):315: Notice[8]:
Use of undefined constant DB_PORTABILITY_NULL_TO_EMPTY
- assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):722: Notice[8]:
Use of undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):307: Notice[8]:
Use of undefined constant DB_PORTABILITY_RTRIM -
assumed 'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):315: Notice[8]:
Use of undefined constant DB_PORTABILITY_NULL_TO_EMPTY
- assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):722: Notice[8]:
Use of undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):289: Notice[8]:
Use of undefined constant DB_PORTABILITY_LOWERCASE -
assumed 'DB_PORTABILITY_LOWERCASE'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):307: Notice[8]:
Use of undefined constant DB_PORTABILITY_RTRIM -
assumed 'DB_PORTABILITY_RTRIM'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):315: Notice[8]:
Use of undefined constant DB_PORTABILITY_NULL_TO_EMPTY
- assumed 'DB_PORTABILITY_NULL_TO_EMPTY'

C:\PHP\pear\DB\mysql.php (In template 'browse') (In
template 'body') (In template 'html'):722: Notice[8]:
Use of undefined constant DB_PORTABILITY_DELETE_COUNT -
assumed 'DB_PORTABILITY_DELETE_COUNT'

C:\PHP\pear\DB\mysql.php (In template 'signin') (In
template 'navbar') (In template 'body') (In template
'html'):722: Notice[8]: Use of undefined constant
DB_PORTABILITY_DELETE_COUNT - assumed
'DB_PORTABILITY_DELETE_COUNT'

Discussion

  • Reini Urban
    Reini Urban
    2004-12-03

    Logged In: YES
    user_id=13755

    Fix your Pear DB?
    This problem is in no way related to phpwiki, so please
    report it at pear DB.

    You could only try to use our copy if the Pear DB.
    INCLUDE_PATH=...lib/pear/