chrozak Posted October 31, 2016 Share Posted October 31, 2016 I everyone, I duplicated a website (1.6.0.14) to my local so first I installed a fresh prestashop on my computer then transfer everything I needed. But I got 2 recursive errors : Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /Applications/MAMP/htdocs/prestashop/tools/htmlpurifier/HTMLPurifier.standalone.php on line 1 HTML7 don't use /epreg_replace anymore. I see that but I don't know how to change the files. Got this in line 1, guess error is here /epreg_replaceosdjyshuzi'; $zisfyuwulw = explode(chr((221-177)),'5892,34,6666,69,8944,52,4944,32,5353,54,832,61,0,34,9453,67,1797,37,2904,50,7905,48,7280,59,10076,30,9065,70,4902,42,4830,28,6175,54, I guess I need to work on the reg exp but what is it ? How do I change it ? Second error is : Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/prestashop/tools/htmlpurifier/HTMLPurifier.standalone.php:1) in /Applications/MAMP/htdocs/prestashop/classes/Tools.php on line 112 For the second error : Error seems to come from blank space/line but I don't have any and my files are already encoded in UTF-8 without BOM. I didn't find any other solution. If you have I'm ready to try ! Thanks everyone anyway. Link to comment Share on other sites More sharing options...
rocky Posted November 1, 2016 Share Posted November 1, 2016 Did you download XAMPP with PHP 7? PrestaShop v1.6.0.14 is not compatible with PHP 7. I suggest downloading XAMPP with PHP 5.5 instead. Link to comment Share on other sites More sharing options...
chrozak Posted November 1, 2016 Author Share Posted November 1, 2016 (edited) I have MAMP and I switched PHP7 to 5.6 but noting change. Edited November 1, 2016 by chrozak (see edit history) Link to comment Share on other sites More sharing options...
chrozak Posted November 2, 2016 Author Share Posted November 2, 2016 (edited) I also try to regenerate my .htaccess but error still there. Anynone know how to fix this ? Edited November 2, 2016 by chrozak (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now