Page 2 of 2

Re: Template

Posted: Mon Jan 13, 2014 3:56 pm
by Jo Morg
johnfletchertt wrote: I get the error page when viewing it. The one that says

Code: Select all

Sorry, it looks like something went wrong and an error has occurred. 
Don’t worry, it can happen to any of us.
Are there set steps to trouble shooting this kind of problem. It's annoying cause all I actually did is copy and paste. (...)Where do I start?
The message above should have a few lines more with some clues to the possible source of the error provided that you are using the same browser on the same machine to view both the page and the backend of the site, and that you are actually logged in as an administrator.
If that doesn't help there is a troubleshooting tips page on the docs site of CMSMS. There you can find more on how to go about troubleshooting.
HTH

Re: Template

Posted: Mon Jan 13, 2014 3:56 pm
by velden
johnfletchertt wrote:Ok, yes. It's an older version of cmsms, version 1.8.2 "Toliara". I did not check for those unclosed quotations etc cause as I mentioned before, it works fine as is right now on the older version and so I don't think there are syntax errors. I am testing on version, 1.11.9 “Bartolome”. Having said that, what do I need to re-check and double check?
That's my whole point; working on the older version does not mean it will work on the newer.

So comment as much Smarty tags as possible and if the page comes up, uncomment them one by one. Until it breaks again. Then you know where your problem is.

Re: Template

Posted: Mon Jan 13, 2014 4:30 pm
by Rolf
johnfletchertt wrote:so I've built my template, the css and re-edited the default home page and attached my template to it and I get the error page when viewing it. The one that says

Code: Select all

Sorry, it looks like something went wrong and an error has occurred. 
Don’t worry, it can happen to any of us.
Are there set steps to trouble shooting this kind of problem. It's annoying cause all I actually did is copy and paste. There is an existing site using cmsms and all I did was copy the template, the stylesheet and the images folder to the uploads. And I get this error. Where do I start?
When you are logged in to the Admin this error page will give more info details... It is hidden for regular visitors.

Re: Template

Posted: Mon Jan 13, 2014 5:41 pm
by johnfletchertt
Can someone provide me with a list of deprecated tags so that I can go through the template and make the necessary adjustments?

Re: Template

Posted: Mon Jan 13, 2014 5:45 pm
by johnfletchertt
I am doing development on my laptop. I am logged in as admin and all the views give the same page, that has no helpful output. I'll try the smarty tag remove by trial and error approach.

Re: Template

Posted: Mon Jan 13, 2014 5:56 pm
by Rolf
johnfletchertt wrote:I am doing development on my laptop. I am logged in as admin and all the views give the same page, that has no helpful output. I'll try the smarty tag remove by trial and error approach.
the output depends on the presence of the cmsms admin cookie.
A truncated message is also in admin log.