Jump to content

install error at 45% "Cannot create admin account"


Recommended Posts

Hello, installing PS on a new cloud server I have constantly an install error at 45% explained as "unidentified error". From the log of PS I see that the error says "cannot create user account".

The strange thing is that I use the root user of MySql, infact the tables are correctly created on the db schema but probably when the install procedure try to insert the admin data on the Employee table, the operation fails.

my webserver is Windows 208R2 with all the latest patch, iis 7with PHP 5.6 and MySql server 5.7.

With previous webserver with the same configuration I never got a problem in installing PS.

Thanks for your help.

Davide

Link to comment
Share on other sites

  • 1 year later...

I'm afraid there is some changes in MySQL 5.7 that do not sit well with Prestashop.

I just ran into an error too that suddenly arises after I upgraded from MySQL 5.2 to 5.7

 

This query is not legal anymore, which completely breaks the order importing feature.

 

UPDATE 
`ps_order_invoice` 
SET number = (
SELECT 
new_number 
FROM (
SELECT 
(MAX(`number`) + 1) AS new_number
FROM 
`ps_order_invoice`
) AS result) 
WHERE `id_order_invoice` = 10
Link to comment
Share on other sites

  • 3 weeks later...

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