When I was creating a view it always showed at the end of the page "// class view".

I found // class view at the end in views-view.tpl.php.
Deleted and uploaded the amended file. (upload has been renamed by drupal to views-view.tpl_.php.txt)

CommentFileSizeAuthor
views-view.tpl_.php.txt2.11 KBa.kopetzky

Comments

merlinofchaos’s picture

If it's between <?php tags like that then it is correct, and it is a comment. It shouldn't end up in your output at all. Maybe there's a bug in your version of PHP?

What happens if you change it from
// class view

to

/* class view */

esmerel’s picture

Status: Active » Closed (fixed)

No update after request for more info.