Troubleshoot Magento Installation Errors
Magento is one of the most popular eCommerce systems, written in PHP. AfterShip supports multiple Magento stores. Refer to this guide if you receive an error while connecting to AfterShip. In case of queries, write to us at support@aftership.com
This error can be resolved by providing complete access to Role Resources. For Custom Resource access, you need to enable additional permissions.
Login to Magento Admin Panel > System > Web Services > SOAP/XML-RPC - Roles
Select a role > Role Resources > Select Custom as the Resource Access > Enable the below-mentioned permissions:
Customers --> Retrieve customer info
Sales --> Order --> Order shipments --> Retrieve shipment info
Sales --> Order --> Retrieve orders info
Shopping Cart --> Shipping methods in the shopping cart --> Get the list of available shipping methods
Core --> Store --> List of stores
Core --> Store --> Retrieve store data
Save changes
Open the file: lib/Zend/XmlRpc/Server.php
Look for the below-mentioned code
Comment it out
Open Apache WEB server .htaccess file > Modify-MultiViews
Look for the below-mentioned code
Replace it with the below code snippet
This error usually occurs when your store has been patched for fixing an API vulnerability and your server’s PHP version does not support the added patch.
Upgrade PHP to a newer version
❗Error: Insufficient permissions
This error can be resolved by providing complete access to Role Resources. For Custom Resource access, you need to enable additional permissions.
➕ Grant permissions for Custom Resource access
Login to Magento Admin Panel > System > Web Services > SOAP/XML-RPC - Roles
Select a role > Role Resources > Select Custom as the Resource Access > Enable the below-mentioned permissions:
Customers --> Retrieve customer info
Sales --> Order --> Order shipments --> Retrieve shipment info
Sales --> Order --> Retrieve orders info
Shopping Cart --> Shipping methods in the shopping cart --> Get the list of available shipping methods
Core --> Store --> List of stores
Core --> Store --> Retrieve store data
Save changes
❗Error: Calling parameters do not match the signature
✅ Steps to fix the error
Open the file: lib/Zend/XmlRpc/Server.php
Look for the below-mentioned code
if (!$matched) {
#require_once 'Zend/XmlRpc/Server/Exception.php'; throw new Zend_XmlRpc_Server_Exception('Calling parameters do not match signature', 623);
}
Comment it out
/*
if (!$matched) {
#require_once 'Zend/XmlRpc/Server/Exception.php'; throw new Zend_XmlRpc_Server_Exception('Calling parameters do not match signature', 623);
}
*/
❗Error: Invalid webservice adapter specified
✅ Steps to fix the error
Open Apache WEB server .htaccess file > Modify-MultiViews
Look for the below-mentioned code
<Directory /var/www/magento>
Options Indexes FollowSymLinks MultiViews
Replace it with the below code snippet
<Directory /var/www/magento><br>
Options Indexes FollowSymLinks -MultiViews
❗Fatal error: Call to undefined function libxml_disable_entity_loader()
This error usually occurs when your store has been patched for fixing an API vulnerability and your server’s PHP version does not support the added patch.
✅ Steps to fix the error
Upgrade PHP to a newer version
Updated on: 01/06/2022
Thank you!