Error in receipt page after clicking on register button

MVP Expert
MVP Expert
Problem:

This article describes an issue when register button is clicked on guest self-registration page, receipt page is empty with no login button.  

This could occur if there is a miss configuration on the receipt page. Fields like username, password, expiration time, etc may not be shown and no login button will be prompted. 

Sample output of receipt page is shown below: 



Diagnostics:

This could occur if there is a miss configuration on the receipt page. Fields like username, password, expiration time, etc may not be shown and no login button will be prompted. 

If verified from the application logs, below is the error message for the receipt page:

 

2018-02-01 01:49:32
10.20.23.28
admin
error
Unhandled exception: Too few arguments to function NwaImplodeComma(), 0 passed in /opt/amigopod/www/_include/NwaCore/NwaApplyDisplayValueGenerator.func.php on line 62 and at least 1 expected
Unhandled exception: Too few arguments to function NwaImplodeComma(), 0 passed in /opt/amigopod/www/_include/NwaCore/NwaApplyDisplayValueGenerator.func.php on line 62 and at least 1 expected
Client:    10.20.23.28:62560
App User:  admin
Script:    /guest/cmc_sponsoring_2.php
Function:  NwaExceptionHandler
Arguments: array (
)
Details:   array (
  'message' => 'Too few arguments to function NwaImplodeComma(), 0 passed in /opt/amigopod/www/_include/NwaCore/NwaApplyDisplayValueGenerator.func.php on line 62 and at least 1 expected',
  'file' => '/opt/amigopod/www/_include/NwaCore/StdString.php',
  'line' => 1413,
  'trace' => '#0 /opt/amigopod/www/_include/NwaCore/NwaApplyDisplayValueGenerator.func.php(62): NwaImplodeComma()
  #1 /opt/amigopod/www/_include/NwaCore/function.nwa_form.php(279): NwaApplyDisplayValueGenerator(Object(Smarty), Array)
  #2 /opt/amigopod/www/_templates_c/^%%5D^5DA^5DAA36C2%%guest_register.html.php(63): smarty_function_nwa_form(Array, Object(Smarty))
  #3 /opt/amigopod/www/_include/Smarty/Smarty.class.php(1265): include(\'/opt/amigopod/w...\')
  #4 /opt/amigopod/www/_include/Smarty/Smarty.class.php(1108): Smarty->fetch(\'guest_register....\', NULL, \'\', true)
  #5 /opt/amigopod/www/_include/NwaCore/WebPresentation.php(377): Smarty->display(\'guest_register....\')
  #6 /opt/amigopod/www/_include/NwaCore/WebPresentation.php(504): NwaWebPage_SmartyDisplay(Object(Smarty), \'guest_register....\')
  #7 /opt/amigopod/www/_include/NwaCore/NwaWebNotify.class.php(71): NwaWebPageDisplay(Array, Object(Smarty), \'guest_register....\')
  #8 /opt/amigopod/www/_include/NwaCore/WebPresentation.php(943): NwaWebNotify->InitPage()
  #9 /opt/amigopod/www/_include/NwaCore/WebPresentation.php(1004): NwaWebForm2(Array, \'guest_register....\')
  #10 /opt/amigopod/www/_include/NwaCore/WebPresentation.php(1109): NwaWebForm3(Array, \'guest_register....\', \'/guest/cmc_spon...\', \'cmc_sponsoring_...\')
  #11 /opt/amigopod/www/_include/NwaCore/GuestManagement.php(1568): NwaWebUI(Array, \'guest_register....\', \'/guest/cmc_spon...\', \'cmc_sponsoring_...\', NULL, NULL)
  #12 /opt/amigopod/www/guest_register.php(169): NwaGuestRegisterWebUI(Array, \'cmc_sponsoring_...\', NULL, NULL)
  #13 /opt/amigopod/www/platform_custom_page.php(19): include_once(\'/opt/amigopod/w...\')
  #14 {main}',
)


Solution

To resolve this issue we need to verify all the fields advanced properties. In this example, all the fields are mapped incorrectly. 

If we revert these settings to default, receipt page should display all the fields correctly. 

Version history
Revision #:
2 of 2
Last update:
‎09-21-2018 05:36 AM
Updated by:
 
Labels (1)
Contributors
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: