开发者

sfDoctrineGuardPlugin + vjCommentPlugin

I'll have installed both plugins on my symfony project via official Readme, everything installed fine, without errors. But when I click on SendComment button, I have error:

Empty module and/or action after parsing the URL

But when I place cursor to the address bar and press enter, page refresh and I can see my page but without comments(link is right) (my database is empty too). Can you help my please? My submit form:

<?php if( vjComment::checkAccessToForm() ): ?>
  <form action="" method="post">
  <fieldset>
    <legend><?php echo __('Add new comment', array(), 'vjComment') ?></legend>
    <?php include_partial("开发者_如何转开发comment/form", array('form' => $form)) ?>
  </fieldset>
  </form>


Check your routing, and enable post method. This worked for me.

sf_method: [get, post]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜