I´m trying to try the V2.0.0 but I cant get it even installed.
Igot this error:
{“exception”:“SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘factsbeta.addons’ doesn’t exist (SQL: select * from addons where enabled = 1 order by name asc)”}
Actually the DB exist and is empty as requied, I fill the info in config/database.php correctly btw.
Setup was properly opened but in the end of the installation it leads to this url what shows this message:
exception “SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class (SQL: select count(*) as aggregate from users)”
I didn’t try this yet because i’m failing to locate doctrine package in the application folders
I have done some research and it seems like, you must have the following packages or version and some missing packages. Some packages or versions don’t work well with PHP 7.0 in other server enviroments.
You need to downgrade to the right composer
The package or version settings are found in composer.json
{"exception":"SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class (SQL: select count(*) as aggregate from `users`)"}
Same problem here, after ‘upgrading’ from FusionInvoice 2018-08 when running setup i get:
{“exception”:“SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class (SQL: select count(*) as aggregate from users)”}
Then when simply going to main page:
{“exception”:“SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS requires format array(classname, array(ctor_args)); the classname must be a string specifying an existing class (SQL: select * from addons where enabled = 1 order by name asc)”}
@mbnn because you’re installing this locally can you think of upgrading php7.0 to php7.1. And can you explain what you mean that you have the error everywhere but locally.
We have to doublecheck the php and mysql version for this precize error.
I’ll give it a go when I get a chance, I had troubles installing php 7.0, so after that’s working I will let know what came out of it
Edit : I can replicate the issue on exactly php7.0. Let’s see if we can fix it.