NetTalk Central

Author Topic: Next freezes browse  (Read 5679 times)

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Next freezes browse
« 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.

seanh

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • Email
Re: Next freezes browse
« Reply #1 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.

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Next freezes browse
« Reply #2 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.



DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Next freezes browse
« Reply #3 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.
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Next freezes browse
« Reply #4 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.

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Next freezes browse
« Reply #5 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
« Last Edit: June 12, 2023, 04:43:18 AM by DonRidley »
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Next freezes browse
« Reply #6 on: June 12, 2023, 05:00:19 AM »
Ok. I trust you on this  :)

Will update what I find out.

Regards,
Ubaidullah Nubar.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Next freezes browse
« Reply #7 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

Ubaidullah

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Next freezes browse
« Reply #8 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.

Vinnie

  • Full Member
  • ***
  • Posts: 183
    • View Profile
    • Email
Re: Next freezes browse
« Reply #9 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



Jane

  • Sr. Member
  • ****
  • Posts: 372
  • Expert on nothing with opinions on everything.
    • View Profile
    • Email
Re: Next freezes browse
« Reply #10 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

aren1968

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Email
Re: Next freezes browse
« Reply #11 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Next freezes browse
« Reply #12 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