Guest Posted April 14, 2005 Share Posted April 14, 2005 hi there just installed cc 3 but when i go to teh store itself i get this error message Warning: ereg_replace(): Invalid preceding regular expression in /home/sites/georgemiliotis.co.uk/public_html/orders/classes/xtpl.php on line 109 thanks for looking and helping Quote Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2005 Share Posted April 21, 2005 help please!! Quote Link to comment Share on other sites More sharing options...
gazza Posted April 22, 2005 Share Posted April 22, 2005 Warning: Invalid content of \{\} in /home/sites/site69/web/cc3/classes/xtpl.php on line 109 I have the above error in the same file! Quote Link to comment Share on other sites More sharing options...
Guest rdlean Posted May 18, 2005 Share Posted May 18, 2005 i am getting the same error... :/ Quote Link to comment Share on other sites More sharing options...
Guest Posted May 19, 2005 Share Posted May 19, 2005 I just installed it with the same message. I profess to know nothing about programing but ... Line 109 reads $copy=ereg_replace("\{$v\}","$var",$copy); I replaced it with the same as line 102 - it reads $copy=ereg_replace("\{".$v."\}","$var",$copy); It seem to works fine now - although remember this is a beta version. I still don't know what that has done to the functionality of the system. Someone with more knowledge I am hoping with confirm that this will work. Quote Link to comment Share on other sites More sharing options...
Guest rdlean Posted May 19, 2005 Share Posted May 19, 2005 anybody able to confirm this? :( Quote Link to comment Share on other sites More sharing options...
Guest Dave C Posted May 20, 2005 Share Posted May 20, 2005 I have done exactly the same and like you say it seems to be working fine. I will add some dummy products etc and take a general look when I actually have some spare time. Dave :( Quote Link to comment Share on other sites More sharing options...
Guest Posted May 29, 2005 Share Posted May 29, 2005 Just had exactly the same prolem. The above worked for me, well done that man! Not sure if there are any problems ahead though. Quote Link to comment Share on other sites More sharing options...
gazza Posted May 29, 2005 Share Posted May 29, 2005 I had this problem and did this: \classes\xtpl.php line 109 From $copy=ereg_replace("{$v}","$var",$copy); To $copy=str_replace("{".$v."}","$var",$copy); Fixed my problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.