Jump to content

Authentication Error


Recommended Posts

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 746

Warning: 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

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.

  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...

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

  • 2 months later...
  • 2 months later...
×
×
  • Create New...