Jump to content

Upgrading issue


Budrys

Recommended Posts

Hello.

 

I want to upgrade PS 1.6.23 to 1.7.0.0.

 

I started upgrading process and got:

 

Error during database upgrade. You may need to restore your database.
You already have the 1.7.0.0 version.

 

 

Now I can't login to BO.

 

Any idea what to do now?

Link to comment
Share on other sites

I have error:

 

PrestaShopDatabaseException in Db.php line 744:Table 'galax_sklep7.ps_authorization_role' doesn't exist<br /><br /><pre>
SELECT `slug`,
`slug` LIKE "%CREATE" as "add",
`slug` LIKE "%READ" as "view",
`slug` LIKE "%UPDATE" as "edit",
`slug` LIKE "%DELETE" as "delete"
FROM `ps_authorization_role` a
LEFT JOIN `ps_access` j ON j.id_authorization_role = a.id_authorization_role
WHERE j.`id_profile` = 0</pre>

Link to comment
Share on other sites

Table created.

 

Error:

 

PrestaShopDatabaseException in Db.php line 744:Nieznana kolumna 'j.id_authorization_role' w on clause<br /><br /><pre>
SELECT `slug`,
`slug` LIKE "%CREATE" as "add",
`slug` LIKE "%READ" as "view",
`slug` LIKE "%UPDATE" as "edit",
`slug` LIKE "%DELETE" as "delete"
FROM `ps_authorization_role` a
LEFT JOIN `ps_access` j ON j.id_authorization_role = a.id_authorization_role
WHERE j.`id_profile` = 0</pre>

in Db.php line 744

at DbCore->displayError(' SELECT `slug`, `slug` LIKE "%CREATE" as "add", `slug` LIKE "%READ" as "view", `slug` LIKE "%UPDATE" as "edit", `slug` LIKE "%DELETE" as "delete" FROM `ps_authorization_role` a LEFT JOIN `ps_access` j ON j.id_authorization_role = a.id_authorization_role WHERE j.`id_profile` = 0') in Db.php line 378

at DbCore->query(' SELECT `slug`, `slug` LIKE "%CREATE" as "add", `slug` LIKE "%READ" as "view", `slug` LIKE "%UPDATE" as "edit", `slug` LIKE "%DELETE" as "delete" FROM `ps_authorization_role` a LEFT JOIN `ps_access` j ON j.id_authorization_role = a.id_authorization_role WHERE j.`id_profile` = 0') in Db.php line 596

at DbCore->executeS(' SELECT `slug`, `slug` LIKE "%CREATE" as "add", `slug` LIKE "%READ" as "view", `slug` LIKE "%UPDATE" as "edit", `slug` LIKE "%DELETE" as "delete" FROM `ps_authorization_role` a LEFT JOIN `ps_access` j ON j.id_authorization_role = a.id_authorization_role WHERE j.`id_profile` = 0') in Profile.php line 172

at ProfileCore::getProfileAccesses(null) in Profile.php line 114

at ProfileCore::getProfileAccess(null, '81') in AdminController.php line 524

at AdminControllerCore->__construct() in LegacyContext.php line 55

at LegacyContext->getContext() in EmployeeProvider.php line 50

at EmployeeProvider->__construct(object(LegacyContext)) in appDevDebugProjectContainer.php line 3234

at appDevDebugProjectContainer->getPrestashop_Security_Admin_ProviderService() in bootstrap.php.cache line 2222

at Container->get('prestashop.security.admin.provider') in appDevDebugProjectContainer.php line 2799

at appDevDebugProjectContainer->getPrestashop_Adapter_Security_AdminService() in bootstrap.php.cache line 2222

at Container->get('prestashop.adapter.security.admin') in classes.php line 1957

at ContainerAwareEventDispatcher->lazyLoad('kernel.request') in classes.php line 1925

at ContainerAwareEventDispatcher->getListeners('kernel.request') in TraceableEventDispatcher.php line 245

at TraceableEventDispatcher->preProcess('kernel.request') in TraceableEventDispatcher.php line 135

at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in bootstrap.php.cache line 3227

at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3197

at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3351

at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2536

at Kernel->handle(object(Request), '1', false) in index.php line 86

Link to comment
Share on other sites

Trying upgrade to 1.7.2.

 

Got error:

 

[ERROR] PHP 1.7.0.0 /* PHP:ps1700_stores(); */[INTERNAL] /home/galax/domains/galax.ssd-linuxpl.com/public_html/src/PrestaShopBundle/Install/Install.php line 56 - Cannot use PrestaShopBundle\Service\Database\Upgrade as Upgrade because the name is already in use

Link to comment
Share on other sites

Get one issue so far. In BO on Module subpage I get:

Attempted to load class "ImportModule" from the global namespace.
Did you forget a "use" statement?

n modules/shopimporter/shopimporter.php (line 30)

*/

if (!defined('_PS_VERSION_'))

    exit;

class shopimporter extends ImportModule

{

    public $supportedImports = array();

    public function __construct()

    {

 

 

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...