I can't seem to create new tasks for my controllers. I just end up at a blank page.
I want to add the task
to a controller class which will handle ajax uploading of images. I created a stub to test:
public function upload() {
echo "Hello world!";
exit;
}
When I navigate to: index.php?option=com_mycomponent&task=mycontroller.upload - I get a blank page. Actually I can't get anywhere using task in the url. mycontroller.add, mycontroller.edit, etc - all land at a page with no data. (Completely empty, there is no text or html at all).
I am testing on Joomla 2.5 and Joomla 3.0.
I was able to do this in past versions of cook.
Please help me fix this! Thank you.