I installed alac_2.2 onto a 1.3.8a Zen Cart the other day and was dissapointed with two problems immediately apparent. Another slight niggle is common to the way zen cart lets you provide a prefix to your database tables.
- tpl_login_as_customer_default.php uses "<?" style tags to begin its PHP sections. This is configured to be illegal In many modern installations and will cause the customer name fields to appear blank and the login functionality to fail. Change these to "<?php".
- If you're missing the 'Master Password' mod then you will be able to click the new 'Place Order' button on the customer admin page, but the subsequent 'Place Order' button to actually log on as the customer will fail with an 'invalid password' message. It's a very simple modification, just add "if ($plain == MASTER_PASS) { return true; }" as the first line of the zen_validate_password function in includes/functions/password_funcs.php.
- A trivial note: the pass.sql file needs the correct database prefix prepending to the table name, so I changed "INSERT INTO configuration" to "INSERT INTO zen_configuration".


Reply With Quote

