davew wrote:1. How can I do a simple debug output to figure out where in the process flow of my plugin the issue is occurring. Obviously a simple echo does not work. Is there a a simple method for finding where in the application flow things are failing?
davew wrote:2. When I install the plugin with the tar.gz it asks for a version.xml or rather a Version.xml, I have included one but to no avail. What should the directory structure of a plugin look like? What files are mandatory? Is there documentation on this somewhere?
davew wrote:3. How can I tell what standards are for what versions of OCS? I see a number of notes about plugins being built against older versions, and so I'm having trouble figuring out what code I can use as a guide.
mcrider wrote:Why won't an echo work? You could also try writing data to your PHP log. And though the learning curve is a bit steep, I highly recommend using Eclipse to step through your code--Once you get used to it, its much more efficient than putting echo's throughout your code. Also, if your plugin is submitting anything via AJAX, or you're posting to a remote server, you'll want to use FireBug or something similar to inspect server responses.
Users browsing this forum: No registered users and 1 guest