Reply to Re: filemtime(): stat failed for file.jpg

Your name:

Reply:


Posted by Erik Kullberg on 10/07/07 20:29

Yes, the files are all readable.
I deleted the directory with its content, made a new directory with the same
name, ran the file generating program again and then ran this sequence that
contains filemtime() - the same result! Restart does not help either.
I guess that the error message means that the file status information cannot
be found/read? Where is that stored? Can I read it somehow? That might give
a hint about what is wrong...
/ Erik

"Brendan Gillatt" <brendanREMOVETHIS@brendanREMOVETHISgillatt.co.uk> skrev i
meddelandet news:uNmdnQFRyaL6qZTanZ2dnUVZ8sjinZ2d@pipex.net...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Erik Kullberg wrote:
>> I get a warning message from filemtime() that looks in principle like
>> this:
>> "stat failed for picture.jpg on line xxx"
>> filemtime($filename) then comes out empty.
>>
>> This happens in a loop over all files (not only jpg) in a directory - the
>> same result for all files.
>> The files are definitely there.
>> What is wrong and how can it be cured?
>>
>> Would appreciate some help!
>> / Erik
>>
>>
>>
>
> You may have permission problems with the file. Make sure it is readable
> to whichever user apache runs under. Can you open the file to read okay?
>
> - --
> Brendan Gillatt
> brendan {at} brendangillatt {dot} co {dot} uk
> http://www.brendangillatt.co.uk
> PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32)
>
> iD8DBQFHCTRvkA9dCbrNdDMRAhDHAJ0YoBCjrJ3tUI051mqHghNUklWcMgCeNyUA
> syGMlt82hn1+5mxcLjI61/w=
> =LQ/j
> -----END PGP SIGNATURE-----

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация