l_raath Posted May 19, 2014 Share Posted May 19, 2014 I get the following error when a client goes to checkout as a guest (or isn't signed in to his account) Warning: parse_url(/authentication?multi-shipping=0&display_guest_checkout=0&back=http://creativecandles.co.za/order?step=1&multi-shipping=0) [function.parse-url]: Unable to parse URL in/home2/lannie/public_html/creativecandles.co.za/classes/Dispatcher.php on line 746Warning: Cannot modify header information - headers already sent by (output started at /home2/lannie/public_html/creativecandles.co.za/classes/Dispatcher.php:746) in/home2/lannie/public_html/creativecandles.co.za/classes/controller/FrontController.php on line 790 What do I need to do? Link to comment Share on other sites More sharing options...
El Patron Posted May 19, 2014 Share Posted May 19, 2014 Hi, can the customer complete the transaction? Warnings like this do not terminate the script, so if they can complete the registration/checkout etc. then turn off errors. Link to comment Share on other sites More sharing options...
Lenin Meza Posted May 22, 2014 Share Posted May 22, 2014 Hi, the URL is the next: http://domain.com/es/autenticacion?multi-shipping=0&display_guest_checkout=0&back=http%3A%2F%2Fdomain.com%2Fes%2Fcarrito%3Fstep%3D1%26multi-shipping%3D0 I need to modify the next file: /classes/Dispatcher.php Line 746: if (!preg_match('/\.(gif|jpe?g|png|css|js|ico)$/i', parse_url( Context::getContext()->language->iso_code . $this->request_uri, PHP_URL_PATH))) I added the language ISO Code. Best Regards. 3 Link to comment Share on other sites More sharing options...
taoufiqaitali Posted June 4, 2014 Share Posted June 4, 2014 Hi, the URL is the next: http://domain.com/es/autenticacion?multi-shipping=0&display_guest_checkout=0&back=http%3A%2F%2Fdomain.com%2Fes%2Fcarrito%3Fstep%3D1%26multi-shipping%3D0 I need to modify the next file: /classes/Dispatcher.php Line 746: if (!preg_match('/\.(gif|jpe?g|png|css|js|ico)$/i', parse_url( Context::getContext()->language->iso_code . $this->request_uri, PHP_URL_PATH))) I added the language ISO Code. Best Regards. what is the role of the ISO code that you added ?? Link to comment Share on other sites More sharing options...
Photonica Posted August 19, 2014 Share Posted August 19, 2014 Thank you Lenin Meza. I had the same problem, but everything is ok now (: Link to comment Share on other sites More sharing options...
megabaig Posted November 19, 2014 Share Posted November 19, 2014 Thanks Lenin Meza!!, the proposed solution works correctly. Best Regards. Link to comment Share on other sites More sharing options...
Recommended Posts