500 - Layout "blog" not found after submit

Questions and bug reports for current release of CKForms

500 - Layout "blog" not found after submit

Postby gv1 » Sun Aug 08, 2010 10:14 pm

I ran into a problem - maybe you folks know the solution. Version is 1.3.5
I have a simple form, which saves data in the DB and emails. It has captcha activated. When I enter wrong captcha code and click submit button, it results in '500 - Layout "blog" not found' error. I see that it redirects to 'articles/index.php?option=com_ckforms&view=ckforms&task=send&id=3'. Captcha has custom error text provided. I only see this text when captcha is left blank.
If captcha is entered correctly, no problem. It gets redirected to specified success page. If I remove captcha, it works OK as well. It seems that there is a bug in captcha validation, or I have made a stupid mistake, but I cannot see it.
Thanks for a hint or solution.
gv1
 
Posts: 2
Joined: Sun Aug 08, 2010 10:08 pm
Top

Re: 500 - Layout "blog" not found after submit

Postby gv1 » Sun Aug 15, 2010 11:12 am

I figured it out myself. I will post the solution - maybe it helps somebody else.
The problem is caused by the fact that ckforms do not expect sites to be run in SEF mode. My articles with forms have URL of <homedir>/articles/<articleid>. When wrong captcha is entered, ckforms redirect to '<homedir>/articles/index.php?option=com_ckforms&view=ckforms&task=send&id=3'. It is not correct, because 'articles' have to be skipped. After making a small fix in ckforms plugin code, it works fine.
I hope that the author reads this and saves trouble to other people who run in the same problem.
gv1
 
Posts: 2
Joined: Sun Aug 08, 2010 10:08 pm
Top

Re: 500 - Layout "blog" not found after submit

Postby DJBenz » Mon Nov 01, 2010 9:29 am

gv1 wrote:After making a small fix in ckforms plugin code, it works fine.


Hi gv1,

I'm getting exactly the same problem that you describe. Could you tell me exactly what the code change was that will fix the issue?

Thanks in advance. :)
DJBenz
 
Posts: 1
Joined: Mon Nov 01, 2010 9:27 am
Top

Re: 500 - Layout "blog" not found after submit

Postby md147 » Wed Nov 10, 2010 2:14 pm

Hi,

I have the same problem. Please, tell us about your fix.

Thanks
md147
 
Posts: 4
Joined: Wed Oct 28, 2009 6:59 pm
Top


Return to CKForms 1.3.x Support forum

Who is online

Users browsing this forum: No registered users and 2 guests