Fatal error: Class 'JHtml' not found in plugins/system/debug

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
User avatar
gopijack
Joomla! Intern
Joomla! Intern
Posts: 79
Joined: Wed Oct 20, 2010 7:32 am

Fatal error: Class 'JHtml' not found in plugins/system/debug

Post by gopijack » Thu Dec 29, 2011 9:43 am

Hi,

In joomla1.7,

I got this type of error.

In my component i have declared

$line=__LINE__;
if (defined("debug"))
echo $line;

when i am using i have got this type of errors

Fatal error: Class 'JHtml' not found in plugins/system/debug/debug.php

so, in that debug.php file i have declared

JHTML::_('behavior.formvalidation');

then errors solved.


I hope this may be useful for some one.

:pop
Thanks & Regards
Gopi.A

Locked

Return to “General Questions/New to Joomla! 1.5”