I've almost got everything with yvComment working, except for an unusual error. Posting comments works just fine. However, I get a "500 - layout 'blog' not found' error if I do any of the following:
1. Post without a name
2. Post without a subject
In all cases, that you mentioned, Joomla! has to open com_yvcomment component with 'comment' view (called sometimes 'layout'...).
As I see POST request, it contains valid 'option' and 'view' variables, but Joomla! fails to get them somehow...
This problem was reported in this thread already some times (please see...), and in no case I was given admin access to the (copy of) the site, so I was not able to find the cause and to help (people, who reported the problem, simply didn't answer me...)
I have given you administrative access to rivermanmedia.com. You should have gotten an email at your yuirvolkov.com address. Please let me know if you didn't get the email.
Thank you so much for helping me (and others!) solve this issue.
Thank you, Jacob, for your help.
I think, that I found the simplest solution to the problem, and now patched yvCommentComponent is installed on your site.
BTW, the fix appeared to be very easy:
in every 'template file' ('components/com_yvcomment/views/.../tmpl/*.php'),
in every <form> element, that has the line:
<input type='hidden' name='option' value='com_yvcomment' />
1. delete that line (it's not needed any more...)
2. replace action attribute of the 'form' element (
action='<?php echo JURI::base();?>'
action='<?php echo JRoute::_('index.php?option=com_yvcomment');?>'
This fix solves not only this "500 - layout 'blog' not found" error,
but, I think "404 page not found" error, that appeared in some configurations.
The cause of these errors was simple: I didn't know 'proper' way to do things
...and I don't know it now (it's not documented...): it simply works :-)
Patched yvCommentComponent1.19.003.002.zip file is published in JoomlaCode
To apply the fix, you have to uninstall old Component only and install new one.
No changes in plugin|module and their settings are needed.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html