Keyword

[SOLVED] the text fields are missing in admin usergroups

More
11 years 7 months ago #119505 by dave
Hi,

I installed K2 as one of the first extensions on my site and there have been many other extensions since, so I'm not sure what has caused this, however, I have recently gone into K2 usergroups and the text fields are missing. I've attached a screenshot.

I turned on development error reporting and got the following errors:

Notice: Undefined property: K2ViewUserGroups::$row in /home/mysite/public_html/administrator/components/com_k2/views/user/tmpl/default.php on line 19 Notice: Trying to get property of non-object in /home/mysite/public_html/administrator/components/com_k2/views/user/tmpl/default.php on line 19


I have also re-installed K2 just to rule that out and the same thing happens.

Any ideas?

Thanks in advance!!
Dave
Attachments:

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #119506 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: the text fields are missing in admin usergroups
Hello Dave,

These are notices and will not affect your site's functionality in any way.
When your site is in production mode you should turn error reporting to none or system default.

Also which editor are you using?

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #119507 by dave
Thanks for checking it out Krikor.

I am using TinyMCE but I have changed it to 'none' and still the issue is the same. I cant add usergroups.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #119508 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: the text fields are missing in admin usergroups
Which version of Joomla! and K2 are you using, any other components?

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #119509 by dave
Joomla 3.1.5
K2 - 2.6.7

Akeeba Backup
Easy Discuss
Joomla Quiz Deluxe
PayPlans

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #119510 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: the text fields are missing in admin usergroups
I have used two of them without a hassle.

There is a possible conflict between the components which prevents the editor to load. Can you check your browser's developer tools console tab for any issues?

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #119511 by dave
I'm not sure how to do that. I disabled each component and plugins and tested the issue and I have the same issue regardless of what I disable. Any other ideas? Is there someone who could look at it and understands the browsers developer tools?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #119512 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: the text fields are missing in admin usergroups
Right Click -> Inspect Element and then head to the console tab. Reload the page with the tools open if necessary.

This workflow is for Chrome but it is very similar in FF as well.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #119513 by dave
Unfortunately nothing appears in the console tab - even refreshing with it open.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #119514 by dave
I don't know if this will shed more light on the issue... but I went to add some extra fields at /administrator/index.php?option=com_k2&view=extrafields

I am getting the message '500 Layout default not found'

I have attached a screenshot
Attachments:

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #119515 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: the text fields are missing in admin usergroups
Try reinstalling K2 and make sure you are using the latest version of Joomla! (currently 3.1.5)

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #119516 by dave
thanks - but I've done that already in a previous message. I just found a solution which was to install the legacy.zip patch - it solved the issue but I don't understand what legacy is nor why it worked.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago #119517 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: the text fields are missing in admin usergroups
The legacy patch is for the previous version of Joomla! (3.1.4) which had bugs. 3.1.5 fixed these issues

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #119518 by dave
Strange I did have 3.1.5 and latest k2

I would be interested to see if anyone else has the same issue and can identify similar components.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 7 months ago - 11 years 7 months ago #119519 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: the text fields are missing in admin usergroups

Because of a bug in JViewLegacy::getName() all components with views using camel
cased class name break with error:

500 Layout default not found


and this is the thread
joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31565

I cannot think of a reason however why your version did not have the fix for this bug.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum