View class not found [class, file]:

For Joomla! 1.5 Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general
Locked
User avatar
amarbhanu
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 172
Joined: Tue Jan 13, 2009 1:52 pm

View class not found [class, file]:

Post by amarbhanu » Wed May 06, 2009 6:11 am

create a component so suggest me what is error and what is process of bebug

View class not found [class, file]: userinfoViewuserinfo, C:\wamp\www\JoomlaCurrent\administrator\components\com_userinfo\views\userinfo\view.html.php

User avatar
meloman
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 106
Joined: Sun Oct 22, 2006 1:29 am
Location: Montréal
Contact:

Re: View class not found [class, file]:

Post by meloman » Wed May 06, 2009 11:04 am

Post the lines of code where you load that class and what's it's name? You need to post more detail if you want an answer!
http://aldra.ca :: My latest little projects

User avatar
amarbhanu
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 172
Joined: Tue Jan 13, 2009 1:52 pm

Re: View class not found [class, file]:

Post by amarbhanu » Wed May 06, 2009 11:46 am

meloman wrote:Post the lines of code where you load that class and what's it's name? You need to post more detail if you want an answer!
You do not have the required permissions to view the files attached to this post.

User avatar
meloman
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 106
Joined: Sun Oct 22, 2006 1:29 am
Location: Montréal
Contact:

Re: View class not found [class, file]:

Post by meloman » Wed May 06, 2009 10:08 pm

It's not really a bug, it seems to be missing a lot of code for that component to work! First, there is no view named "userinfo", your view is named "default"...
http://aldra.ca :: My latest little projects

kkanz
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sat Jun 13, 2009 11:58 am

Re: View class not found [class, file]:

Post by kkanz » Sat Jun 13, 2009 12:09 pm

I am having the same problem and getting the same error message. Is it possible that this is a problem with the permission of a file ?

User avatar
ooffick
Joomla! Master
Joomla! Master
Posts: 11615
Joined: Thu Jul 17, 2008 3:10 pm
Location: Ireland
Contact:

Re: View class not found [class, file]:

Post by ooffick » Sat Jun 13, 2009 1:38 pm

kkanz wrote:I am having the same problem and getting the same error message. Is it possible that this is a problem with the permission of a file ?
Are you creating a new extension? Or are you using an extension?

Olaf
Olaf Offick - Global Moderator
learnskills.org

zaner
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jul 02, 2009 4:35 pm

Re: View class not found [class, file]:

Post by zaner » Thu Jul 02, 2009 5:13 pm

I have the same problem:

500 - Ha ocurrido un error.

View class not found [class, file]: usersViewuser, /home/eabierto/public_html/appcu/administrator/components/com_users/views/user/view.html.php

User avatar
ooffick
Joomla! Master
Joomla! Master
Posts: 11615
Joined: Thu Jul 17, 2008 3:10 pm
Location: Ireland
Contact:

Re: View class not found [class, file]:

Post by ooffick » Thu Jul 02, 2009 6:43 pm

zaner wrote:I have the same problem:

500 - Ha ocurrido un error.

View class not found [class, file]: usersViewuser, /home/eabierto/public_html/appcu/administrator/components/com_users/views/user/view.html.php
Mod Note: Duplicate post deleted, please do not post your question twice.

Are you trying to create an extension or are you using an extension?

Olaf
Olaf Offick - Global Moderator
learnskills.org

JNeo
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Tue Jun 09, 2009 7:07 pm
Location: Barcelona, Spain

Re: View class not found [class, file]:

Post by JNeo » Thu Jul 02, 2009 8:34 pm

Your com_userinfo.zip is correct and it doesn't match with the error message posted
View class not found [class, file]: userinfoViewuserinfo, C:\wamp\www\JoomlaCurrent\administrator\components\com_userinfo\views\userinfo\view.html.php

User avatar
flaviosv
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Jun 17, 2009 12:45 am

Re: View class not found [class, file]:

Post by flaviosv » Fri Jul 03, 2009 1:29 am

amarbhanu wrote:create a component so suggest me what is error and what is process of bebug

View class not found [class, file]: userinfoViewuserinfo, C:\wamp\www\JoomlaCurrent\administrator\components\com_userinfo\views\userinfo\view.html.php
Try this:

Code: Select all

	function display() {

        // Make sure we have a default view

        $view = $this->getView("userinfo", "html");
        $view->display();
        }
Put this code in your controller.php, if doesn't work put the code below and post the result

Code: Select all

	function display() {

        // Make sure we have a default view

        $view = $this->getView("userinfo", "html");
        echo "<pre>";
        var_dump($view);
        echo "</pre>";
        die;
        $view->display();
        }

zaner
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Jul 02, 2009 4:35 pm

Re: View class not found [class, file]:

Post by zaner » Fri Jul 10, 2009 5:31 pm

I am not using any extension.

User avatar
ooffick
Joomla! Master
Joomla! Master
Posts: 11615
Joined: Thu Jul 17, 2008 3:10 pm
Location: Ireland
Contact:

Re: View class not found [class, file]:

Post by ooffick » Sun Jul 12, 2009 8:03 pm

well, the component com_userinfo is not coming with Joomla 1.5.

Olaf
Olaf Offick - Global Moderator
learnskills.org


Locked

Return to “Joomla! 1.5 Coding”