Custom Block (Similar to Guestbook) Showing Blank Page.

Permalink
Hello,

I am creating a custom block for displaying simple text entries. The idea is that the block will display a list of current entries an will also provide a form for entering new entries. I created this block using the guestbook block as a reference.

So everything is created correctly, db.xml, controller.php, view.php, edit.php, add.php, etc. There are two tables defined in the schema. One for the block and another for the block entries.

I add the block to a page. The view shows an empty list (there are no entries yet) and a form for entering new entries is displayed.

When I try to submit the form and display a new entry I am redirected to the following page which is completely blank.

/index.php?cID=1336&bID=1393&arHandle=Primary+Content&ccm_token=1292606108:665978ed9cdfe724d8c82ccb2d4580e3&btask=passthru&method=form_save_entry#policeBlotterForm


the PHP error log is empty and the log in C5 is also empty.

So I must be missing something. How can I determine what is going on here?

How can I debug this? Any ideas where this is breaking down?

 
Mnkras replied on at Permalink Reply
Mnkras
can you show us the controller function and the view,
itrio replied on at Permalink Reply
itrio
You can also check the Logs table in your database for error entries.