Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

JUSER Issue

  • The_Skipper
  • The_Skipper's Avatar Topic Author
  • Offline
  • New Member
More
10 years 5 months ago #137236 by The_Skipper
JUSER Issue was created by The_Skipper
I believe there is a user that I deleted after install that is haunting me ...
I get "JUser: :_load: Unable to load user with ID: 43" at the top of every page.

Have looked in the database user table ... nothing
Users under Joomla! ... nothing
Users under K2 ... Still nothing

Anyone know how to track down and fix this error?

SkippersList.com

Thanks in advance.

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

  • The_Skipper
  • The_Skipper's Avatar Topic Author
  • Offline
  • New Member
More
10 years 5 months ago #137237 by The_Skipper
Replied by The_Skipper on topic JUSER Issue
Fri Jun 22, 2012 8:52 pm
I ve checked more on this issue and it is related to K2 items and comments. Original demo items are created with userid 42 and when this id is changed K2 is still looking for UserID42.

What you can do is delete the K2 items and Comments or you need to change userID ( created by ID ) from K2 to match your current userID. You can run below SQL command in phpmyadmin which will change it for you.

Please change following to match your database.
Jos = Your database prefix.
100 = Your new ID which you can see in joomla users.
Run each sql separately please.

Code: Select all
UPDATE `jos_k2_items` SET `created_by` = '100',
`modified_by` = '100' WHERE `jos_k2_items`.`created_by` =42

Code: Select all
UPDATE `jos_k2_comments` SET `userID` = '100' WHERE `jos_k2_comments`.`userID` =42;

Saved me a LOT of time!

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

More
10 years 5 months ago #137238 by Yiota
Replied by Yiota on topic JUSER Issue
Thank you for sharing this and glad you have worked it out. :)

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum