• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Templates add pseudorandom garbage code at its end on update
PostPosted: Mon Mar 05, 2012 5:10 pm 
Offline
New Member

Joined: Tue Sep 23, 2008 9:36 pm
Posts: 6
Hi,

we've been developing a large amount of sites using CMSMS here at Insidea and we love the simplicity. However, in the last few months we've discovered a possible bug that's complicating our lives and we'd like to know if we're the first ones to notice or have some kind of unique setup that shows this. Read on, this one gets scary..

Thing is, you have a template anywhere in the system, be it core templates, or module templates. You open it in the admin section, as you normally do, you edit it, you save it, and you expect that the saved output is exactly the same as you've entered. Not this time. At the end of the string you've entered as the content of the template, after the template is saved and you open it again (or you just open and click somewhere else and reopen it again), there is a weird looking mix of smarty and html and php, which seems like buffer overflowing somewhere, or POST not being properly posted and parsed, or we don't have the slightest clue what it could be:-(

Imagine that your CMSMS "talks" to you, by adding this little word "Help" after you save your template. Until this moment it was weird, but now, it got scary.. see the attachment. The word "Help" at the end of form template was added by no human input, it added itself as I opened and closed and reopened the template. The same weird stuff can be observed in content templates as well.

It happens on all versions of CMSMS we've used in the history, but the important thing is it happens on 1.9.4.2 and that's the most-often deployed version we have so far. The PHP behind the machines getting this bug is 5.3.3 (and on some servers it's higher version, but no less than 5.3.3).

If anyone has experienced anything like this, or could point us in the right direction, we'll be happy to try it all, this can get very unpleasant during the devel process as well as with the maintenance of a site.

Kind thanks for any help,
Vaclav


Attachments:
File comment: The word HELP at the end was added by the CMSMS itself, not by typing it.
help.jpg
help.jpg [ 114.92 KiB | Viewed 363 times ]
Top
 Profile  
 
 Post subject: Re: Templates add pseudorandom garbage code at its end on up
PostPosted: Mon Mar 05, 2012 5:46 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 6609
Location: Fernie British Columbia, Canada
CMSMS 1.9.4.2 is no longer supported, so before you respond to this post you should upgrade all of your sites to CMSMS 1.10.3

But... please try using a different browser and see if the issue goes away.

_________________
Follow me on twitter
--
if you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
----------------
Don't make me angry..... you won't like me when I'm angry....


Top
 Profile  
 
 Post subject: Re: Templates add pseudorandom garbage code at its end on up
PostPosted: Tue Mar 06, 2012 7:55 am 
Offline
New Member

Joined: Tue Sep 23, 2008 9:36 pm
Posts: 6
OK, roger that, I will post back as soon as it appears on our 1.10.2 sites, so far, we have no 1.10.3 in production env

And it happened in Opera and Firefox.

Thank you, calguy.


Top
 Profile  
 
 Post subject: Re: Templates add pseudorandom garbage code at its end on up
PostPosted: Fri Mar 30, 2012 8:20 am 
Offline
New Member

Joined: Tue Sep 23, 2008 9:36 pm
Posts: 6
OK, before we had time to prepare a customized 1.10.3 that's ready for deployment, the background for this bug had changed:

it seems, that it only happens in Opera. No matter how much I like this browser, we are now only able to replicate the bug in Opera /current version 11.61/.

Thanks for the push in a good direction, Calguy.
Closing for now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting