You forgot to add jimport('Joomla.application.component.controller'); on the top of your file.
Nicholas K. Dionysopoulos, lead developer AkeebaBackup.com
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Do you have jimport('joomla.application.component.controller'); before the
class?
What Joomla version are you trying to develop for? What is the Joomla
version of the site you're installing on?
Kind regards,
Nick
> Hello all,
>
> This is my first post but I'll be brief.
>
> I'm building a component using the "Hello World" tutorial.
> http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_1
>
> I've got the admin backend and configuration working well but when I try
> to
> reach the main display page it displays error - *Fatal error*: Class
> 'JController' not found in ...
> The page the error message points to is very small ... here is all the
> code
> ...
>
> class BungeebonesController extends JController
> {
> /**
> * Method to display the view
> *
> * @access public
> */
> function display()
> {
> parent::display();
> }
>
> }
>
> I found some forum posts suggesting corrupt joomla files so I dusted off a
> complete different domain and did a brand new install. Then installed the
> component w/o incident. Accessed the admin backend.
>
> Maybe I'm not accessing the page properly? I'm using
> ?option=com_bungeebones&view=bungeebones as the entry point.
>
> Thanks in advance.
>
> Robert
>
>
>
>
> --
> BungeeBones.com - A B2B Link Exchange - Free Links in limited locations -
> human edited and reviewed - Networked online advertising business
> opportunities available through our free, distributed web directory script
>
> You forgot to add jimport('Joomla.application.component.controller'); on
> the
> top of your file.
>
> Nicholas K. Dionysopoulos, lead developer AkeebaBackup.com
> On 25 Oct 2011 10:33, "Robert Lefebvre" <robert.r...@gmail.com>
> wrote:
>
>> Hello all,
>>
>> This is my first post but I'll be brief.
>>
>> I'm building a component using the "Hello World" tutorial.
>> http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_1
>>
>> I've got the admin backend and configuration working well but when I try
>> to
>> reach the main display page it displays error - *Fatal error*: Class