Articles on: Integrations

Magento Installation Troubleshooting

Plans: All plans Platforms: Magento


Overview


Magento is one of the most popular eCommerce systems, written in PHP. AfterShip supports multiple Magento stores. If you encounter any errors while connecting to AfterShip, refer to this guide for assistance.


Error: Insufficient permissions


Resolve this error by granting complete access to Role Resources. For Custom Resource access, you need to enable additional permissions.


Grant permissions for Custom Resource access


  1. Log into Magento admin panel > System > Web Services > SOAP/XML-RPC - Roles
  2. Select a role > Role Resources > Select Custom as the Resource Access
  3. Enable the below-mentioned permissions:


Customers --> Retrieve customer info

Sales --> Order --> Order shipments --> Retrieve shipment info

Sales --> Order --> Retrieve order 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


  1. Save changes


Error: Calling parameters do not match the signature


Steps to fix the error


  1. Open the file: lib/Zend/XmlRpc/Server.php
  2. 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);

}


  1. 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 web service adapter specified


Steps to fix the error


  1. Open Apache WEB server .htaccess file > Modify-MultiViews
  2. 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


  1. Upgrade PHP to a newer version


Magento 1 Timeout Error


Encountering a timeout error when connecting AfterShip with your Magento 1 store might indicate an issue with an untrusted SSL certificate across web browsers.


Steps to fix the error


  1. Review the SSL certificate in use
  2. Install the appropriate certificates to ensure compatibility across all web browsers
  3. Connect Magento 1 Store to AfterShip


This should help address the timeout error when integrating AfterShip with your Magento 1 store.


In case of queries, write to us at support@aftership.com.

Updated on: 07/03/2024