"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Jason Barnett wrote:
>> Jochem Maas wrote:
>>
>>>Rob Adams wrote:
>>
>> ...
>>
>>>you 100% sure your include_path is '.' ? just asking.
>>>also you mention a /www/lib and a /www/include dir - maybe thats
>>>the problem?
>>
Jason Barnett wrote:
Jochem Maas wrote:
Rob Adams wrote:
...
you 100% sure your include_path is '.' ? just asking.
also you mention a /www/lib and a /www/include dir - maybe thats
the problem?
maybe you can make the problem go away by setting include_path to
'.:/www/include' or '.:/www/lib'
This s
"Jason Barnett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>My guess is the file *is* in the include path, but the current working
>directory when require_once() executes is not what the OP thinks it is...
I was hoping this was the case, but just checked it with:
echo `pwd`;
and
Jochem Maas wrote:
> Rob Adams wrote:
...
>
> you 100% sure your include_path is '.' ? just asking.
> also you mention a /www/lib and a /www/include dir - maybe thats
> the problem?
>
> maybe you can make the problem go away by setting include_path to
> '.:/www/include' or '.:/www/lib'
This stil
The scenario I gave is very simplified. I'm actually trying to get tikiwiki
working on a server, and the reason it won't run the install is because of
this problem I've mentioned. It works as expected on my development server
(WinXP), but on my production (FreeBSD) it fails.
I don't have a /w
Rob Adams wrote:
One correction. The include('lib/test2.php') is actually a
require_once('lib/test2.php'). That's why it quits and I don't get the
third include.
you 100% sure your include_path is '.' ? just asking.
also you mention a /www/lib and a /www/include dir - maybe thats
the problem?
m
One correction. The include('lib/test2.php') is actually a
require_once('lib/test2.php'). That's why it quits and I don't get the
third include.
-- Rob
"Rob Adams" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> From the manual on 'include':
>
> "Files for including are firs
7 matches
Mail list logo