?
Solved

Drupal error

Posted on 2014-09-24
5
Medium Priority
?
129 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
[X]
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
5 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 1500 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 1500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

764 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