Tags:
create new tag
view all tags

SID-01928: Registration Form Rendering Issue

Status: Answered Answered TWiki version: 6.0.0 Perl version: 5.18.2
Category: CategoryRendering Server OS: Ubuntu Last update: 10 years ago

Sequence of activity:

1) Go to TWikiRegistration page

2) Click on EDIT

3) Without changing anything, press save

4) First row of the form is not rendered correctly. [First name & Last name are showing plain html instead of rendered information]

-- Rohit Srivastava - 2014-05-26

Discussion and Answer

Not sure what happened. To recover, go to "more topic actions", "restore topic to revision", and enter the revision number of one less than the top revision.

-- Peter Thoeny - 2014-05-26

I recommend to always edit system topics in raw edit mode.

-- Peter Thoeny - 2014-05-26

Hi Peter, thanks for the answers. I checked again, and this time i edited raw html, however, issue repeats. There is some HTML text which is getting garbled when Twiki tries to save the page. I needed to edit the page, as to include the permission settings to be viewed only by administrators. Is there any method to bypass Twiki translation, and directly update the raw html ?

On further analysis: This first table row: = <td><span class="WYSIWYG_PROTECTED"><input type="text" name="Twk1Name" size="40" value="" onBlur="var sIn = this.value; var sOut = ''; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var ch2 = ''; if( (ch=='à')||(ch=='á')||(ch=='â')||(ch=='ã')||(ch=='å') ) { ch = 'a'; } if( (ch=='è')||(ch=='é')||(ch=='ê') ) { ch = 'e'; } if( ch=='ç') { ch = 'c'; } if( ch=='ó') { ch = 'o'; } if( ch=='ä') { ch = 'a'; ch2 = 'e'; } if( ch=='ö') { ch = 'o'; ch2 = 'e'; } if( ch=='ü') { ch = 'u'; ch2 = 'e'; } if( ch=='Ä') { ch = 'A'; ch2 = 'e'; } if( ch=='Ö') { ch = 'O'; ch2 = 'e'; } if( ch=='Ü') { ch = 'U'; ch2 = 'e'; } if( ch=='ß') { ch = 's'; ch2 = 's'; } if( ((ch></span>='a')&&(ch<='z')) || ((ch>='A')&&(ch<='Z')) ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { if( ch==' ' ) { chgUpper = true; } } } this.form.Twk1WikiName.value=sOut;" > <span class="WYSIWYG_TT"><font color="red">**</font></span></td> =

Is replaced with this: This has an additional <td> in the middle of a function. === td colspan="2"><span class="WYSIWYG_PROTECTED"><input type="text" name="Twk1Name" size="40" value="" onBlur="var sIn = this.value; var sOut = ''; var chgUpper = true; for ( var i = 0; i < sIn.length; i++ ) { var ch = sIn.charAt( i ); var ch2 = ''; if( (ch=='à')||(ch=='á')||(ch=='â')||(ch=='ã')||(ch=='å') ) { ch = 'a'; } if( (ch=='è')||(ch=='é')||(ch=='ê') ) { ch = 'e'; } if( ch=='ç') { ch = 'c'; } if( ch=='ó') { ch = 'o'; } if( ch=='ä') { ch = 'a'; ch2 = 'e'; } if( ch=='ö') { ch = 'o'; ch2 = 'e'; } if( ch=='ü') { ch = 'u'; ch2 = 'e'; } if( ch=='Ä') { ch = 'A'; ch2 = 'e'; } if( ch=='Ö') { ch = 'O'; ch2 = 'e'; } if( ch=='Ü') { ch = 'U'; ch2 = 'e'; } if( ch=='ß') { ch = 's'; ch2 = 's'; } if( ((ch></span>='a')&&(ch<='z'))</td> <td>((ch>='A')&&(ch<='Z')) ) { if( chgUpper ) { ch = ch.toUpperCase(); chgUpper = false; } sOut+=ch; if( ch2!='') { sOut+=ch2; } } else { if( ch==' ' ) { chgUpper = true; } } } this.form.Twk1WikiName.value=sOut;" > <span class="WYSIWYG_TT"><span class="WYSIWYG_COLOR" style="color: #ff0000;">**</span></span></td>

==

-- Rohit Srivastava - 2014-05-27

I guess the embedded function OR sign "||" in a wiki table is causing the problem, as it is interpreted as table formatting symbol "|" . Is there anyway to escape a char as not to be interpreted by wiki translator ?

-- Rohit Srivastava - 2014-05-27

Before you do a raw edit, make sure that you revert to a page version that looks normal.

-- Peter Thoeny - 2014-05-27

Did complete re-install of Twiki and including apache server as well. However, there are many strange issues with version 6. I am unable to even login as an 'admin', though the same password works for configure. There are no error messages. The registration form (without any change) doesnt work, and again there are no error messages to investigate the issue. I have done Twiki installation and administration of previous twiki releases about 5 years back, and this was my new attempt, however i guess i have to give up on this after 3 days of effort. I will try my luck with something else.

-- Rohit Srivastava - 2014-05-29

Did you use the use the ApacheConfigGenerator?

BTW, you can save money by hiring one of the TWiki consultants if you are stuck.

-- Peter Thoeny - 2014-05-29

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- Peter Thoeny - 2015-12-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Registration Form Rendering Issue
SupportCategory CategoryRendering
TWiki version 6.0.0
Server OS Ubuntu
Web server Apache 2.4.7
Perl version 5.18.2
Browser & version Chrome 34.0.1847.137
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.