Solved the issue. It was on this line of code on the form.
<form name="ecart_checkout_form" action="<?php echo $_SERVER["../PHP_SELF"]; ?>" method="post">
As you can see it is the $_SERVER["../PHP_SELF"] which should have been $_SERVER["PHP_SELF"] this of course happend because I moved the page into another directory.
Problem Solved