Search the Community
Showing results for tags 'guest'.
-
Hi OSCOMMERCE/PHP experts! I am searching for this error for two days now and I still cannot locate this strange behaviour. I installed the following plugin "Consolidated Login Page with Guest Checkout" and it works like a charm (at least that is what I thought). I found an error now that I just cannot track down. If someone checks out using a German Umlaut (äöüß) in one of the fields of the form he is redirected from the checkout_shipping.php to the login.php due to the customer_id is no longer registered or valid. This is the part of the code in the checkout_shipping.php that redirects him // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } Without any Umlaut it is no problem at all, he is forwarded to the checkout. Apparently the whole session is destroyed, because the cart is empty afterwards, too. I just cannot find any difference between the handling of the (apparently) same form in the login.php compared to a "regular" registered user where using an Umlaut is no problem at all. It seems that some function is called that has problems with these special characters, but is only used when the guest flag is set and the guest checkout is used therefore destroying the whole session. At least that is the only thing I could imagine.... Has anyone any hint where I could search or point me in the right direction what could cause this error / or anyone installed this plugin, too and can try, if the same error happens - I'm searcing for days now, it's driving me crazy... :) Thanky you!!! Robert PHP 5.3.29 / OsCommerce 2.3.3.4
-
Hi am hoping someone can help with this as I have tried to install this module but got stuck near the end process. Restored all the files that was told to delete or modify with the backup files I took but get this error when trying to create an account now: Fatal error: require() [function.require]: Failed opening required 'includes/languages/english/create_account.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in/home5/fantata1/public_html/store/create_account.php on line 16 Can someone help please. At this stage just want to be able to fix this so people can create an account like before.