- Posts: 3
 - Thank you received: 0
 
Error updating
- ginageick
 - Topic Author
 - Offline
 - New Member
 - 
            
         
        Less
        More
        
            
    
        
            
        
                12 years 7 months ago                #1296
        by ginageick
    
    
            
            
            
            
            
                                
    
                                                
    
        Error updating was created by ginageick            
    
        Hi there.. trying to update through Joomla Extension Mgr.. getting the following error:
JInstaller: :Install: Error SQL DB function failed with error number 1060
Duplicate column name 'css2load' SQL=ALTER TABLE `xi5ay_zhgooglemaps_maps` ADD `css2load` text NOT NULL;
Any ideas?
Thanks, GG
    JInstaller: :Install: Error SQL DB function failed with error number 1060
Duplicate column name 'css2load' SQL=ALTER TABLE `xi5ay_zhgooglemaps_maps` ADD `css2load` text NOT NULL;
Any ideas?
Thanks, GG
Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                12 years 7 months ago         -  12 years 7 months ago        #1297
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
    
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Error updating            
    
        Hi.
I think you use backup utility (for example akeeba backup), and rollback and try to upgrade component.
If yes - you have to do some steps manual.
In result - you need to have the table structure as in install.sql script.
In your case - the table was altered, and when you try to rollback - you rollback files, but not database. You have database tables structures is freshed.
Check, if you have this columns - set empty file (do not delete it, only empty). In this case joomla updater will proceed it and mark it done, and the other my update will be proceeded.
In the other words, when you have completed database structures, but the update tries it do again by the upgrade script - simple empty this file.
I mean, that you should to empty sql updates file, zip archive and try again.
            I think you use backup utility (for example akeeba backup), and rollback and try to upgrade component.
If yes - you have to do some steps manual.
In result - you need to have the table structure as in install.sql script.
In your case - the table was altered, and when you try to rollback - you rollback files, but not database. You have database tables structures is freshed.
Check, if you have this columns - set empty file (do not delete it, only empty). In this case joomla updater will proceed it and mark it done, and the other my update will be proceeded.
In the other words, when you have completed database structures, but the update tries it do again by the upgrade script - simple empty this file.
I mean, that you should to empty sql updates file, zip archive and try again.
Don't forget support my developments: post review in JED , donate , help with translation
        Last edit: 12 years 7 months ago  by Dima.            
            Please Log in or Create an account to join the conversation.
- ginageick
 - Topic Author
 - Offline
 - New Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 3
 - Thank you received: 0
 
            
        
                12 years 7 months ago                #1298
        by ginageick
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ginageick on topic Error updating            
    
        Hmmm.. no, I'm not using a backup utility. I found the column CSS2load.. there is no entry?    
    Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                12 years 7 months ago                #1299
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Error updating            
    
        OK. Then I didn't understand what it is appeared. Go to phpAdmin and delete (drop)  it. In this case your updater create it again. But it is only for your risk!    
            Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- ginageick
 - Topic Author
 - Offline
 - New Member
 - 
            
         
        Less
        More
        
            
    
        - Posts: 3
 - Thank you received: 0
 
            
        
                12 years 7 months ago                #1300
        by ginageick
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by ginageick on topic Error updating            
    
        What exactly am I dropping? The entire maps table?
Thank you!
    Thank you!
Please Log in or Create an account to join the conversation.
- Dima
 - 
            
				
                                 - Offline
 - Platinum Member
 - 
            
         
            
        
                12 years 7 months ago                #1301
        by Dima
    
    
            
Don't forget support my developments: post review in JED , donate , help with translation
        
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Dima on topic Error updating            
    
        Only this database columns    
            Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
        Time to create page: 0.241 seconds