Search the Community
Showing results for tags 'pages'.
-
Warning: CubeCart 5.2.8 adds the ability to have Smarty statements in the HomePage Document. If your HomePage Document contains CSS or javascript statements, those statements may be using braces that do not have whitespace next to them. For example: h2.bold {font-weight:bold;} if (expression) {do_some_function;} Smarty will claim for itself and attempt to parse any content contained in braces that does not have whitespace between the brace and the contents. There are two fixes - choose one: Remove that ability Manually work through the HomePage Document (admin, Documents, any document marked as Homepage) making the changes to the code in Source mode (hopefully, the rich text editor will not try to compress the HTML so that the whitespaces are removed). In the file /classes/cubecart.class.php, near line 86, find: 'content' => $GLOBALS['smarty']->fetch('string:'.$home['doc_content']) Make it look like: 'content' => $home['doc_content'] When you have CubeCart open a document for editing, the Content tab has a rich text editor. The upper-left corner has a "Source" button. Click it. Viewing the raw HTML of the document, work your way through looking for braces -- intentional or not (that is, braces grouping CSS property statements or simply using {braces} in paragraphs). These braces must be fixed. h2.bold { font-weight:bold; } Simply using {literal}{braces}{/literal} in paragraphs. or Simply using { braces } in paragraphs.
-
I have decided to give the CC5 lite a run for its money. I was using CC3 up now. I have done a complete fresh install of both CC5 and database required. That all worked out fine and dandy. Been working on the setup side and come accross issues where I have adjusted the privacy page of what its content was and removed the about us page for the moment. After doing these couple of adjustments I decided to preview the live site and to my amazement I get an error page that comes up only. I tried all the other links an get the same thing. I have thought it might of been the Ioncube folder causing me grief. I renamed it temporarily to test if thaat was the problem. It did not seem to matter. If need to view the site to see what is happening the web address is www.nabbsws.com. I am still in setup mode so all is not complete but I need to resolve this page not showing first so I can continue. Thanks