Page 1 of 1
templates and stylesheets don't communicate [solved]
Posted: Fri Apr 12, 2013 7:04 pm
by babel
I've tried several versions of cmsms, but no result. If I make a stylesheet and an template there seems to be no communication between them.
This url
http://www.godt-art.nl/index.php?page=homecms shows you that even the default wrong. I renamed the home in homecms, because I want to use home for the website I'm making.
Please tell what's wrong. It's giving for more than a week a nightmare.
Am I forgetting something. To be honest, I never had thes problems before.
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 7:43 pm
by Rolf
When going to your stylesheet I get:
<__html>
<HEAD>
<TITLE>403 Forbidden</TITLE>
</HEAD>
</__body>
<H1>Forbidden</H1>
You do not have permission to access this document.
<P>
<HR>
<ADDRESS>
Web Server at godt-art.nl
</ADDRESS>
<__body>
</__html>
<!--
- Unfortunately, Microsoft has added a clever new
- "feature" to Internet Explorer. If the text of
- an error's message is "too small", specifically
- less than 512 bytes, Internet Explorer returns
- its own error message. You can turn that off,
- but it's pretty tricky to find switch called
- "smart error messages". That means, of course,
- that short error messages are censored by default.
- IIS always returns error messages that are long
- enough to make Internet Explorer happy. The
- workaround is pretty simple: pad the error
- message with a big comment like this to push it
- over the five hundred and twelve bytes minimum.
- Of course, that's exactly what you're reading
- right now.
-->
You have used this host before?
Grtz. Rolf
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 7:49 pm
by babel
Thanks Rolf, but the issue is that all browsers have the same problem with cms made simple. I don't quiet understand your answer neither. But I believe it's nothing to do with IE.
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 8:09 pm
by Rolf
It is a problem at your webhost. Looks like the tmp folder cant be accessed. There is an config options to change it. Can remember by head what it is...
What is your system information? You can find it in the admin...
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 8:18 pm
by babel
If I don't use {cms_stylesheet} but link direct tot the stylesheet (opmaak in my case), everything works as it should. Strange. If this is the solution, i'll use it.
Rolf I uploaded .htacces in the temp folder and get this message after that:
/var/www/vhosts/godt-art.nl/httpdocs/lib/smarty/Smarty.class.php:1593 - trigger_error
/var/www/vhosts/godt-art.nl/httpdocs/lib/smarty/Smarty.class.php:1415 - _fetch_resource_info
/var/www/vhosts/godt-art.nl/httpdocs/lib/smarty/Smarty.class.php:1261 - _compile_resource
/var/www/vhosts/godt-art.nl/httpdocs/lib/classes/module_support/modtemplates.inc.php:242 - fetch
/var/www/vhosts/godt-art.nl/httpdocs/lib/classes/class.CMSModule.php:2438 - cms_module_ProcessTemplateFromDatabase
/var/www/vhosts/godt-art.nl/httpdocs/modules/MenuManager/action.default.php:253 - ProcessTemplateFromDatabase
/var/www/vhosts/godt-art.nl/httpdocs/lib/classes/class.CMSModule.php:1583 - include
/var/www/vhosts/godt-art.nl/httpdocs/lib/classes/class.CMSModule.php:1628 - DoAction
/var/www/vhosts/godt-art.nl/httpdocs/lib/module.functions.php:122 - DoActionBase
/var/www/vhosts/godt-art.nl/httpdocs/plugins/function.menu.php:22 - cms_module_plugin
/var/www/vhosts/godt-art.nl/httpdocs/tmp/templates_c/%%71^715^715CF9A9%%tpl_body%3A26.php:16 - smarty_cms_function_menu
/var/www/vhosts/godt-art.nl/httpdocs/lib/smarty/Smarty.class.php:1263 - include
/var/www/vhosts/godt-art.nl/httpdocs/index.php:269 - fetch
string(70) "Smarty error: unable to read resource: "module_db_tpl:MenuManager;gap""
Does this help for the solution?
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 8:21 pm
by babel
Sorry, has nothing to do with htacces. As you see
http://www.godt-art.nl/index.php?page=home.
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 8:35 pm
by babel
I'm going to delete all of cms made simple and reinstall the most recent version and use the trick with linking to the stylesheet. See if that makes the site. After more than a week of encouting this trouble, it's enough.
If someone comes with the answer I use {cms_stylesheet}
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 8:58 pm
by Rolf
You didnt answer my questions...
Re: templates and stylesheets don't communicate with each ot
Posted: Fri Apr 12, 2013 9:03 pm
by babel
Sorry Rolf for not answering your questions. It's my first time with this host. Maybe you is the problem with them.
What system information do you want?
Re: templates and stylesheets don't communicate with each ot
Posted: Sat Apr 13, 2013 5:57 am
by staartmees
{stylesheet} doesn't work with the 1.11.x versions of cmsms. You can find the system information in the backend under website management. Also check after upload the permissions of the tmp-folder with your ftp-program.
Re: templates and stylesheets don't communicate with each ot
Posted: Sun Apr 14, 2013 10:01 am
by babel
Thanks for all the effort. I've solved the problem by direct linking to the stylesheets. Works fine.
Re: templates and stylesheets don't communicate with each ot
Posted: Tue Apr 16, 2013 9:21 pm
by Dr.CSS
Look in system info page for any yellow ! or red X also if you would have put the system info in the first post it would help us help you...