Drupal error

Posted on 2014-09-24
Last Modified: 2014-12-01
My CMS drupal website was working fine. suddenly I start getting the below error:

Fatal error: Call to undefined function phptemplate_body_class() in /var/www/vhosts/ on line 65

Please assist
Question by:ramziabk
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 58

Assisted Solution

Gary earned 500 total points
ID: 40341792
Have you just updated Drupal?
Try reinstalling the theme

Author Comment

ID: 40341915
Thanks for your reply.
No I didn't update drupal.How to reinstall the theme?
LVL 58

Accepted Solution

Gary earned 500 total points
ID: 40341925
Just upload a clean version (assuming you haven't made any changes to it)

Author Comment

ID: 40341941
did that. Installed Danland theme again but still same error.
LVL 58

Expert Comment

ID: 40341954
Remove the theme, clear you cache, check if site is working
Upload theme again and clear cache

If still not working you may need to contact the theme author

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question