Jump to content

Can't open the Store homepage after install


Guest perry_just

Recommended Posts

Guest perry_just

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);

Link to comment
Share on other sites

Guest xtremexcorp

WHat is your server address, also is error reporting off, if it is just a warning that is being displayed you should be ok.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...