Jump to content

Problem updating from 1.4.9 to 1.6.


Recommended Posts

Hello,

 

I´m trying to update my 1.4.6 version to 1.6.  I have updated to 1.4.9 manually following a tutorial that recommends this.  I have done it without problems.

 

But trying to update to 1.6 with 1 Click Autoupgrade module happens this problem:

 

[Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: "
Internal Server Error

 

And the all the web comes "white".  Activating the debut error mode shows this:

 
[PrestaShopDatabaseException]

Unknown column 't.directory' in 'field list'
 

			SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory			FROM prstshp_shop s			LEFT JOIN prstshp_shop_url su ON (s.id_shop = su.id_shop)			LEFT JOIN prstshp_theme t ON (t.id_theme = s.id_theme)			WHERE s.id_shop = 1			AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1
at line 623 in file classes/db/Db.php
617. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);618. 		}619. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))620. 		{621. 			if ($sql)622. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');623. 			throw new PrestaShopDatabaseException($this->getMsgError());624. 		}625. 	}626. 627. 	/**

It seems a database problem, can anybody help me please? 

 

Thank you.

Edited by Miguel_SV (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...