Re: [PHP] No such file... but there is!
- Date: Tue, 28 Nov 2017 20:45:54 +0000
- From: Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [PHP] No such file... but there is!
On 28 November 2017 15:58:27 GMT+00:00, Aziz Saleh <azizsaleh@xxxxxxxxx> wrote:
>On Tue, Nov 28, 2017 at 10:53 AM, Jennifer
>> > On Nov 28, 2017, at 7:39 AM, Jasper Kips <jasper@xxxxxxxxxxxxx>
>> > The problem lies in age path, which is, according to the log
>> Sorry. In those log entries, I replaced the full path with
>> dots. They are not in the code.
>> > Have you checked the read privileges
>> Yes. The privileges are correct.
>> > Use the absolute file location instead of the relative one.
>> I'm using the full, absolute path. However, since the file
>> the same folder as the script, maybe I can get away with just the
>> Again, this is an intermittent problem. It happens rarely,
>> that's why it's a mystery.
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>tells me that you are using the relative and not absolute path. The
>reason I recommend using the absolute path is that the error would show
>issues, if any that are occurring and from where.
>Another choice is to debug the location where the error is happening, I
>have a feeling that it is coming from a location that you are not
If it's intermittent, it could be that the file is locked when you try to open it, a problem with trying to open a shared file when the scripts hitting it could be open at the same time. You could try putting that logic into a database, which is built to handle this sort of concurrent access.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php