04.07.2014 14:54
|
|
AzMandius
Name: Eugen
01.07.2014
Posts: 14
|
"Invalid Token" error for product revew comment
Hello,
I am using "JA Tiris" template ( http://www.joomlart.com/joomla/templates/ja-tiris).
I get an "Invalid Token" error when trying to post a comment / rating for products.
Example: http://websitedev.uni.me/index.php/magazin/product/view/7/120
Login with this to try post comment:
Username - Regular
Password - Regular
I followed this thread ( http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/11/6104.html?lang=en) advice, and posted the <?php echo JHtml::_('form.token');?> code into the components/com_jshopping/templates/ja_tiris/product/review.php but it did not solve the issue.
Am i missing something?
I have attached my review.php in case i applied the fix in a wrong way.
Thanks a lot.
review.zip
Joomla: 2.5.1 JoomShopping: 3.18.1 PHP: 5.4.18 MySQL: 5.5.33 Website Url: http://websitedev.uni.me
Letzte Änderung: 04.07.2014 14:55
|
|
04.07.2014 21:21
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25853
|
Aw: "Invalid Token" error for product revew comment
Add
<?php echo JHtml::_('form.token');?>
in form add_review - not form product
|
|
07.07.2014 17:01
|
|
AzMandius
Name: Eugen
01.07.2014
Posts: 14
|
Aw: "Invalid Token" error for product revew comment
Hello and thank you for reply!
I have tried also adding it to line 25, and to line 26 as separate code, all with no luck.
I just noticed that same "Invalid Token" issue happens at simple user registration.
To which file would i need to post the same code for registration issue?
Would you please be kind to let me know to which line do i need to post it?
I have attached it again.
Thanks again.
review1.zip
Letzte Änderung: 07.07.2014 17:49
|
|
07.07.2014 21:25
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25853
|
Aw: "Invalid Token" error for product revew comment
Add row after
<form
row 28
<?php echo JHtml::_('form.token');?>
|
|
08.07.2014 09:28
|
|
AzMandius
Name: Eugen
01.07.2014
Posts: 14
|
Aw: "Invalid Token" error for product revew comment
I did, but seems like i got no luck, did i do it wrong again?
Thanks a lot.
review2.zip
|
|
08.07.2014 09:50
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25853
|
Aw: "Invalid Token" error for product revew comment
row 28
<?php echo JHtml::_('form.token');?>
|
|
08.07.2014 10:31
|
|
AzMandius
Name: Eugen
01.07.2014
Posts: 14
|
Aw: "Invalid Token" error for product revew comment
Somehow i finally managed to fix this issue.
Thank you a lot for assistance.
Letzte Änderung: 08.07.2014 12:43
|
|
28.07.2014 19:03
|
|
C-Man
Name: Carlos
18.07.2013
Posts: 15
|
Aw: "Invalid Token" error for product revew comment
Hello.
I'm having the same problem.
I've tried adding <?php echo JHtml::_('form.token');?> to line 28, and it still shows 'INVALID TOKEN' message.
I'm sending my review.php file so that you can see if there is something wrong.
Joomla: Joomla! 3.1.5 Stable JoomShopping: Version 4.4.0 PHP: 5.3.10-1ubuntu3.13 MySQL: 5.5.38-0ubuntu0.12.04.1 Website Url: www.cantinhodossonhos.pt
|
|
28.07.2014 19:29
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Posts: 25853
|
|
|
08.08.2014 11:51
|
|
C-Man
Name: Carlos
18.07.2013
Posts: 15
|
Aw: "Invalid Token" error for product revew comment
I've done that already and there are no changes to the file. The file is exactly the same. I've even replaced the file to see if there was something wrong, but the issue is still there.
|
|