Greg Bowser írta:
the above won't work, as the parser will try to interpret $CFG and
put it in the string first,
In that case, $CFG is either null, or it is indeed an object. If it is
a standard object, which I it appears to be, then a fatal error will
be thrown because there is no __tostring()
On Wed, Apr 9, 2008 at 2:40 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> Richard S. Crawford írta:
>
> > Hi, everyone.
> >
> > This one's been driving me bonkers for an hour now. Anyone have any idea
> > why require_once would be dying silently in the script below?
> >
> > --
>the above won't work, as the parser will try to interpret $CFG and
put it in the string first,
In that case, $CFG is either null, or it is indeed an object. If it is
a standard object, which I it appears to be, then a fatal error will
be thrown because there is no __tostring() function. If it's
Aschwin Wesselius írta:
Richard S. Crawford wrote:
Hi, everyone.
This one's been driving me bonkers for an hour now. Anyone have any idea
why require_once would be dying silently in the script below?
$CFG->dirroot = "/home/rcrawford/public_html/tanktrun
Richard S. Crawford wrote:
Hi, everyone.
This one's been driving me bonkers for an hour now. Anyone have any idea
why require_once would be dying silently in the script below?
$CFG->dirroot = "/home/rcrawford/public_html/tanktrunk/tanktrunk";
$CFG->datar
Richard S. Crawford írta:
Hi, everyone.
This one's been driving me bonkers for an hour now. Anyone have any idea
why require_once would be dying silently in the script below?
$CFG->dirroot = "/home/rcrawford/public_html/tanktrunk/tanktrunk";
$CFG->dataro
On Tue, Apr 8, 2008 at 8:27 PM, Greg Bowser <[EMAIL PROTECTED]> wrote:
>
>
> Is it possible that something is "going wrong" between the definition
> of $CFG->foo and when you require that could cause $CFG->dirroot to be
> null? Then it would point to /lib/setup.php, which definitely
> shouldn'
Is it possible that something is "going wrong" between the definition
of $CFG->foo and when you require that could cause $CFG->dirroot to be
null? Then it would point to /lib/setup.php, which definitely
shouldn't exist and should thus throw an error, but maybe it's worth
looking into.
That woul
Richard S. Crawford wrote:
Hi, everyone.
This one's been driving me bonkers for an hour now. Anyone have any idea
why require_once would be dying silently in the script below?
$CFG->dirroot = "/home/rcrawford/public_html/tanktrunk/tanktrunk";
$CFG->datar
Hi, everyone.
This one's been driving me bonkers for an hour now. Anyone have any idea
why require_once would be dying silently in the script below?
$CFG->dirroot = "/home/rcrawford/public_html/tanktrunk/tanktrunk";
$CFG->dataroot = $CFG->dirroot.'/moodle
10 matches
Mail list logo