edgetas Posted March 6, 2014 Share Posted March 6, 2014 Hi, Recently went live with my cubecart store after testing it for months with no problems. Without changing anything, it now displays absolutely nothing - blank page - when typing in the home URL. I can access other parts/pages of the site and they appear fine. This is very frustrating just days after launch. Base URL: http://ontas.net/storetgb One of the pages visible: http://ontas.net/storetgb/product-info.html Contents of index.php on site root:<?php require dirname(__FILE__).DIRECTORY_SEPARATOR.'ini.inc.php'; define('CC_IN_ADMIN', false); header('X-Frame-Options: SAME-ORIGIN'); // do not allow iframes global $config_default; include CC_ROOT_DIR.CC_DS.'controllers'.CC_DS.'controller.master.inc.php'; Admin panel is working fine, as does the rest of the site appear to. "Document" for home page is checked and has the same contents as previously worked. Any ideas? Any more information required please ask. Quote Link to comment Share on other sites More sharing options...
edgetas Posted March 6, 2014 Author Share Posted March 6, 2014 Wierd, tracked it down the the phone number!! When putting a phone number on the homepage it automatically inserts skype code. If you put any formatting on the number (bold/size) the page fails!!!tasgingerbread.com Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 6, 2014 Share Posted March 6, 2014 I see the skype stuff: <div class="skype_c2c_menu_container" id="skype_c2c_menu_container" ... > My question-- where is the javascript that powers the onmouseout and onmouseover functions. If that is supposed to be added to the template somewhere, be advised that you really should surround that additional code with: {literal} javascript stuff {/literal} Quote Link to comment Share on other sites More sharing options...
edgetas Posted March 7, 2014 Author Share Posted March 7, 2014 The additional code for skype is added automatically (by CubeCart?) whenever I insert the phone number - using the dashboard - whether I use brackets around (03) or not. If I then go into the source code and delete the skype code, when I save the document, the code gets automatically inserted again. When ever I add formatting (bold/size) to the phone number the page no longer appears. It seems I either have to have NO phone number on the home page, or an unformatted phone number on the homepage for it to work.I might be able to get around it by downloading the file (FTP) and editing it in Dreamweaver instead of through the CC admin interface. Bit of a pain when ever I want to change it. I don't have time right now to try it, it's working but I'll look into it further next week. Thanks for your reply bsmither 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.