Closed (fixed)
Project:
Views Slideshow
Version:
7.x-3.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 May 2012 at 19:52 UTC
Updated:
17 Sep 2013 at 02:13 UTC
The error appeared when we moved the site from one hosting to another. What are the settings affecting this and what can be done?
Comments
Comment #1
int_ua commentedDeleting "e" solved it.
Comment #2
adellefrank commentedIf the /e is not crucial, can it be removed from lines 73, 76, 187, and 275 of views_slideshow.theme.inc ? If I knew how to submit a patch, I would do so. :(
Comment #3
mjm693 commentedThe e modifier is a potential security risk: http://drupal.org/node/750148
Can pre_replace_callback be used in this case?
Comment #4
int_ua commentedComment #5
int_ua commentedTurns out it's crucial. I've just had my customised slideshow broken after moving from localhost to hosting provider.
Comment #6
yan commentedI think the provider has to somehow allow the /e parameter, I had the same problem in core:
#1919484: SUHOSIN - Use of preg_replace() with /e modifier is forbidden by configuration in unicode.inc (line 349)
Comment #7
adellefrank commentedpeter bowey offered a patch that uses the safer preg_replace_callback() at: http://drupal.org/node/1872616
Comment #8
xiukun.zhou commentedThis problem has been fixed, @see #1872616: PHP 5.4.x: "preg_replace() /e modifier is deprecated, use preg_replace_callback()"