Re: problem with DO on shared host
| From: | Justin Patrin | Date: | Fri, 20 Aug 2004 22:35:41 +0000 |
| Subject: | Re: problem with DO on shared host | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14205@lists.php.net to get a copy of this message | ||
On Fri, 20 Aug 2004 15:25:29 -0500, Ryan King <ryansking@mac.com> wrote:
> I set up my own local PEAR directory on my shared host thanks to the
> directions found here:
>
>
> http://marc.theaimsgroup.com/?l=pear-general&m=107151028304871&w=2
>
> But I'm getting a really weird error, which may or may not be related
> to this setup:
> >Warning: unable to call dataobjects_user::d4 e() method in
> /usr/home/theryan/pear/lib/DB/DataObject.php on line 383
>
> Now, I only see this error if I put in an 'exit;' right after the
> offending line. Otherwise, I get no output at all. This is running on
> RedHat 7.3 with PHP 4.3.8 and Apache 1.3.31
>
> Any ideas on what's going on here?
>
Yep. PHP is crashing due to the "overloading" stuff. At least, this is
what I found when I was getting this error. Try putting this in before
your include for DataObject.php:
define('DB_DATAOBJECT_NO_OVERLOAD',true);
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--