Keyword

Activate / Activation problems

More
10 years 7 months ago #69426 by M B
M B created the topic: Activate / Activation problems
Hi All,

Has anyone come across problems when they've registered and then activated?
It seems that K2 - when the user plugin is turned on - adds a record to the k2 user fields. However, when activating, I was given the error that it could not upload my image, and then showed 'index.php' in the standard 'mosmsg' error area?
Any ideas?

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

More
10 years 7 months ago #69427 by Lefteris
Lefteris replied the topic: Activate / Activation problems
Hi. Can you please post some more info on this? What are the steps you have taken to get this error?

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
10 years 7 months ago #69428 by M B
M B replied the topic: Activate / Activation problems
Hi Lefteris. Steps taken as follows;

- Clicked on 'create account' on the login/register module i have
- Entered all standard user information + k2 extended options; sex,description,avatar (didnt fill url field)
- Clicked save
- Got a message saying thankyou and that have to click on activation url
- Went to email; clicked on activation URL
- When it took me back to the site, it then says something along the lines of 'could not move avatar file / could not upload avatar image'
- On that page i then also get the standard information message (where mosmsg would normally be), but within it is some text which just says 'index.php'
- If i then click on 'my account' on the left hand side (because i have the user module installed) I'm taken to my details page, where everything is filled out except for description and i have no avatar uploaded.

As a side note - i also notice that i dont have the 'add item' link there - im guessing because it hasn't made my k2 user account properly?

Thanks in advance for any help

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

More
10 years 7 months ago #69429 by Lefteris
Lefteris replied the topic: Activate / Activation problems
OK i can confirm the bug. Fixed in v2 final. Thanks for reporting this issue to us. Regarding the "add item" link, please ensure that the user is assigned to a K2 user group with the appropriate permissions.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
10 years 7 months ago #69430 by M B
M B replied the topic: Activate / Activation problems
Cool. no probs. Any chance of getting the updated code? Can you attach to your reply?

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

More
10 years 7 months ago #69431 by Lefteris
Lefteris replied the topic: Activate / Activation problems
Open the file /plugins/user/k2.php and on line 31 after:

if ($mainframe->isAdmin()){
return;
}

paste the following code:

$task = JRequest::getCmd('task');
if ($task=='activate'){
return;
}

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

More
10 years 7 months ago #69432 by M B
M B replied the topic: Activate / Activation problems
Thanks Lefteris. Will try this out and let you know what the outcome is.

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


Powered by Kunena Forum