Thanks for the help! I enabled PDO and PDO_MySQL on my server and EspoCRM installed properly
Announcement
Collapse
No announcement yet.
Ajax failed
Collapse
X
-
Had the same problem. Tested everything and nothing seemed to work. Then I backed out of the fail screen to the database setup. In the host field I entered localhost:3306 instead of just localhost (what I originally entered). When I continued with the installation, everything worked. Can't say for sure if that was the solution, but it's worth a try.
Comment
-
Hi,
I would like to install 2.6 and I also have the same problem with "Ajax failed". Thought this is issue with permissions but after:
> chmod -R 775 *;chown -R www-data;www-data *
I have the same problem... Could someone help? Some files from server in attachment.
Attached Files
Comment
-
yuri,
Please help me out
Getting 401 for api/v1/Metadata when I click install button during installation of EspoCRM.
Database settings are correct, php configuration is correct. PDO enabled for mysql.
Test Connection is working for database settings.
Logs:
[2018-03-13 11:28:12] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)" at /home/codaxtr_user/projects/unicourt-crm/espocrm/application/Espo/ORM/EntityManager.php line 155 {"exception":"[object] (PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /home/codaxtr_user/projects/unicourt-crm/espocrm/application/Espo/ORM/EntityManager.php:155)"} []
[2018-03-13 11:28:36] Espo.ERROR: Uncaught Exception PDOException: "SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)" at /home/codaxtr_user/projects/unicourt-crm/espocrm/application/Espo/ORM/EntityManager.php line 155 {"exception":"[object] (PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) at /home/codaxtr_user/projects/unicourt-crm/espocrm/application/Espo/ORM/EntityManager.php:155)"} []
Permission for folders are given properly
espocrm folder has www-data owner and group
775 for data folder
755 for all other folders
644 for all the files in espocrm folder
create user 'crm_user'@'%' identified by 'secret';
grant all priveleges to *.* on 'crm_user'@'%' identified by 'secret';Last edited by theBuzzyCoder; 03-13-2018, 11:37 AM.
Comment
-
-
tanya ,
OS: Ubuntu 14:04
Initially I got redis not found error during start of installation. So, i installed php7.1-redis and redis-server and redis-tools
I cleared all nginx error log and access log and tried installing again. The issue is same but the error.log doesn't have any problem at all
In access log all are giving 200 ok. But i am getting that response in front end
I don't think this error log is not for the Ajax failedLast edited by theBuzzyCoder; 03-13-2018, 12:51 PM.
Comment
-
tanya I think this has something to do with my php.ini. Let me figure it out. If I need help I will post again
-
Comment