1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Install Magento without privilege triggers/routines
This guide explains how to patch the Magento installation so that it can be performed on a shared hosting Infomaniak, even without triggers
& routines
privileges.
Note that this patch is unnecessary in case of installation on a Serveur Cloud.
Solving Magento 2 installation issues
Edit the file DbValidator.php
:
--- setup/src/Magento/Setup/Validator/DbValidator.php.orig 2019-04-11 17:01:45.154767893 +0200
+++ setup/src/Magento/Setup/Validator/DbValidator.php 2019-04-13 21:37:02.560386985 +0200
@@ -150,12 +150,8 @@
'ALTER',
'CREATE TEMPORARY TABLES',
'LOCK TABLES',
- 'EXECUTE',
'CREATE VIEW',
- 'SHOW VIEW',
- 'CREATE ROUTINE',
- 'ALTER ROUTINE',
- 'TRIGGER'
+ 'SHOW VIEW'
];
// check global privileges
In case of SOAP/PHPfpm error
Depending on the version of Magento used, the soap
function does not work correctly and may return the following error message: Β«Uncaught SoapFault exception: [Client] looks like we got no XML document
Β».
The problem does not stem from a poor server configuration, but rather from a poor design of Magento that does not account for the execution of PHP in an FPM environment. Thus, the SOAP requests generated by Magento contain double headers (non-compliant with the SOAP specification) and cause an error.
Be aware of this solution (not developed by Infomaniak).