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.
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?
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?