Solved

Drupal error

Posted on 2014-09-24
5
121 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 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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.
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…
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.

717 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