[Bug #115] [Base] Debian php4-pear 4.3.9-1 module blows DB warnings
anthill-daemon <anthill-daemon-+mQDA36h6dWw5LPnMra/[email protected]> Thu, 28 Oct 2004 15:56:32 -0600
| Newsgroups | gmane.comp.bug-tracking.anthill.devel |
|---|---|
| Message-ID | <[email protected]> |
http://anthill.vmlinuz.ca/anthill/query.php?bug=115 --- 115 2004-10-28 15:56:32.000000000 -0600 +++ 115.tmp.NVS5UM 2004-10-28 15:56:32.000000000 -0600 @@ -0,0 +1,48 @@ +Bug# : 115 +Product : Anthill +Version : 0.3.0 +Status : NEW +Priority : High +Component : Base +URL : +Assigned To: [email protected] +Reported By: [email protected] +Type : PUBLIC + +Summary : Debian php4-pear 4.3.9-1 module blows DB warnings + +Comment posted: 2004-10-28 03:56 PM by [email protected] + +Installing the Debian testing php4-pear package causes DB warnings to be +output. Here is a sample (just 3 out of a couple hundred that get generated +when trying to login to the system, submit bugs, etc.) + +--------------------- + +Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed +'DB_PORTABILITY_DELETE_COUNT' in /usr/share/php/DB/common.php on line 701 + +Notice: Use of undefined constant DB_PORTABILITY_DELETE_COUNT - assumed +'DB_PORTABILITY_DELETE_COUNT' in /usr/share/php/DB/mysql.php on line 722 + +Notice: Use of undefined constant DB_PORTABILITY_LOWERCASE - assumed +'DB_PORTABILITY_LOWERCASE' in /usr/share/php/DB/mysql.php on line 289 + +--------------------- + +I was able to fix it by changing the order that $_CONF['includes'] is added +to the include_path variable in the include/site.inc.php file. + +By putting the $_CONF['includes'] value first, it makes sure that the +anthill version of pear is used unless you really wanted to use the systems +pear modules. + +The updated line looks like: +ini_set("include_path", $_CONF['includes'] . $add . $oldinc); + + +Sorry I didn't make a patch but it is just a quick one line change. + +Thanks for this cool product. + + ---- You are receiving this notice because you are the assignee, reporter, or a watcher for this bug report. _______________________________________________ Anthill-workers mailing list Anthill-workers-+mQDA36h6dWw5LPnMra/[email protected] http://vmlinuz.ca/mailman/listinfo/anthill-workers