Joomla Forum

Joomla Hacks => Mambo-SMF 1.1x => Topic started by: Kindred on March 24, 2005, 10:11:11 AM



Title: Registration issues....
Post by: Kindred on March 24, 2005, 10:11:11 AM
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

--------------------------------------------------------------------------------


Title: Re: Registration issues....
Post by: Editor (cowboy) on March 24, 2005, 01:37:13 PM
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.


Title: Re: Registration issues....
Post by: Lifeischoice on March 24, 2005, 04:40:51 PM
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.  :)


Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com