I’m at a loss trying to debug a plugin. I want to take some text and output it to a particular file as Zend wont let me use fopen or fclose or even the ZendLogWriterStream to write out a file somewhere.
There is an instance of the db object not being passed to a controller properly, and I’m trying to see where I screwed up, and I can’t find any debugging tools that will work, as there are no messages from Apache, Zend, Omeka, or anything even though all error reporting levels are set to report everything. The reason its not getting an error is actually it’s saying the config is correct, but there are no records in the database. Everything outside the plugin works great, however- I’ve screwed something up. I just need to know how I can write a file to disk with some text that I specify (eg: an object).