I found the problem, it was quite simple: wrong path. Maybe something to
think of, how about making space in the Aasgard interface for practical info
from sysadmins to the people using aasgard? A small area where it's possible
for the company delivering midgard to the masses to give their users div.
technical info on basis of their sitegroup fx.
Tarjei.
(still learning PHP ,)
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Emiliano
> Sent: 15. januar 2001 20:28
> To: [EMAIL PROTECTED]
> Subject: Re: [midgard-user] Trouble with fopen
>
>
> Tarjei Huse wrote:
> >
> > Hi, I'm wondering if this is a general php problem og a
> midgard problem.
> >
> > I'm trying to access a file on my server, file.gif, in
> directory /dir/img/.
> > The trouble is that I am only getting errormessages when I
> i try fopen. I
> > only get errormessages like:
> > Warning:
> fopen("/home/htdocs/mailkamp/img/too_many_users_01.jpg","r") - No
> > such file or directory in content on line 53
>
> We haven't changed the fopen source. If you put the same fopen in a
> plain
> PHP file, does it succeed?
>
> > I've tried many different combinations of paths, but none
> seem to work.
> > Could this be a midgard / php configuration issue?
> >
> > In phpinfo() the variables include_path and open_dir are not set.
>
> I don't know so much about PHPs safe mode. But you could try to change
> to
> the user apache runs as (which would be 'nobody' for me) and try
> ls -l /home/htdocs/mailkamp/img/too_many_users_01.jpg
> It could just be that one of the directories leading to the file is
> not available to the apache process.
>
> Emile
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]