OK... this is a strange one. I installed the exact same files on two different servers. On one, the registration worked fine. On another, the registration failed, every time... The user was added to mambo, but not to SMF and the registration aborted to an SMF error page.
The line numbers below are for v1.0 of the component, but v1.1 has the same issues, just different line numbers.
The functions.smf.php errors were fixed by adding the appropriate $variables into the global declarations of the registration function.
The smf.html.php error was fixed by commenting out line 160.
Code:
Notice: Undefined variable: context in /XXX/administrator/components/com_smf/functions.smf.php on line 363
Notice: Undefined variable: db_prefix in /XXX/components/com_smf/smf.html.php on line 160
Notice: Undefined variable: email in /XXX/administrator/components/com_smf/functions.smf.php on line 431
Notice: Undefined variable: email in /XXX/administrator/components/com_smf/functions.smf.php on line 468
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 469
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 470
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 476
Notice: Undefined variable: username in /XXX/administrator/components/com_smf/functions.smf.php on line 477
Notice: Undefined variable: txt in /XXX/administrator/components/com_smf/functions.smf.php on line 477
Hmmm that is really strange. There is probably a difference between those 2 server configuration. But let me look at those lines of code you pointed out. Thanks.
Help with slightly different registration issue in mambo....error display when registering in mambo....mosuser::store failed [.......Unknown column "activation" .... http://www.lifeischoice.com Thanks
Fixed by creating "activation" column in db.
« Last Edit: March 24, 2005, 11:15:48 PM by Lifeischoice »
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE