// Check if the requested stylesheet is "acceptable" if(($style !== false) && (in_array($style, $accept))){ if ($style == 'default') {//loop through style cookies and delete them if(is_array($_COOKIE['sitestyle']) { foreach($_COOKIE['sitestyle'] as $style) { se...
hmmm, you describe a different response to the one I get when visiting your site: I only get this error if I select the default template if I am viewing the page with the default template already set. I can swap between with no problem. It seems to be a problem with deleting the cookie, what browser...
Hi all, I don't currently have access to a CMSMS installation, so this fix hasn't been tested at all. The problem seems to be that if the default style is selected when the page is already using the default style, you get the error described by louisk and others. So change this bit of code in switch...
CMSMS 1.0.2 I revisted a site that I've developed to fix a few minor problems, but I started getting errors when viewing the site: 'Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\xampp\htdocs\barrington-giftware.com\tmp\templates_c\Cataloger^%%04^04B^04BA0690%%module_db_tpl%3AC...
there is a hack to fix this problem (http://forum.cmsmadesimple.org/index.php/topic,9726.msg49609.html#msg49609). But I think this is down to an incorrect 'root_path', our site was working fine apart from the capcha image, changed the path, and the site still works fine and now captcha is also worki...
That hack will work but you should also change the similar code on line 597 of the same file. These 2 lines of code are designed to remove the beginning part of the variable $this->tempfolder (replace 'C:\xampplite\htdocs\' with '') then prepend what's left over (which should be the path to the web ...
The problem in our case is due to our hosting provider not reporting the correct document root: according to our host the document root for our site is '/homepages/20/2020202/', however it is actually '/kunden/homepages/20/2020202/' ('kunden' is German for customers). Changing our 'root_path', 'prev...
xampp CMSMS 1.0.2 Running 2 sites on same xampp server (using localhost domain). If I log in to one site as admin I get access to the other site as admin, even though the second site has a different admin username/password setup. I cannot login directly to second site using the first sites admin use...
Hi, Please detail the exact problem with safari. I haven't got a mac to test it on, but as it's largely server-side code the only thing that I can think of is the cookie or the way the css tags are written. If it's cookies maybe the cookie array isn't working on the mac? You'd have to store the sele...
Hi, I've made a few adjustments to the above code so that: You can apply more than one selected stylesheet (I use larger text plus an alternative background). You can use the CMSMS admin panel to administrate the stylesheets (the 'custom' directory is no longer needed, avoids path probs etc). There ...