- Posts: 11
COMMUNITY FORUM
Activate / Activation problems
- M B
- 
				Topic Author 
- Offline
- New Member
		Less
		More
		
			
	
		
			
	
						16 years 3 months ago				#69426
		by M B
	
	
		
			
	
			
			 		
													
	
				Activate / Activation problems was created by M B			
			
				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?
					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.
- Lefteris
- 
				
- Offline
- Platinum Member
		Less
		More
		
			
	
		- Posts: 8743
			
	
						16 years 3 months ago				#69427
		by Lefteris
	
	
		
			
	
			
			 		
													
	
				Replied by Lefteris on 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?			
					Please Log in or Create an account to join the conversation.
- M B
- 
				Topic Author 
- Offline
- New Member
		Less
		More
		
			
	
		- Posts: 11
			
	
						16 years 3 months ago				#69428
		by M B
	
	
		
			
	
			
			 		
													
	
				Replied by M B on 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
					- 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.
- Lefteris
- 
				
- Offline
- Platinum Member
		Less
		More
		
			
	
		- Posts: 8743
			
	
						16 years 3 months ago				#69429
		by Lefteris
	
	
		
			
	
			
			 		
													
	
				Replied by Lefteris on 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.			
					Please Log in or Create an account to join the conversation.
- M B
- 
				Topic Author 
- Offline
- New Member
		Less
		More
		
			
	
		- Posts: 11
			
	
						16 years 3 months ago				#69430
		by M B
	
	
		
			
	
			
			 		
													
	
				Replied by M B on 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.
- Lefteris
- 
				
- Offline
- Platinum Member
		Less
		More
		
			
	
		- Posts: 8743
			
	
						16 years 3 months ago				#69431
		by Lefteris
	
	
		
			
	
			
			 		
													
	
				Replied by Lefteris on 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;
}
					if ($mainframe->isAdmin()){
return;
}
paste the following code:
$task = JRequest::getCmd('task');
if ($task=='activate'){
return;
}
Please Log in or Create an account to join the conversation.
- M B
- 
				Topic Author 
- Offline
- New Member
		Less
		More
		
			
	
		- Posts: 11
			
	
						16 years 3 months ago				#69432
		by M B
	
	
		
			
	
			
			 		
													
	
				Replied by M B on 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.