Note that there are some explanatory texts on larger screens.

plurals
  1. POWarning: preg_replace(): Compilation failed: nothing to repeat at offset 5
    primarykey
    data
    text
    <p>As i mentioned in title i am getting the error of *Warning: preg_replace(): Compilation failed:* which is really weird for me; </p> <p>actually on the VPS of godaddy i moved my site; first i got an error of GD library; so i installed GD library by using easy apache from WHM, then now when i m trying to run my website i am getting this warning, <code>Warning: preg_replace(): Compilation failed: nothing to repeat at offset 5</code> on this page <strong>techchef.org/development/module/newsfeed/LoadDataFromFeed.php</strong></p> <p>however the same script runs on my another server which is <strong>techchef.org/development/module/newsfeed/LoadDataFromFeed.php</strong> and it works fine </p> <p>here is the script i am not sure if it is because of apache settings, if yes then what actually i missed.</p> <p>Below is the php script for which it mentioned the error</p> <pre><code>$str= strtolower($str); $str= preg_replace("/(à|á|?|?|ã|â|?|?|?|?|?|a|?|?|?|?|?)/","a",$str); $str= preg_replace("/(è|é|?|?|?|ê|??|?|?|?|?)/","e",$str); $str= preg_replace("/(ì|í|?|?|i)/","i",$str); $str= preg_replace("/(ò|ó|??|??|õ|ô|?|?|?|?|?|o|??|?|?|?|?)/","o",$str); $str= preg_replace("/(ù|ú|?|?|u|u|?|?|?|?|?)/","u",$str); $str= preg_replace("/(?|ý|?|?|?)/","y",$str); $str= preg_replace("/(d)/","d",$str); $str= preg_replace("/(!|@|%|\^|\*|\(|\)|\+|\=|\&lt;|\&gt;|\?|\/|,|\.|\:|\;|\'| |\"|\&amp;|\#|\[|\]|~|$|_)/","-",$str); $str= preg_replace("/(-+-)/","-",$str); $str= preg_replace("/(^\-+|\-+$)/","",$str); $str= preg_replace("/(-)/"," ",$str); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload