Forums › Forums › OroCRM › OroCRM – Installation/Technical Issues or Problems › Connection OroCRM Magento fails
This topic contains 3 replies, has 2 voices, and was last updated by homerj 7 years, 6 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- March 2, 2016 at 12:33 am #27023
Hi guys,
I am not able to connect my OroCRM 1.9.0 installation to my Magento 1.9.2.2 CE installation.
I installed the Magento Bridge, created a user and a user group, and tried to set up a channel in OroCRM.
Now i get an error like ‘Parameters invalid’, everytime i try to set up the channel.My error log shows an entry like this everytime i click on Test connection:
1[2016-03-02 09:17:50] app.CRITICAL: MageCheck error: 0: SOAP-ERROR: Parsing WSDL: Couldn't load from '/var/www/vhosts/mysite/crm-application/app/cache/prod/oro/wsdl.cache/c01e0f13ae18acad813f13dc4844f12c.wsdl' : Document is empty [] []There are no errors on the Server, Magento is running on.
I already Cleared the cache about 20 times, disbled the WSDL cache, deleted all /tmp/ cache items and double checked the API credentials.
There is also no Apache authentication blocking the request.Is there something I am missing?
Thanks in advance.
Cheers,
homerj - CreatorTopic
- AuthorReplies
- August 5, 2016 at 2:26 am #27024
Hi I have the same problem,
Did you fix the problem?
This is my /app/log/dev.log
PHP12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364[2016-08-05 09:19:17] request.INFO: Matched route "orocrm_magento_soap_check". {"route_parameters":{"_controller":"OroCRM\\Bundle\\MagentoBundle\\Controller\\SoapController::checkAction","_route":"orocrm_magento_soap_check"},"request_uri":"http://demo.magestore.com/crm/canifa/web/app_dev.php/magento/check?type=magento"} [][2016-08-05 09:19:17] security.DEBUG: Read existing security token from the session. {"key":"_security_main"} [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT t0.phone AS phone_1, t0.title AS title_2, t0.googleId AS googleId_3, t0.id AS id_4, t0.username AS username_5, t0.email AS email_6, t0.name_prefix AS name_prefix_7, t0.first_name AS first_name_8, t0.middle_name AS middle_name_9, t0.last_name AS last_name_10, t0.name_suffix AS name_suffix_11, t0.birthday AS birthday_12, t0.enabled AS enabled_13, t0.last_login AS last_login_14, t0.createdAt AS createdAt_15, t0.updatedAt AS updatedAt_16, t0.password AS password_17, t0.salt AS salt_18, t0.login_count AS login_count_19, t0.confirmation_token AS confirmation_token_20, t0.password_requested AS password_requested_21, t0.password_changed AS password_changed_22, t0.business_unit_owner_id AS business_unit_owner_id_23, t0.status_id AS status_id_24, t0.organization_id AS organization_id_25, t0.avatar_id AS avatar_id_26 FROM oro_user t0 WHERE t0.username = ? LIMIT 1 ["admin"] [][2016-08-05 09:19:17] security.DEBUG: User was reloaded from a user provider. {"username":"admin","provider":"Symfony\\Component\\Security\\Core\\User\\ChainUserProvider"} [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT o0_.id AS id_0, o0_.name AS name_1, o0_.description AS description_2, o0_.created_at AS created_at_3, o0_.updated_at AS updated_at_4, o0_.enabled AS enabled_5 FROM oro_organization o0_ WHERE o0_.id = ? [1] [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT t0.id AS id_1, t0.name AS name_2, t0.description AS description_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.enabled AS enabled_6 FROM oro_organization t0 INNER JOIN oro_user_organization ON t0.id = oro_user_organization.organization_id WHERE oro_user_organization.user_id = ? [1] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\FormatListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "FOS\RestBundle\EventListener\BodyListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\InstallerBundle\EventListener\RequestListener::onRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\LocaleBundle\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Knp\Bundle\MenuBundle\EventListener\VoterInitializerListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Nelmio\ApiDocBundle\EventListener\RequestListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "BeSimple\SoapBundle\EventListener\RequestFormatListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Lexik\Bundle\MaintenanceBundle\Listener\MaintenanceListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\UIBundle\EventListener\ContentProviderListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\SecurityBundle\Http\Firewall\ContextListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\DataAuditBundle\EventListener\KernelListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\SidebarBundle\EventListener\RequestHandler::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\NavigationBundle\Event\AddMasterRequestRouteListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\NavigationBundle\Twig\HashNavExtension::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Stof\DoctrineExtensionsBundle\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\SoapBundle\EventListener\LocaleListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\LayoutBundle\EventListener\ThemeListener::onKernelRequest". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.request" to listener "Oro\Bundle\NavigationBundle\Event\RequestTitleListener::onKernelRequest". [] [][2016-08-05 09:19:17] security.DEBUG: Invoked controller "OroCRM\Bundle\MagentoBundle\Controller\SoapController::checkAction". (MASTER_REQUEST) [] [][2016-08-05 09:19:17] security.DEBUG: Check an access using "oro_integration_update" ACL annotation. [] [][2016-08-05 09:19:17] security.DEBUG: ACL found, permission granted. Voting to grant access. [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "A2lix\TranslationFormBundle\EventListener\ControllerListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Oro\Bundle\EmailBundle\EventListener\MailboxAuthorizationListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Oro\Bundle\SecurityBundle\EventListener\ControllerListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController". [] [][2016-08-05 09:19:17] event.DEBUG: Notified event "kernel.controller" to listener "Oro\Bundle\HelpBundle\EventListener\HelpLinkRequestListener::onKernelController". [] [][2016-08-05 09:19:17] doctrine.DEBUG: SHOW FULL TABLES WHERE Table_type = 'BASE TABLE' [] [][2016-08-05 09:19:17] doctrine.DEBUG: SELECT o0_.id AS id_0, o0_.wsdl_url AS wsdl_url_1, o0_.api_user AS api_user_2, o0_.api_key AS api_key_3, o0_.sync_start_date AS sync_start_date_4, o0_.initial_sync_start_date AS initial_sync_start_date_5, o0_.sync_range AS sync_range_6, o0_.website_id AS website_id_7, o0_.websites AS websites_8, o0_.is_extension_installed AS is_extension_installed_9, o0_.extension_version AS extension_version_10, o0_.magento_version AS magento_version_11, o0_.is_wsi_mode AS is_wsi_mode_12, o0_.guest_customer_sync AS guest_customer_sync_13, o0_.admin_url AS admin_url_14, o0_.mage_newsl_subscr_synced_to_id AS mage_newsl_subscr_synced_to_id_15, o0_.type AS type_16 FROM oro_integration_transport o0_ WHERE (o0_.wsdl_url = ?) AND o0_.type IN ('magentosoaptransport') ["http://dev.appcommerce.biz [...]"] [][2016-08-05 09:19:58] app.CRITICAL: MageCheck error: 0: [message] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://dev.appcommerce.biz/index.php/api/v2_soap/index/?wsdl=1' : Start tag expected, '<' not found [request] <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:login><username xsi:type="xsd:string">orocrm</username><apiKey xsi:type="xsd:string">orocrm</apiKey></ns1:login></SOAP-ENV:Body></SOAP-ENV:Envelope> [response] <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>WSDL</faultcode><faultstring>SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://dev.appcommerce.biz/index.php/api/v2_soap/index/?wsdl=1' : Start tag expected, '<' not found </faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope> [code] 500 [] [][2016-08-05 09:19:58] security.DEBUG: Stored the security token in the session. {"key":"_security_main"} [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bridge\Monolog\Handler\FirePHPHandler::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Oro\Bundle\NavigationBundle\Event\ResponseHistoryListener::onResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Oro\Bundle\NavigationBundle\Event\ResponseHashnavListener::onResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\CacheListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Bundle\WebProfilerBundle\EventListener\WebDebugToolbarListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SaveSessionListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.finish_request" to listener "Symfony\Component\Security\Http\Firewall::onKernelFinishRequest". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.terminate" to listener "Symfony\Bundle\SwiftmailerBundle\EventListener\EmailSenderListener::onTerminate". [] [][2016-08-05 09:19:58] event.DEBUG: Notified event "kernel.terminate" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelTerminate". [] []September 5, 2016 at 3:15 am #27025Hi piavgh,
unfortunately not. It seems you have a different error too.
I reinstalled everything with an older version and somehow it just worked out.Cheers.
homerjSeptember 5, 2016 at 3:16 am #27026closed
- AuthorReplies
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.