Jump to content

Install problem


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...