Question: I have a PHP script that stops processing (it seems to be) on a PHP warning. The error is general "PHP Warning: fopen" - "failed to open stream: No such file or directory".

Should PHP stop here? I thought only on fatal errors?

Is there a way to get it to continue?

Answer: 
Don't know how to continue on errors, but the better thing would be error prevention in first place:

<http://php.net/manual/en/function.file-exists.php>

<http://www.php.net/manual/en/function.is-readable.php>
Even if it continued, the program would, most probably, not work the way it was meant to. Anyway, try handling the exception:

```
try {
    # code that may cause an error
}
catch( Exception $e ) {
    # do error handling mechanism
}

```