I just upgraded from a Magento1.9.x to a 2.1.6 platform. I have used SR for several years on the old store, but am now able to connect to the M2 store. When I try to connect my store I get the error: The URL provided does not seem to connect to an ecommerce system (or perhaps the web store is not configured properly). Please check the URL and configuration for this web store. ERROR 33836A: (Shipping API not found at https://store.best-alzheimers-produc...ngZMagento.php).
SR can't find its API. When I try to connect directly to https://store.best-alzheimers-produc...ngZMagento.php I get:
So the SR connection wizard is finding my website and the SR plugin thereon (in the ShippingZMagento.php file), but the SR API is not "defined" so it can't open and it can't connect.
This is line 1174 in the ShippingZMagento.php file: $this->_eventManager = $shiprush_eventManager;
and here is the code that preceeds line 1174 (it starts at line 1161):
I do not know php programming and have no idea what this means, other than it seems not to be working. Does anyone see a problem with this code, or have any other idea why my store and ShipRush are unable to connect?
Thank you,
John
SR can't find its API. When I try to connect directly to https://store.best-alzheimers-produc...ngZMagento.php I get:
Notice: Undefined variable: shiprush_eventManager in /home/storealz/public_html/ShippingZMagento.php on line 1174
SHIPPINGZCLASSES Version: 4.0.10.7497 Error Type: 2 File: /home/storealz/public_html/ShippingZClasses.php Line: 1698 Message: Cannot modify header information - headers already sent by (output started at /home/storealz/public_html/ShippingZMagento.php:1174) Trace: ShippingZ_Exception_Error_Handler("2", "Cannot modify header information - headers already sent by (outp...", "/home/storealz/public_html/ShippingZClasses.php", "1698", Array[1]) header("Pragma: public") ShippingZGenericShoppingCart.Display_XML_Output(Ob ject:XMLWriter) ShippingZGenericShoppingCart.SetXmlError("1", "Shipping plugin connection successful! Token required for additi...") ShippingZGenericShoppingCart.ExecuteCommand()
SHIPPINGZCLASSES Version: 4.0.10.7497 Error Type: 2 File: /home/storealz/public_html/ShippingZClasses.php Line: 1698 Message: Cannot modify header information - headers already sent by (output started at /home/storealz/public_html/ShippingZMagento.php:1174) Trace: ShippingZ_Exception_Error_Handler("2", "Cannot modify header information - headers already sent by (outp...", "/home/storealz/public_html/ShippingZClasses.php", "1698", Array[1]) header("Pragma: public") ShippingZGenericShoppingCart.Display_XML_Output(Ob ject:XMLWriter) ShippingZGenericShoppingCart.SetXmlError("1", "Shipping plugin connection successful! Token required for additi...") ShippingZGenericShoppingCart.ExecuteCommand()
So the SR connection wizard is finding my website and the SR plugin thereon (in the ShippingZMagento.php file), but the SR API is not "defined" so it can't open and it can't connect.
This is line 1174 in the ShippingZMagento.php file: $this->_eventManager = $shiprush_eventManager;
and here is the code that preceeds line 1174 (it starts at line 1161):
class Magentoapp
extends \Magento\Framework\App\Http
implements \Magento\Framework\AppInterface
{
protected $_objectManager;
public $shiprush_eventManager;
public function __construct(\Magento\Framework\ObjectManagerInterf ace $objectManager)
{
$this->_objectManager = $objectManager;
if(stristr(PHP_OS, 'LINUX'))
{
$this->_eventManager = $shiprush_eventManager;
}
}
extends \Magento\Framework\App\Http
implements \Magento\Framework\AppInterface
{
protected $_objectManager;
public $shiprush_eventManager;
public function __construct(\Magento\Framework\ObjectManagerInterf ace $objectManager)
{
$this->_objectManager = $objectManager;
if(stristr(PHP_OS, 'LINUX'))
{
$this->_eventManager = $shiprush_eventManager;
}
}
I do not know php programming and have no idea what this means, other than it seems not to be working. Does anyone see a problem with this code, or have any other idea why my store and ShipRush are unable to connect?
Thank you,
John