Barnsta
Apr 14 2005, 02:11 PM
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
Barnsta
Apr 21 2005, 11:01 AM
help please!!
gazza
Apr 22 2005, 03:57 PM
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!
rdlean
May 18 2005, 11:50 PM
i am getting the same error... :/
murray@stoon.com
May 19 2005, 03:23 PM
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.
rdlean
May 19 2005, 10:21 PM
anybody able to confirm this?
Dave C
May 20 2005, 10:22 AM
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
sam999
May 29 2005, 03:23 PM
Just had exactly the same prolem. The above worked for me, well done that man!
Not sure if there are any problems ahead though.
gazza
May 29 2005, 09:29 PM
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.