For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > May 2005 > Re: [PEAR] DataObject getLinks() not working on web host









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] DataObject getLinks() not working on web host
Justin Patrin

2005-05-03, 3:58 am

On 5/2/05, Larry Garfield <larry@garfieldtech.com> wrote:
> Justin Patrin wrote:
>=20
>=20
> On my local system, the test script is in:
> /home/lgarfiel/public_html/gmdarchive/includes
>=20
> That directory contains db_dataobject.ini and a directory DataObjects,
> in which the DO classes are stored along with gmdarchive.ini and
> gmdarchive.links.ini. db_dataobject.ini reads (modulo the SQL data here
> not real, and it's word wrapping here):
>=20
> database =3D mysql://user:passwd@localhost/dbname
> schema_location =3D
> "/home/lgarfiel/public_html/gmdarchive/includes/DataObjects"
> class_location =3D
> "/home/lgarfiel/public_html/gmdarchive/includes/DataObjects"
> require_prefix =3D DataObjects/
> class_prefix =3D DataObjects_
>=20
> On the production server, I upload all of the above files verbatim. The
> test script is now in:
> /usr/www/users/stfleet/gmd/archive/includes
>=20
> And I edit db_dataobject.ini to read (Ibid on DB data):
>=20
> database =3D mysql://user:passwd@localhost/dbname
> schema_location =3D "/usr/www/users/stfleet/gmd/archive/includes/DataObje=

cts"
> class_location =3D "/usr/www/users/stfleet/gmd/archive/includes/DataObjec=

ts"
> require_prefix =3D DataObjects/
> class_prefix =3D DataObjects_
>=20
> That is all correct, isn't it?
>=20


Looks good to me.

--=20
Justin Patrin
Larry Garfield

2005-05-03, 3:58 am

Justin Patrin wrote:
> On 5/2/05, Larry Garfield <larry@garfieldtech.com> wrote:



*snip*
[color=darkred]
>
>
> Looks good to me.


Yeah, that's what I thought. :-) And the factory is working, so it can
find the files at least some of the time. I'm out of ideas, which is
why I came to the list with it. What else could I look at to find the
problem?

--
Larry Garfield AIM: LOLG42
larry@garfieldtech.com ICQ: 6817012

"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps it
to himself; but the moment it is divulged, it forces itself into the
possession of every one, and the receiver cannot dispossess himself of
it." -- Thomas Jefferson
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com