Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Drupal error

Posted on 2014-09-24
5
Medium Priority
?
147 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 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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 create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

564 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