hello..
im using oc 1.5.1.1 and have a problem... when i add a checkbox option i can see that the option added to the shopping cart but when i try to confirm the order its not leting me to go on ...
the second problem is that in the shopping cart i see the output text of the options with Questions marks and a half of the text .. i using an hebrew lang...
i uploded a pic and and point to the problem with an arrow..
please help me
im using oc 1.5.1.1 and have a problem... when i add a checkbox option i can see that the option added to the shopping cart but when i try to confirm the order its not leting me to go on ...
the second problem is that in the shopping cart i see the output text of the options with Questions marks and a half of the text .. i using an hebrew lang...
i uploded a pic and and point to the problem with an arrow..
please help me
Attachments
wpstore_1314181574671.png (2.95 KiB) Viewed 2239 times
Does it work with the default theme and English language?
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
problem is due to substr() function shortening option values names etc
Because of hebrew language, php interpretter is getting the count incorrect of where to shorten the text and is cutting a character in half. Therefore rendering a '?'
Answer is to change substr() to mb_substr()
Problem with this is not all servers have the mbstring function installed.
This is a bug, but needs to be posted to the bug forum/topic
Because of hebrew language, php interpretter is getting the count incorrect of where to shorten the text and is cutting a character in half. Therefore rendering a '?'
Answer is to change substr() to mb_substr()
Problem with this is not all servers have the mbstring function installed.
This is a bug, but needs to be posted to the bug forum/topic
can u help me please im stuck...??uksitebuilder wrote:problem is due to substr() function shortening option values names etc
Because of hebrew language, php interpretter is getting the count incorrect of where to shorten the text and is cutting a character in half. Therefore rendering a '?'
Answer is to change substr() to mb_substr()
Problem with this is not all servers have the mbstring function installed.
This is a bug, but needs to be posted to the bug forum/topic
There is no easy answer.
1. It is a bug in OC core code
2. to fix would require all substr() functions being replaced by mb_substr() function
This will not happen / be fixed that way because not every server has mbstring() functions/module installed with PHP by default.
I'm sorry but I do not know an easy fix for this.
Please post in the 1.5.1.1 bug topic where Daniel will see.
1. It is a bug in OC core code
2. to fix would require all substr() functions being replaced by mb_substr() function
This will not happen / be fixed that way because not every server has mbstring() functions/module installed with PHP by default.
I'm sorry but I do not know an easy fix for this.
Please post in the 1.5.1.1 bug topic where Daniel will see.
well mbstring is very common on servers these days, and many programs have it as a requirement, so I don't know that it would be that big of deal to just have opencart require it.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
I know Daniel added it to 1.5.1 for catalog/model/catalog/product.php
But then people were posting that it was causing errors (because it not being installed)
So he changed it for 1.5.1.1
For some reason during the three or four uploads that took place when 1.5.1.1 was released, it crept back in due to some problems with Google SVN.
I'm pretty sure it will be gone again in the next update.
But then people were posting that it was causing errors (because it not being installed)
So he changed it for 1.5.1.1
For some reason during the three or four uploads that took place when 1.5.1.1 was released, it crept back in due to some problems with Google SVN.
I'm pretty sure it will be gone again in the next update.
well let me expand my statement I don't think it would be a problem if done correctly. If you add it in the code you also need to add it to the requirements, and to the install checks.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
well yeah I was just stating my opinion which very often is not the same as Daniel's.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
Who is online
Users browsing this forum: Amazon [Bot] and 69 guests