| New Hosting Account Bug [message #2196] | 
			Thu, 09 July 2009 07:40   | 
		 
		
			
				
				
				
					
						  
						gpatti
						 Messages: 287 Registered: August 2008 
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	| 
		I've noticed that since the latest upgrade creating a hosting account now sets the rdcaccount_id to the value 1 when creating a new account.
		
		
		
 |  
	| 
		
	 | 
 
 
 | 
	
		
		
			| Re: New Hosting Account Bug [message #2197 is a reply to message #2196] | 
			Thu, 09 July 2009 09:16    | 
		 
		
			
				
				
				
					
						  
						AJM
						 Messages: 2386 Registered: April 2006  Location: Surrey, UK
						
					 | 
					Senior Member  | 
					 | 
		 
		 
	 | 
 
	
		Whoops!     Somehow the menu-data.sql script was built without the following entry: 
REPLACE INTO `mnu_account` (`rdcaccount_id`, `account_name`, `rdcversion`, `created_date`, `created_user`, `revised_date`, `revised_user`) 
VALUES(1, 'Shared Account', 1, '2007-09-13 11:41:52', 'AJM', NULL, NULL);
  
This should create the 'shared' account with the id of 1, with all new records having a id greater than 1. 
 
Empty your version of mnu_account, run this sql statement to create the first record, then you can create any new accounts. 
 
I shall update my sql scripts for the next release.
		
		
  Tony Marston 
http://www.tonymarston.net 
http://www.radicore.org
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 | 
	| 
		
 |