I've not come across an error like this before where Line 0 is referred to. Does it have a specific meaning, or is it simply that PHP was unable to determine the line number before something went wrong?
The full warning is:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /xxxxxx/text_editor.php on line 0
Although the warning appears, my MySQL connection appears intact and the application behaves as expected, aside from this message.
Additionally, I've got error_reporting(0) set, so I didn't expect to see any PHP warnings appear in the first place.
I'm running PHP 5.2.11 and have been unable to reproduce the error on other identical installations, nor when using PHP 5.2.9 or PHP 5.3.0. Given the above, can anyone shed any light on this for me?
Thanks, and if you need more information just let me know.
Rich