NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Ubaidullah on June 11, 2023, 12:40:36 PM

Title: Next freezes browse
Post by: Ubaidullah on June 11, 2023, 12:40:36 PM
Hi,

I have Wizarded NetWeb app. One SQL table.

When I click on Next, or search or do any navigation, the browse freezes.

If I clock Ctrl-F5, it performs the navigation action i.e. if it was Next, goes to the next page, if search, shows the results, etc.

No embedded code or any changes to default settings.

What could I be doing wrong here?

Nettalk 12.61

Regards,
Ubaidullah Nubar.
Title: Re: Next freezes browse
Post by: seanh on June 11, 2023, 02:34:48 PM
Activate Clarion driver trace and look at that.  It could be an error occurring, NTWS is not good with errors from the file system.
Title: Re: Next freezes browse
Post by: Ubaidullah on June 11, 2023, 08:48:19 PM
Thanks for the reply, Sean.

Checked driver trace. No errors.

Compared against other SQL NetWeb applications that are working fine. Found no difference.

Except that this table had a couple of Arabic fields.

Removed them from the browse and the problem went away.

Wonder why. Will need to investigate this further later. WebServer settings charset is set to utf-8.

Bruce, should Unicode fields be handled differently?

I did an app with Spanish columns sometime back and it didn't have any issues.

Regards,
Ubaidullah Nubar.


Title: Re: Next freezes browse
Post by: DonRidley on June 12, 2023, 03:04:06 AM
Ubaidullah,

I would debug your HTML.

The fields in question may be causing an error in your HTML which would cause your browse to stop working on that particular page of records.
Title: Re: Next freezes browse
Post by: Ubaidullah on June 12, 2023, 03:20:35 AM
There isn't any hand-coded or added HTML. It's all Wizard generated.

I deleted the XHTML added by the wizard in the PageHeaderTag and PageFooterTag procedures also.

For now, I have removed the Arabic fields and will try to figure it out in a test app.

Regards,
Ubaidullah Nubar.
Title: Re: Next freezes browse
Post by: DonRidley on June 12, 2023, 04:41:21 AM
There isn't any hand-coded or added HTML. It's all Wizard generated.

Trust me.  Check your HTML.

I'm not saying the wizarded procedure was generated wrong.  I suspect it is attempting to display exactly what is in the database.

Right click on the browser on that offending browse and select "view source."  Any incorrect HTML code should be red if I remember correctly.

Like I said...trust me.  :)

Don
Title: Re: Next freezes browse
Post by: Ubaidullah on June 12, 2023, 05:00:19 AM
Ok. I trust you on this  :)

Will update what I find out.

Regards,
Ubaidullah Nubar.
Title: Re: Next freezes browse
Post by: Bruce on June 13, 2023, 06:48:16 PM
What don said.
Something in the data you are displaying is not valid xhtml, and you have a column with allow xhtml turned on.

Cheers
Bruce
Title: Re: Next freezes browse
Post by: Ubaidullah on June 13, 2023, 09:35:22 PM
None of the columns have xhtml turned on as this a wizard generated app with no any changes.

I have removed the Arabic columns for now.

I will add them back again and see what's happening to the html as Don suggested.

Regards,
Ubaidullah Nubar.
Title: Re: Next freezes browse
Post by: Vinnie on June 13, 2023, 10:36:16 PM
Also you can check that HTML Scipts are checked on in the WebServer Extensions Tab
 Scripts Tab
Check TinyMCE HTML Editor

Just a tought
Cheers

Vinnie


Title: Re: Next freezes browse
Post by: Jane on June 20, 2023, 06:00:26 PM
I just had a similar thing happen, Ubaidullah, with a simple wizarded app using one TPS table.

After much hair pulling I found that completely clearing Chrome's history fixed the issue.  (I first tried uninstalling and reinstalling Chrome, but without marking the "clear history" checkbox, and that did not fix it.)

In my case I had discovered that other browsers were able to page through the browse successfully.  I presume you've tried other browsers and/or other client computers?

Cheers,

Jane
Title: Re: Next freezes browse
Post by: aren1968 on July 10, 2023, 10:21:00 PM
I have the same problem.
Charset in webserver settings is UTF-8
Store data as : Scandinavian (windows-1252)
If I remove text fields from the browse then next and previous buttons will function.
Also the browse freeze when I try to do a search, or sort the browse by headers.
Tried edge browser, same problem.
No errors in the html.

Cheers

Are
Title: Re: Next freezes browse
Post by: Bruce on July 11, 2023, 10:48:31 PM
the text in your text fields is not valid XML.
it needs to be valid HTML, and valid XML at the same time.

Cheers
Bruce