[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027) Error-handler - Pete's QBASIC Site
[u]fs\fs.bas[/u]
'$DYNAMIC
DEFINT A-Z
FUNCTION FindFATFile (fil AS STRING)
FileFound = "1"
ff = FREEFILE
OPEN fil FOR INPUT AS #ff
CLOSE #ff
FindFATFile = VAL(FileFound)
END FUNCTION
FindFATFile is to see if a file exist. But for some reason it doesn't seem to return from the error handler and just exits.
Anyone has a clue wot the issue could be?[/u][/code]
For some reason it can't return to the FUNCTION, which caused the ERROR, namely FindFATFile. When trying to change RESUME NEXT to RESUME or RESUME 0, it just continues to loop in handle.err. I checked this with a print command.