[1.4.0]Writing review bug
21 posts
• Page 1 of 2 • 1, 2
[1.4.0]Writing review bug
Hey there!
I think thats a bug at least I can't find a way to make it work.
Easily it's the following - just go to a product - go into the details and click the tab for review.
Write a review.
For me a message comes up :
Error: Review Name must be greater than 3 and less than 25 characters!
Even if the name has more then 3 characters this comes up and can't post a review.
Review from backend works fine.
cheers
sam
I think thats a bug at least I can't find a way to make it work.
Easily it's the following - just go to a product - go into the details and click the tab for review.
Write a review.
For me a message comes up :
Error: Review Name must be greater than 3 and less than 25 characters!
Even if the name has more then 3 characters this comes up and can't post a review.
Review from backend works fine.
cheers
sam
Last edited by i2Paq on Tue Mar 02, 2010 12:43 pm, edited 1 time in total.
Reason: Title fix
Reason: Title fix
- SamLar
- Posts: 42
- Joined: Tue Dec 22, 2009 6:20 am
Re: Writing review bug / v1.4
Are you using special characters?
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
-

rph - Posts: 2837
- Joined: Thu Jan 07, 2010 9:05 pm
- Location: Lincoln, Nebraska
Re: [1.4.0]Writing review bug
ahem... no. no special charachters.
If I just type lets say "aaaaaaaa" or "55555555" or a acombination or whatever.... I always get the same error.
Error: Review Name must be greater than 3 and less than 25 characters!
If I just type lets say "aaaaaaaa" or "55555555" or a acombination or whatever.... I always get the same error.
Error: Review Name must be greater than 3 and less than 25 characters!
- SamLar
- Posts: 42
- Joined: Tue Dec 22, 2009 6:20 am
Re: [1.4.0]Writing review bug
works for me
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
Project Owner & Developer.
OpenCart commercial support now available!
-

Daniel - Administrator
- Posts: 5185
- Joined: Fri Nov 03, 2006 10:57 am
Re: [1.4.0]Writing review bug
Hi Daniel,
I tried it n different browsers - even on mac on an other machine with always the same result.
Any suggestions? Maybee some option in the backend? Maybee a server setting?
No clue here
I tried it n different browsers - even on mac on an other machine with always the same result.
Any suggestions? Maybee some option in the backend? Maybee a server setting?
No clue here
- SamLar
- Posts: 42
- Joined: Tue Dec 22, 2009 6:20 am
Re: [1.4.0]Writing review bug
maybe you have a space in your langUAGE files.
post a link to your site.
post a link to your site.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
Project Owner & Developer.
OpenCart commercial support now available!
-

Daniel - Administrator
- Posts: 5185
- Joined: Fri Nov 03, 2006 10:57 am
Re: [1.4.0]Writing review bug
Hi Daniel,
a space... don't know mate.
This is the link to a product. Just try to write a review:
http://bsbooks.juuceclients.com/index.php?route=product/product&product_id=116
a space... don't know mate.
This is the link to a product. Just try to write a review:
http://bsbooks.juuceclients.com/index.php?route=product/product&product_id=116
- SamLar
- Posts: 42
- Joined: Tue Dec 22, 2009 6:20 am
Re: [1.4.0]Writing review bug
SamLar
I have followed your link and see what you mean. I got the same error report.
However - the review option working fine on my v1.4.0 store so don't think this is a genuine bug. Sorry not to be more helpful, but it seems like something at your end!
I have followed your link and see what you mean. I got the same error report.
However - the review option working fine on my v1.4.0 store so don't think this is a genuine bug. Sorry not to be more helpful, but it seems like something at your end!
Genuine, Honest Opencart Support @ http://webvetservices.com
-

webvet - Posts: 260
- Joined: Wed May 13, 2009 6:04 pm
- Location: Shropshire, UK
Re: [1.4.0]Writing review bug
possibly the Cufon script.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
Project Owner & Developer.
OpenCart commercial support now available!
-

Daniel - Administrator
- Posts: 5185
- Joined: Fri Nov 03, 2006 10:57 am
Re: [1.4.0]Writing review bug
that's not it.
I deactivated the cufon script - negative.
I thought to try my luck by reiinstalling partially files of opencart as languages and so on. As I see you released 1.4.2 I'm using 1.4.1. Can I just replace files or not?
cheers
I deactivated the cufon script - negative.
I thought to try my luck by reiinstalling partially files of opencart as languages and so on. As I see you released 1.4.2 I'm using 1.4.1. Can I just replace files or not?
cheers
- SamLar
- Posts: 42
- Joined: Tue Dec 22, 2009 6:20 am
Re: [1.4.0]Writing review bug
you can.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
Project Owner & Developer.
OpenCart commercial support now available!
-

Daniel - Administrator
- Posts: 5185
- Joined: Fri Nov 03, 2006 10:57 am
Re: [1.4.0]Writing review bug
I have the latest OC, Problem: When a review is posted it says "Error: Review Name must be between 3 and 25 characters!" even though there are normal characters in the name.
I see other people are having the problem but no solutions (that I can find) does anyone know the fix??
(ps - OC has to be the best shopping cart system I have seen from customer AND admin, keep up the great work guys).
I see other people are having the problem but no solutions (that I can find) does anyone know the fix??
(ps - OC has to be the best shopping cart system I have seen from customer AND admin, keep up the great work guys).
- dlange
- Posts: 2
- Joined: Mon Apr 04, 2011 9:09 pm
Re: [1.4.0]Writing review bug
i have the same problem, i dont know how to fix it, if anyone can help please do!!
- fatpora
- Posts: 6
- Joined: Wed Dec 15, 2010 10:46 am
Re: [1.4.0]Writing review bug
I'm having no problems with a clean 1.4.9.4 and the default theme.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
[How to] BTW + Verzend & betaalmethodes.
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
FREE manuals: ShowMe Guides OpenCart, Opencart Check List and Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
[How to] BTW + Verzend & betaalmethodes.
-

i2Paq - Global Moderator
- Posts: 9858
- Joined: Mon Nov 09, 2009 11:00 am
- Location: Winkel - The Netherlands
Re: [1.4.0]Writing review bug
Has this problem been solved? I'm having the same problem for two of my opencart based websites.
- ameliaa
- Posts: 25
- Joined: Fri Jan 29, 2010 10:31 am
Re: [1.4.0]Writing review bug
dlange wrote:I have the latest OC, Problem: When a review is posted it says "Error: Review Name must be between 3 and 25 characters!" even though there are normal characters in the name.
I see other people are having the problem but no solutions (that I can find) does anyone know the fix??
(ps - OC has to be the best shopping cart system I have seen from customer AND admin, keep up the great work guys).
Having the same problem - seems to be going around. I am using
Version 1.4.9.3
of the sweetest little cart I know...
- pb3131
- Posts: 8
- Joined: Mon Mar 21, 2011 8:36 pm
Re: [1.4.0]Writing review bug
I know this is a really old post but I came across the same problem today and found the answer. When I debugged the code I found that the JSON was trying to send an empty name field even when the field had something entered into it. It turned out that the newsletter mod which I had installed was also making use of an input field with the same name, and obviously this was always empty when trying to send a review, hence the error message.
The simple fix was to replace the following in /catalog/view/theme/default/template/product/product.tpl:
with this:
and then in the JSON part at the end of the same file, to replace:
with this:
Thus changing the field names used from name to revname. This allowed both the reviews and newsletter mod to coexist happily together. Hope that helps someone else in the same situation.
Thanks,
Kman.
The simple fix was to replace the following in /catalog/view/theme/default/template/product/product.tpl:
- Code: Select all
<input type="text" name="name" value="" />
with this:
- Code: Select all
<input type="text" name="revname" value="" />
and then in the JSON part at the end of the same file, to replace:
- Code: Select all
data: 'name=' + encodeURIComponent($('input[name=\'name\']').val()) + '&text=' + encodeURIComponent($('textarea[name=\'text\']').val()) + '&rating=' + encodeURIComponent($('input[name=\'rating\']:checked').val() ? $('input[name=\'rating\']:checked').val() : '') + '&captcha=' + encodeURIComponent($('input[name=\'captcha\']').val()),
with this:
- Code: Select all
data: 'name=' + encodeURIComponent($('input[name=\'revname\']').val()) + '&text=' + encodeURIComponent($('textarea[name=\'text\']').val()) + '&rating=' + encodeURIComponent($('input[name=\'rating\']:checked').val() ? $('input[name=\'rating\']:checked').val() : '') + '&captcha=' + encodeURIComponent($('input[name=\'captcha\']').val()),
Thus changing the field names used from name to revname. This allowed both the reviews and newsletter mod to coexist happily together. Hope that helps someone else in the same situation.
Thanks,
Kman.
- thekman
- Posts: 1
- Joined: Fri Oct 07, 2011 10:06 am
Re: [1.4.0]Writing review bug
just added a fix on the svn.
OpenCart®
Project Owner & Developer.
OpenCart commercial support now available!
Project Owner & Developer.
OpenCart commercial support now available!
-

Daniel - Administrator
- Posts: 5185
- Joined: Fri Nov 03, 2006 10:57 am
Re: [1.4.0]Writing review bug
Sorry for bring an old thread up but I was experiencing this error, thank you so much for the fix, it worked perfectly 

- mattwhi
- Posts: 2
- Joined: Fri Jun 22, 2012 8:52 am
Re: [1.4.0]Writing review bug
thekman, thanks for posting your fix. I had the same problem with a OC 1.5.3.1
I replaced the code using Notepad, uploaded, and it fixed it perfectly
I replaced the code using Notepad, uploaded, and it fixed it perfectly

- ocstream
- Posts: 3
- Joined: Sun Jun 24, 2012 1:14 pm
21 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 17 guests













