Jump to content

PS1.5.6.2 - Problem with accented chars in URLs


Recommended Posts

Hello PS forum!

Recently (after an update to PHP 5.4 from my hosting) I started getting those errors when I have accented characters in URLs ON

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 24 in /home/blablabla/public_html/classes/Tools.php on line 1079

What could cause this.

 

As result I get 'blank' manufacturers url not like "../1-adidas" but "../1-".

 

When I disable this feature I don't have any errors (obviously because it don't use this function).

 

What can I do because I need cyrillic letters in URLs. The admin says the server is properly configured (obviously not because before the update I did not have this issue, but he doesn't know what to fix).

 

Related topic - http://www.prestashop.com/forums/topic/320526-error-when-upgrading-to-php-53-or-54/?do=findComment&comment=1775760

 

Specs:

Server information

Server information: Linux #1 SMP Sat Jun 21 00:15:09 MSK 2014 x86_64

Server software version: Apache

PHP version: 5.4.31

Memory limit: 128M

Max execution time: 180

Database information

MySQL version: 5.5.37-cll

MySQL engine: InnoDB

Tables prefix: ps_

Store information

PrestaShop version: 1.5.6.2

Edited by the.rampage.rado (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...