We're experiencing a lot of issues with registration on IE9 and below. Sometimes, the user's registration will go through, but bring them back to the form saying "Please enter your name" but the majority of the time, the registration doesn't go through at all.
I added this code at the very beginning of function store() in /administrator/components/com_virtuemart/models/user.php
jimport('joomla.log.log');
JLog::addLogger(array('text_file'=>'saveuser-log.php'));
JLog::add('<pre>'.print_r($data,true).'</pre>');
Which, from an IE9 or below registration prints this:
2014-02-28T16:34:09+00:00 INFO - <pre>Array
(
[email] =>
[username] => placeholder
[name] =>
[password] =>
[password2] =>
[company] =>
[first_name] =>
[last_name] =>
[phone_1] =>
[vm_companyindustry] => Other
[job_title] =>
[address_1] =>
[address_2] =>
[zip] =>
[city] =>
[virtuemart_country_id] => 223
[virtuemart_state_id] => 47
[task] => saveUser
[address_type] => BT
[co19231491] =>
[option] => com_virtuemart
[controller] => user
[ec30ef8e22c33707ff077617acdb46b8] => 1
[vendor_store_name] =>
[vendor_store_desc] =>
[vendor_terms_of_service] =>
[vendor_letter_css] =>
[vendor_letter_header_html] =>
[vendor_letter_footer_html] =>
)
</pre>
2014-02-28T16:34:09+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2014-02-28T16:34:09+00:00 WARNING deprecated JDate::toMySQL() is deprecated. Use JDate::toSql() instead.
2014-02-28T16:34:09+00:00 WARNING deprecated JDatabase::getErrorNum() is deprecated, use exception handling instead.
2014-02-28T16:34:09+00:00 WARNING deprecated JDatabase::loadResultArray() is deprecated. Use JDatabase::loadColumn().
2014-02-28T16:34:09+00:00 WARNING deprecated JDatabase::getErrorMsg() is deprecated, use exception handling instead.
2014-02-28T16:34:09+00:00 WARNING deprecated JDatabase::loadResultArray() is deprecated. Use JDatabase::loadColumn().
But chrome/firefox/IE10 will have all of the information there.
Any ideas?
Versions? http://forum.virtuemart.net/index.php?topic=79799.0
VM 2.0.24, and a live url is http://www.borrellassociates.com/register/
Turns out it's an IE9 issue. Not sure what the exact cause is, but IE9 was removing the input from the post data making it all blank. Adding a placeholder to the text inputs fixed it up.