Strange issues...

filoaman

Avatar: filoaman

2011-11-08 13:51

First of all please bear in mind that in this project i use a very old version (1.4) this is a small eshop selling Christmas cards and i always promise to myself that i will update, but since this site works almost 2 months every year i never spend the time necessary to do it...

This summer i change my hosting company and i move the files from one server to another. I do it using the classic download/upload process since the old hosting company use Plesk but the new CPanel.

Now the problem is that every time a customer fill the data on order form i don't receive any data! I get the order, i can see the order on the admin CP but when i open the order to see the customer data I get blank fields although i get the order itself (product code, quantity etc.).
The problem is that my site is for the Greek market and the customers use Greek characters to fill the data. When i try to fill the data fields using plain Latin characters, everything works fine!
When i mix Latin and Greek characters i get everything after the first Latin character! for example: if i try to fill the "name" field and the first character is Latin and all the rest Greeks i receive the data 100%, but if i use a few Greek characters then one Latin and then again Greek characters i get only the characters after the first Latin!

Any ideas? In a few days i have to be ready for the first orders so please help. me.

» Quick.Cart v1.x

Deivids

Avatar: Deivids

2011-11-08 15:39

Your version of the script is pretty old I guess. And this version doesn't support full UTF-8 encoding as I know. I suggest to try another hosting for testing purposes. Be sure you chmoded all the files and directories correctly.

filoaman

Avatar: filoaman

2011-11-08 16:47

The script worked until now without problem, mt problems begin when i change hosting company.
Double check the chmod issue but it is ok (i have full admin capabilities - add products using UTF-8 characters, receiving orders etc)

What part of Open Cart script is for sending the order form and what part of the script is for reading on screen the order via admin CPanel ??

Please answer in order to re-upload this sub-scripts

Makaron

Avatar: Makaron

2011-11-09 16:02

Maybe You can try go download new version of script and look at function change2latin() in libraries/Trash.php and prepare similar for Your script containing Greek characters. After that You can use this function before saving data into database file.

I helped? Like it: www.facebook.com/makwebpl

filoaman

Avatar: filoaman

2011-11-10 10:44

@Makaron
I get a new Trash.php file script and inspect the function you mention.
I don't think that i can use this, since th function you mention is for replacing selected characters.
In my case i can't receive the Greek characters at all (or see them on CP orders admin).
I receive latin characters or every character (even greeks) typed after latin characters (or sympols, or nmbers) but i can't receive only greek characters.

Makaron

Avatar: Makaron

2011-11-10 16:06

You should add Greek characters into this function and in second array You should replace them by latin equivalents.

I helped? Like it: www.facebook.com/makwebpl

filoaman

Avatar: filoaman

2011-11-11 11:51

In this case i will receive only latin characters insteand if greek, what i want is the greek characters not latin characters.

baron_jon

Avatar: baron_jon

2011-11-11 14:38

try to add the same Greek characters instead of latins too

Back to top
about us | contact