开发者

HTML page source code has unexplained comments

I recently purchased a DRUPAL site and while examining the source code of index.php, I found a huge section of HTML code that is commented out. I found the code in the database and I tried clearing the cache, but i开发者_运维技巧t still appears.

Does anyone knows how to delete it, or where the code is being generated?

I can't find it in the menu/articles/pages, or any other section.


Quite a lot possibilities, I'll list 2 obvious ones:

  • custom modules: check the module page
  • custom theme/template:check under theme folder to see if there is any file with .tpl/php

Also not sure what you mean "i found the code in the DB and I tried clearing the cache" , clearing cache won't remove effect db.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜