News:

Wondering if this will always be free?  See why free is better.

Main Menu

Not able to register new accounts

Started by desai_amogh, January 24, 2015, 09:59:45 PM

Previous topic - Next topic

desai_amogh

Getting database error while registering with username and password..

error in screenshot attached ..  please help..



File: /public_html/Sources/Subs-Members.php  is here:
Line: 805

785: foreach ($regOptions['register_vars'] as $var => $val)
786: {
787: $type = 'string';
788: if (in_array($var, $knownInts))
789: $type = 'int';
790: elseif (in_array($var, $knownFloats))
791: $type = 'float';
792: elseif ($var == 'birthdate')
793: $type = 'date';
794:
795: $column_names[$var] = $type;
796: $values[$var] = $val;
797: }
798:
799: // Register them into the database.
800: $smcFunc['db_insert']('',
801: '{db_prefix}members',
802: $column_names,
803: $values,
804: array('id_member')
==>805: );
806: $memberID = $smcFunc['db_insert_id']('{db_prefix}members', 'id_member');
807:
808: // Update the number of members and latest member's info - and pass the name, but remove the 's.
809: if ($regOptions['register_vars']['is_activated'] == 1)
810: updateStats('member', $memberID, $regOptions['register_vars']['real_name']);
811: else
812: updateStats('member');
813:
814: // Theme variables too?
815: if (!empty($theme_vars))
816: {
817: $inserts = array();
818: foreach ($theme_vars as $var => $val)
819: $inserts[] = array($memberID, $var, $val);
820: $smcFunc['db_insert']('insert',
821: '{db_prefix}themes',
822: array('id_member' => 'int', 'variable' => 'string-255', 'value' => 'string-65534'),
823: $inserts,
824: array('id_member', 'variable')
825: );


I have tried disabling the SA Gplus integration plugin, still getting this error.  please help.

Kindred

Try uninstalling the mod completely, not just disabling it
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: