NetTalk Central

Author Topic: Eeekkk - Save has stopped working  (Read 7929 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Eeekkk - Save has stopped working
« on: February 16, 2012, 09:24:08 AM »
I have just had some problems and reset my C8 IDE and all is working again as expected. At the same time I updated to C8 8778 and NT6.20

All seems fine and the clean compile copied the web folder across. When I ran the app it suggested I use CTRL/F5 to update the web folder which I did.

I did notice this prior to NT6.20 however ...

In my app, on ANY form when I press SAVE it does nothing. I can't save any record at all. Also I cannot Delete any records.

I tried deleting the data folder in case something had happened with permissions but nothing seems to work.

Any ideas please? BTW I recompiled the demo apps and they are fine so I do not think it can be C8 or NT6.20 but no idea why my apps are affected.

John

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Eeekkk - Save has stopped working
« Reply #1 on: February 16, 2012, 02:03:27 PM »
Now I am getting very worried.

Here is the server information which seems to show that when I press OK the actual value entered into the field is correct. However the record is not saved. Press Save and nothing happens at all and I have to cancel.

Yet a demo app is working fine it seems.

Is there anyone who might be able to point me where to look to see what could have changed. I have not actually changed anything but I know sometimes these things happen but not really sure where to look for the cause.

Thanks

John

[attachment deleted by admin]

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Eeekkk - Save has stopped working
« Reply #2 on: February 16, 2012, 03:07:40 PM »
not really sure but this is what I would try...

If multi-dll recompile all apps

If single exe, change something in the webserver like session timeout. Also go into your global data and just drill down through a field so this triggers full recompile.

Make sure 200% that the web folder is updated and correct, you have copied the nettalk dll across (if req) etc...

Failing all that drop a few trace calls in to see whats happening.

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Eeekkk - Save has stopped working
« Reply #3 on: February 16, 2012, 04:56:24 PM »
Thansk Kevin. Thinking it was to do with the web folder I copied that from the working app to the non working app including the runtime dll's (Clarion). This is a single exe app.

Still no joy. So it seems something unique to my app although another app of mine is doing the same and I have not changed that at all. Plus it is in another folder.

The problem is I really do not know where to put the trace calls and what to even look for.

Oh I also turned of Suppress Error Messages in the templates but no error messages come up. So it is very strange.

if it was NT6 or Clarion persay then the demo apps would not work.

Thanks

John

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Eeekkk - Save has stopped working
« Reply #4 on: February 16, 2012, 05:45:58 PM »
Well I have tried everything now that I know how to do.

I feel I can rule out the version of NT6 and Clarion. I am sure it is something I have done but cannot see what.

Have attached the app and dct and all it needs is the Data folder (plus the usual NT stuff). I installed it onto another machine we use just for testing and same thing there. That does not have Clarion on it and saving the record does not work either.

So a bit stumped on this one. If anyone can show me what an idiot I am I would be genuinely grateful!

Oh I should also say that this is a NEW solution based on the existing dictionary. So there is only line of handcode in there to define the tps file path in the WebHandler. The rest is wizard based.

That leads me to believe it is the dictionary causing this and what I am currently investigating.

Thanks

John

[attachment deleted by admin]
« Last Edit: February 16, 2012, 06:33:53 PM by John Fligg »

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Eeekkk - Save has stopped working
« Reply #5 on: February 16, 2012, 06:55:40 PM »
drop some trace calls in the validaterecord embed and podtinsert and postupdate.

sounds to me like something in the data is not being primed and therefore failing at the validaterecord embed without throwing a message.

I would also check the cs_message log if you are using it - that's the first place I look when things stop working.

RayA

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • My Web Site
    • Email
Re: Eeekkk - Save has stopped working
« Reply #6 on: February 16, 2012, 09:39:31 PM »
Sorry Guys I just started a new topic on this.  I did not see this one.  I am having the same problem since I upgreaded to 6.20.  Save is broken on popup forms.  If the form is called as a non popup it works fine but when called as a popup it seems broken and you have to press cancel.


Any Thoughts?

Ray Abadie
U.S.A.

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: Eeekkk - Save has stopped working
« Reply #7 on: February 16, 2012, 09:50:50 PM »
Force the webserver procedure to regenerate, by changing some setting thee.

estadok

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • EstaSoft
    • Email
Re: Eeekkk - Save has stopped working
« Reply #8 on: February 16, 2012, 11:36:35 PM »
I deleted all files except app and dct and make webapp again, but still not work. If i copy old web folder everything looks fine.
« Last Edit: February 17, 2012, 12:13:05 AM by estadok »
Clarion 9.0.10376
NetTalk 7.26
SecWin 6.25
StringTheory 1.92

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Eeekkk - Save has stopped working
« Reply #9 on: February 17, 2012, 12:11:10 AM »
Ditto - definitely popup related I believe.

John

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Eeekkk - Save has stopped working
« Reply #10 on: February 17, 2012, 01:09:05 AM »
I'm making a 6.21 build to sort this out, but in the meantime I've attached an updated .js file for those who are having an immediate problem.

this goes (unzipped) into your \web\scripts folder.

Cheers
Bruce


[attachment deleted by admin]

Matthew

  • Full Member
  • ***
  • Posts: 137
    • View Profile
    • Email
Re: Eeekkk - Save has stopped working
« Reply #11 on: February 17, 2012, 01:09:35 AM »
The same problem.

Save button stopped working.

Regards,
Matthew

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Eeekkk - Save has stopped working
« Reply #12 on: February 17, 2012, 01:53:16 AM »
Anyone got the fix working. Does not work for me. Added to C8 NT6 folder. Recreated app from scratch. Copy and gzip ran. Script file date seems OK. But still broken.

John

RayA

  • Newbie
  • *
  • Posts: 43
    • View Profile
    • My Web Site
    • Email
Re: Eeekkk - Save has stopped working
« Reply #13 on: February 17, 2012, 07:47:51 AM »
John,

Works fine now here.   Have you tried touching something in the nettalk temp in the webserver to force a web folder update and a compile of that proc.

Also just a thought, did you install 6.21 instead of 6.20? 

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
Re: Eeekkk - Save has stopped working
« Reply #14 on: February 17, 2012, 08:00:30 AM »
Yes all working now. I had copied the js file to the correct folder. One app worked. Not another despite clearing all old files etc.

Anyway installed 6.21 and all seems fine now.

Thanks

John