InMotion Hosting Support Center

Block search working locally but not on server

Category: Prestashop 15

InMotionFans
n/a Points
Asked:
2015-06-13 8:58 am EST

Hits: 95
I am using Prestashop. The block search function is working with English characters but with Greek characters i get no results. As i can see in a query like this " ??????? " the url should be
http://www.autopower.gr/%CE%91%CE%BD%CE%B1%CE%B6%CE%AE%CF%84%CE%B7%CF%83%CE%B7-%CF%80%CF%81%CE%BF%CE%B9%CF%8C%CE%BD%CF%84%CE%BF%CF%82?controller=search&orderby=position&orderway=desc&search_query=%CF%80%CE%B1%CF%84%CE%B1%CE%BA%CE%B9%CE%B1&submit_search=

instead of this i get
http://www.autopower.gr/%CE%91%CE%BD%CE%B1%CE%B6%CE%AE%CF%84%CE%B7%CF%83%CE%B7-%CF%80%CF%81%CE%BF%CE%B9%CF%8C%CE%BD%CF%84%CE%BF%CF%82?orderby=position&orderway=desc

and no results

It works ok Locally with Xampp

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

scott
Staff
43,761 Points
2015-06-15 7:35 am EST
Hello,

Sorry to hear you are having issues with your PrestaShop search dealing with Greek letters. If the code works on the XAMPP locally but not on your VPS, then the issue may be environmental. You will want to check the PHP, Apache, and MySQL versions you are using on XAMPP and want the VPS to have the same setup. Otherwise it is useless to compare the two. I believe this is likely due to PHP version. Try and at least upgrade the PHP version on that cPanel to match the XAMPP and then see if that helps the situation.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!