Quote from Ronnie on September 21, 2019, 7:12 amHi @luishp,
I've experienced a weird situation with my first fabricjs project sometime back. After a while, adding new objects (button, slider, etc), the scripts does not work anymore. Adding a button with jsalert "hello" doesn't work too. Only the previous objects are still working.
I then decided to restart the project from scratch... and until yesterday, it was working fine - all buttons and actions are working. But today, when I resume my project by adding new buttons, nothing happens, even with the simple jsalert "hello" message. I checked the console, and variables are updated, but not the other actions..
Could there be a memory leak/limit, object quantity limit imposed, or anything that could have contributed to such weird scenarios that I'm facing twice...
To make matter "worst" I copied a working button (Button 1) and then pasted it (Button 2). Clicking on button 1 works, but not for button 2 - both have identical script actions...
Further checks on ACTIONS and VARIABLES tabs shows the script was not executed, and variable not updated too..
Any advice is appreciated... Thanks!
Hi @luishp,
I've experienced a weird situation with my first fabricjs project sometime back. After a while, adding new objects (button, slider, etc), the scripts does not work anymore. Adding a button with jsalert "hello" doesn't work too. Only the previous objects are still working.
I then decided to restart the project from scratch... and until yesterday, it was working fine - all buttons and actions are working. But today, when I resume my project by adding new buttons, nothing happens, even with the simple jsalert "hello" message. I checked the console, and variables are updated, but not the other actions..
Could there be a memory leak/limit, object quantity limit imposed, or anything that could have contributed to such weird scenarios that I'm facing twice...
To make matter "worst" I copied a working button (Button 1) and then pasted it (Button 2). Clicking on button 1 works, but not for button 2 - both have identical script actions...
Further checks on ACTIONS and VARIABLES tabs shows the script was not executed, and variable not updated too..
Any advice is appreciated... Thanks!

Quote from luishp on September 21, 2019, 8:49 amHi @ronnie,
No, there is not any limit other than system memory.
On my experience a single error, even tiny, can cause what you describe.To make matter "worst" I copied a working button (Button 1) and then pasted it (Button 2). Clicking on button 1 works, but not for button 2 - both have identical script actions...
Probably the error is located in between both buttons HTML code.
Everything works until the Browser tries to execute the code with the error, then stops.
Hi @ronnie,
No, there is not any limit other than system memory.
On my experience a single error, even tiny, can cause what you describe.
To make matter "worst" I copied a working button (Button 1) and then pasted it (Button 2). Clicking on button 1 works, but not for button 2 - both have identical script actions...
Probably the error is located in between both buttons HTML code.
Everything works until the Browser tries to execute the code with the error, then stops.
Quote from Ronnie on September 21, 2019, 3:06 pmHi @luishp, thanks for all the help. Couldn’t locate any contributing factor. But that’s not the end of everything, as I usually backup major updates... so nothing major.. just load up earlier version, paste the ‘non-working buttons’ and it works fine.
Hi @luishp, thanks for all the help. Couldn’t locate any contributing factor. But that’s not the end of everything, as I usually backup major updates... so nothing major.. just load up earlier version, paste the ‘non-working buttons’ and it works fine.
Quote from Ronnie on September 28, 2019, 7:12 amHi @luishp, the same problem happened again. When I loaded a previous day's project, and add a button, the new button doesn't work. Even testing the RUN/PLAY button shows server error. Upon further check, it seems like instead of using local test folder, it attempted to access the server URL instead, like
http://www.myproject_test.com/index.html
and error like "Make sure the web address http://www.myproject_test.com is correct."
The same project has been running fine. But once a new simple button is added, the action codes are not executed.
Running from web browser like FireFox, resulted in
Server not found: Hmm. We’re having trouble finding that site. We can’t connect to the server at www.myproject_test.com."
Scenario #1: Running, say v1.0 in browser, URL shows "C:/Projects/myproject_test/index.html#!/Main"
Scenario #2: Running v1.01 with simple extra button, URL shows "my project_text/index.html"
It doesn't make sense. even copy an existing button and pasting it, the newly pasted button don't work. Even rebooting and restarting... doesn't helped. I'm at loss - hopefully you can find the root cause..
Hi @luishp, the same problem happened again. When I loaded a previous day's project, and add a button, the new button doesn't work. Even testing the RUN/PLAY button shows server error. Upon further check, it seems like instead of using local test folder, it attempted to access the server URL instead, like
http://www.myproject_test.com/index.html
and error like "Make sure the web address http://www.myproject_test.com is correct."
The same project has been running fine. But once a new simple button is added, the action codes are not executed.
Running from web browser like FireFox, resulted in
Server not found: Hmm. We’re having trouble finding that site. We can’t connect to the server at http://www.myproject_test.com."
Scenario #1: Running, say v1.0 in browser, URL shows "C:/Projects/myproject_test/index.html#!/Main"
Scenario #2: Running v1.01 with simple extra button, URL shows "my project_text/index.html"
It doesn't make sense. even copy an existing button and pasting it, the newly pasted button don't work. Even rebooting and restarting... doesn't helped. I'm at loss - hopefully you can find the root cause..

Quote from luishp on September 28, 2019, 7:31 amHi @ronnie,
I have been able to reproduce the problem here.
It only happens when working with more than a single project after opening the second one.
Just close all projects (and perhaps VisualNEO Web too) and open again the problematic one.
It will work again.
Use the File > Reopen menu option to open other recently closed projects (if the path appears correct).
Will try to find a fix for this.
Thank you!
Hi @ronnie,
I have been able to reproduce the problem here.
It only happens when working with more than a single project after opening the second one.
Just close all projects (and perhaps VisualNEO Web too) and open again the problematic one.
It will work again.
Use the File > Reopen menu option to open other recently closed projects (if the path appears correct).
Will try to find a fix for this.
Thank you!
Quote from Ronnie on September 28, 2019, 7:43 amOk.. glad u could reproduce... whew! thanks...
I tried... and the it doesn't work. While the URL now shows correctly... the pasted button (copied from a working one) doesn't execute the codes...
Ok.. glad u could reproduce... whew! thanks...
I tried... and the it doesn't work. While the URL now shows correctly... the pasted button (copied from a working one) doesn't execute the codes...
Quote from Ronnie on September 30, 2019, 1:45 pmHi @luishp, any updates on how I can fix the project files. I noticed loading 3 backup projects and then add simply helloworld msg, the script doesn’t pop up and show message. Could there be extra unclosed character that prevented the jsalert msg from executing? Existing buttons prior to the issue works but not newly added ones.
Hi @luishp, any updates on how I can fix the project files. I noticed loading 3 backup projects and then add simply helloworld msg, the script doesn’t pop up and show message. Could there be extra unclosed character that prevented the jsalert msg from executing? Existing buttons prior to the issue works but not newly added ones.

Quote from luishp on October 1, 2019, 9:30 amHi @ronnie,
I think you are facing two different problems here:
1) Correct URL (now you know a workaround)
2) Code error.The error is excuting before you paste the button but you only notice then becouse is the last code executed.
I'm quite sure it's not a VisualNEO Web problem, but something related to your own project.
The only way I can help here is being able to reproduce it.Regards.
Hi @ronnie,
I think you are facing two different problems here:
1) Correct URL (now you know a workaround)
2) Code error.
The error is excuting before you paste the button but you only notice then becouse is the last code executed.
I'm quite sure it's not a VisualNEO Web problem, but something related to your own project.
The only way I can help here is being able to reproduce it.
Regards.
Quote from Ronnie on October 1, 2019, 1:21 pmHi @luishp, I totally agreed with what you said about problem with the codes. I made backup of each copy when “major” features are added. But when previous 3 earlier backups for different days have no issue running, any code errors would have surfaced, unless it was not detected. The issue is, it doesn’t have problems at all. And this means I have to go back to at least a week’s backup or earlier and start again. The funny thing on the second project was I literally copied all objects from the ‘non-working’ version of the first project and then pasted to a new clean project. And it works fine. That’s why I am puzzled as if all codes are identical from an old project and the newly created clean project, something is not right. Guess I have to resort to restart the project again... I’m working midway with a third pet project and the fear of it not working is there.
Coincidentally, I was changing the graphic objects of project 1 and 2, and revised some existing codes yestday. I compiled and it works. But when I tried to add new objects, it doesn’t. That’s where it’s puzzling... not a major issue, as I can always do a copy and paste to new project. But the troublesome part is the manually entry of the subroutines. Again it’s a time factor...
Separately, there’s a bug in the backup option when saving to folder. Frequently it reported can not locate folder even when its there. The solution is to use SAVE AS to overwrite the existing file, and then use archive backup again.
Hi @luishp, I totally agreed with what you said about problem with the codes. I made backup of each copy when “major” features are added. But when previous 3 earlier backups for different days have no issue running, any code errors would have surfaced, unless it was not detected. The issue is, it doesn’t have problems at all. And this means I have to go back to at least a week’s backup or earlier and start again. The funny thing on the second project was I literally copied all objects from the ‘non-working’ version of the first project and then pasted to a new clean project. And it works fine. That’s why I am puzzled as if all codes are identical from an old project and the newly created clean project, something is not right. Guess I have to resort to restart the project again... I’m working midway with a third pet project and the fear of it not working is there.
Coincidentally, I was changing the graphic objects of project 1 and 2, and revised some existing codes yestday. I compiled and it works. But when I tried to add new objects, it doesn’t. That’s where it’s puzzling... not a major issue, as I can always do a copy and paste to new project. But the troublesome part is the manually entry of the subroutines. Again it’s a time factor...
Separately, there’s a bug in the backup option when saving to folder. Frequently it reported can not locate folder even when its there. The solution is to use SAVE AS to overwrite the existing file, and then use archive backup again.

Quote from luishp on October 1, 2019, 8:05 pmHi @ronnie, I'm not sure about understanding you very well.
It would be easier if I can reproduce the problem.
Is it possible for you to tell me the exact steps to face it?
Hi @ronnie, I'm not sure about understanding you very well.
It would be easier if I can reproduce the problem.
Is it possible for you to tell me the exact steps to face it?