开发者

sfDoctrineGuardPlugin + vjCommentPlugin

开发者 https://www.devze.com 2023-01-16 10:36 出处:网络
I\'ll have installed both plugins on my symfony project via official Readme, everything installed fine, without errors.

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

精彩评论

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

关注公众号