Scriptcase 9.10.17 abruptly crashes and reloads to login screen

Dear Scriptcase,

I recently updated to the latest version of Scriptcase (09.10.17. I am running on PHP 8.1.12. I upgraded from the PHP 7.3x environment on February 28, 2024. I have noted on various occasions that the Scriptcase environment would suddenly crash and restart. I have found that the crash happens when I am saving (or trying to save) a change to code either within an external library or a Scriptcase form of any type.

My first thought is that there is a bug, but there is the possibility that this issue could be related to the internal database that Scriptcase uses to keep track of various entries.

Is there a tool that we can use that can check or re-index the database used to store Scriptcase code?
If there is not a way to do this and then consider a tool/option to perform a check within the Scriptcase Environment?

Thank you!

I think I isolated the issue on 04/22/2024. I was working in Scriptcase editing an External Library:

  1. I saved the changes within the library file
  2. Selected the “Home” tab
  3. Clicked on the “Tasks to be done” yellow box
  4. Scriptcase imediately reset to the login window (a crash per se’).

This happens at variouse times AFTER working in an External Library.

Actually I have it happen outside of external library work. I’ll be saving a change in an app and wham…back to login. Of course I can’t log back in then. I have to reboot. Then go into TablePlus and clear entries in a couple tables. About 80% of the time it lets me back in. The other 20% I have to wait until there is a time out.

I have exactly the same problem in the latest update ( 9.10.017 (6)). I click on a tab thats already there in the IDE and it just crashes to login screen. Its very frustrating as you then lose where you are up to and need to backtrack.

I was able to confirm this as a “bug”. I happen to go into my code and make some changes in the External Library. I saved them. No problem. I wanted to add some notes so instead of clicking on the “To Do” bubble (yellow) I simply clicked on the “ToDo” option to bring up the ToDo panel and then Scriptcase crashes and restarts.

This DOES NOT happen if you log into Scriptcase and go directly to your “ToDo” lists. Somehow it just appears to happen if you work on an External Library and then try to go into “ToDo”.

My thinking is this will be a minor fix for NetMake (but anoying to Developers).

Doing additional research, the “bug” actually has to do with possibly two settings in Scriptcase “System Settings”.

Apparently, each time we upgrade Scriptcase these settings get set back to a Default. That isn’t a problem if we are made aware of the “ScriptCase Session Timeout (min)”…

If you happen to be working in Scriptcase in the Code Editor for example the editor will stay up until you Save or Cancel the window. Once that happens if the allotted time runs out Scriptcase automatically resets to the login screen. That happened to me in various places. You see, Scriptcase doesn’t check this value until you clock on another menu item in the interface.

In the Scriptcase environment an easy fix would be to have a popup warning. The Warning could be triggered once the developer exists a window in the IDE. The warning would give the developer an option to “Close” or “Extend” the ““ScriptCase Session Timeout (min)”” time.

Thoughts on this as a possible solution for NetMake to add support for??? Always open to new suggestions. Have a great day everyone!!!

I’d guessed it was to do with a timeout (without any evidence) and adjusted mine… as per my post here.
https://forum.scriptcase.net/t/notes-regarding-new-version-9-10-017-6/33415/6?u=ibatey
Glad to see you’ve worked out the logic of why it suddenly appeared!