Warning: Unterminated comment starting line 335 in

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
rlawless
New Member
New Member
Posts: 1
Joined: Thu Sep 17, 2015 1:08 am

Warning: Unterminated comment starting line 335 in

Post by rlawless »

I was tasked with building us a new website a week or so ago. Our website has been up for quite a while, but I went to it on Tuesday and I seen this on the page:

Warning: Unterminated comment starting line 335 in /home1/beshears/public_html/tjscontractors.com/lib/classes/class.CmsApp.php on line 335

Fatal error: fatal flex scanner internal error--end of buffer missed in /home1/beshears/public_html/tjscontractors.com/lib/classes/class.CmsApp.php on line 335

I searched the internet, and found out that this may do to a comment error (comment not closed */) I checked the .php file, and line 335 has no comment to close:

{
return StylesheetOperations::get_instance();
}


Those are lines 335 - 337

I did notice, however, that below that was comments, but it wasn't closed, so I closed it, and I still get this error.

Can anybody offer any other explanation as to why these are showing? I appreciate any help that may be given, and if you need any more information, please let me know.

Thanks!!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Warning: Unterminated comment starting line 335 in

Post by velden »

Read this:

http://forum.cmsmadesimple.org/viewtopi ... 65#p238765
and
http://forum.cmsmadesimple.org/viewtopi ... 40&t=17166 (item 5)
Our website has been up for quite a while, but I went to it on Tuesday and I seen this on the page
You probably are running an old version that is not supported anymore.
Files don't change by themselves. Either the file is changed (which would be very bad) or something on the server changed (error reporting, php version, ...)
Post Reply

Return to “The Lounge”