Solved

Drupal error

Posted on 2014-09-24
5
117 Views
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/blominvestksa.com/httpdocs/sites/all/themes/danland/page-front.tpl.php on line 65

Please assist
0
Comment
Question by:ramziabk
  • 3
  • 2
5 Comments
 
LVL 58

Assisted Solution

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

Author Comment

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

Accepted Solution

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

Author Comment

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

Expert Comment

by:Gary
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
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

770 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