[solved] Some of the news don't take styles after upgrade
-
Sponsi
[solved] Some of the news don't take styles after upgrade
Hi,
I recently upgraded from 1.10.something to the latest, 1.11.4.
Everything seemed to work OK but older news don't show with CSS styles. Cache cleared, of course.
I think I made the site originally with 1.9 and then upgraded to 1.10, and now to 1.11.4 and I feel the older news are from the 1.9 era. Can you help with a solution?
Thanks,
Milo
I recently upgraded from 1.10.something to the latest, 1.11.4.
Everything seemed to work OK but older news don't show with CSS styles. Cache cleared, of course.
I think I made the site originally with 1.9 and then upgraded to 1.10, and now to 1.11.4 and I feel the older news are from the 1.9 era. Can you help with a solution?
Thanks,
Milo
Last edited by Sponsi on Wed Jan 02, 2013 11:48 am, edited 1 time in total.
-
staartmees
- Power Poster

- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Some of the news don't take styles after upgrade
check your template for {cms_stylesheet} instead of {stylesheet}
-
Sponsi
Re: Some of the news don't take styles after upgrade
I've got {cms_stylesheet}
- it was like that since 1.10 so I didn't have to change that.
EDIT:
I think I've found the problem. If the gallery is erased, the CSS is OK. I need to look for the root of the problem.
- it was like that since 1.10 so I didn't have to change that.
EDIT:
I think I've found the problem. If the gallery is erased, the CSS is OK. I need to look for the root of the problem.
-
Sponsi
Re: Some of the news don't take styles after upgrade
I don't know what it is but it might be something with the gallery.
Re: Some of the news don't take styles after upgrade
Without more info nobody can help you I'm afraid...Sponsi wrote:I don't know what it is but it might be something with the gallery.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
Sponsi
Re: Some of the news don't take styles after upgrade
Well, If only I knew what info you need.
I don't know much more myself. Just see such behaviour.
I don't know much more myself. Just see such behaviour.
Re: Some of the news don't take styles after upgrade
System information and the url of the website would be a good start 
Rolf
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
Sponsi
Re: Some of the news don't take styles after upgrade
www.poradnia.gfo.pl
The three links on the right:
„Ukryj głoski w obrazku” - konkurs
Kobieta w Kulturze - konferencja
Szlachetna Paczka
e.g. the third one doesn't take CSS styles. This article has got a gallery, the other two - don't.
Strange stuff : ////
M.
The three links on the right:
„Ukryj głoski w obrazku” - konkurs
Kobieta w Kulturze - konferencja
Szlachetna Paczka
e.g. the third one doesn't take CSS styles. This article has got a gallery, the other two - don't.
Strange stuff : ////
M.
Re: Some of the news don't take styles after upgrade
Did you check the html sourcecode of that page? You would have noticed that the complete head section is missing, not only css..
I think your server runs out of resources while opening that news-item.
Maybe the pictures in the gallery are too big and your server doesn't have not enough resources to create thumbnails of them?
I think your server runs out of resources while opening that news-item.
Maybe the pictures in the gallery are too big and your server doesn't have not enough resources to create thumbnails of them?
-
Sponsi
Re: Some of the news don't take styles after upgrade
Yea, this is what I've noticed too.
It can't be with the resources, I mean there's something wrong.
The question is: is it something with the CMS Made Simple?
My photos are OK and everything ran smoothly when 1.10.
This is the root of my problem: what the heck is going on with 1.11.4?
EDIT:
I've got this info from my hosting provider:
the script finishes at this place:
in the file:
the process behaves like this:
What is wrong with 1.11.4?
It can't be with the resources, I mean there's something wrong.
The question is: is it something with the CMS Made Simple?
My photos are OK and everything ran smoothly when 1.10.
This is the root of my problem: what the heck is going on with 1.11.4?
EDIT:
I've got this info from my hosting provider:
the script finishes at this place:
Code: Select all
eval("?>" . $code);^MCode: Select all
www/lib/smarty/sysplugins/smarty_internal_templatebase.phpCode: Select all
lstat("/www/poradnia_www/www/lib/smarty/sysplugins/smarty_internal_templatebase.php(147) : eval()\'d code", 0x7fff8009d470) = -1 ENOENT (No such file or directory)
open("/www/poradnia_www/www/lib/smarty/sysplugins/smarty_internal_templatebase.php(147) : eval()\'d code", O_RDONLY) = -1 ENOENT (No such file or directory)Re: Some of the news don't take styles after upgrade
NoSponsi wrote:The question is: is it something with the CMS Made Simple?
If you did an upgrade from 1.10.x to 1.11.4, you might have a syntax error in the way you call Gallery from the News article.Sponsi wrote:This is the root of my problem: what the heck is going on with 1.11.4?
CMSms 1.11 uses Smarty3 which is more picky on the right syntaxes than Smarty2 was
-
Sponsi
Re: Some of the news don't take styles after upgrade
Well... anything special about
{Gallery dir="blabla"}
changed in 1.11.4?
Some other erros on another webiste:
Error: at line 702 in file /home/users/webastyczny/public_html/webastyczny/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Message:
Syntax Error in template "globalcontent:portfolio" on line 9 "<div class="portfolio_img">{Gallery dir='web/space2grow}</div>" - Unexpected "web", expected one of: "}" , " " , ATTR
How come CMS MS doesn't work anymore?
And I can't even edit this article!
EDIT 2:
Another webiste works... strange.
{Gallery dir="blabla"}
changed in 1.11.4?
Some other erros on another webiste:
Error: at line 702 in file /home/users/webastyczny/public_html/webastyczny/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Message:
Syntax Error in template "globalcontent:portfolio" on line 9 "<div class="portfolio_img">{Gallery dir='web/space2grow}</div>" - Unexpected "web", expected one of: "}" , " " , ATTR
How come CMS MS doesn't work anymore?
And I can't even edit this article!
EDIT 2:
Another webiste works... strange.
Re: Some of the news don't take styles after upgrade
{Gallery dir='web/space2grow} must be {Gallery dir='web/space2grow'}
-
Sponsi
Re: Some of the news don't take styles after upgrade
Yeah, I changed that.
Strange, because I've always used 'xxxx' and now it turned out that some of the Gallery dirs didn't have the closing '.
I'm investigating whether this is the main problem or something else... one of the website started to work but I think it had a different error than the original website I'm writing about in this thread.
Strange, because I've always used 'xxxx' and now it turned out that some of the Gallery dirs didn't have the closing '.
I'm investigating whether this is the main problem or something else... one of the website started to work but I think it had a different error than the original website I'm writing about in this thread.
-
Sponsi
Re: Some of the news don't take styles after upgrade
Just a note: the syntax error wasn't the problem.
It was a side problem.
The pages with {Gallery} still crash. I updated the gallery to 1.6 - no luck.
It was a side problem.
The pages with {Gallery} still crash. I updated the gallery to 1.6 - no luck.



