Guest perry_just Posted June 20, 2005 Share Posted June 20, 2005 Thanks to QAZZA Installed CubeCart and had no problems until I tried to view the Store from the CubeCart control Panel or by manually typing the URL in the Browser. Everytime I tried to open the Store I would get this WARNING. Warning: ereg_replace(): Invalid preceding regular expression in /var/www/html/cubecart/upload/classes/xtpl.php on line 109 I searched the installation and upgrade section and found someone who also had a problem on line 109 but a different warning and tried QAZZA's fix and it worked for me too. Thanks Qazza Line 109 read $copy=ereg_replace("\{$v\}","$var",$copy); QAZZA Fix From $copy=ereg_replace("{$v}","$var",$copy); To $copy=str_replace("{".$v."}","$var",$copy); Quote Link to comment Share on other sites More sharing options...
Guest xtremexcorp Posted June 20, 2005 Share Posted June 20, 2005 WHat is your server address, also is error reporting off, if it is just a warning that is being displayed you should be ok. 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.