B4J Question [ABMaterial] It runs from the IDE and not VPS

Mashiane

Expert
Licensed User
Longtime User
Hi there

I have an issue with one of my pages. When deployed to VPS / running locally it does not work however when inside the ide its firing properly. Here is a screen dump..

Error.png


All the floating buttons in this table dont fire when running locally/in vps yet when executed inside the ide everything is working properly.
 

Mashiane

Expert
Licensed User
Longtime User
Hi!
Can you verify that the webpage has access to the Jquery InputMask? (opening the html file and verifying the js calls)

Another way to solve it is to rearrange the libraries as mentiones here:
https://github.com/RobinHerbots/Inputmask/issues/1029
(again in the created html file)
Thanks, sounds fair enough. I am about to hard code NeedsMask on my page to see if this will solve it. Thing is I am not using any masks on my pages. There is something that one of the ABMComponents is not doing right perhaps because something is calling that function.
 
Upvote 0

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
Jquery loads dinamically the libraries, so even if it is there, sometimes is worth changing the sort. i would copy it before the b4j library.
 
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
Jquery loads dinamically the libraries, so even if it is there, sometimes is worth changing the sort. i would copy it before the b4j library.
I tend to believe the loading of js files by ABMaterial happens automatically without user intervention. I have used filezilla to upload everything to my vps from my objects folder and opted to overwrite everything excluding the bin, src and logs folders. That has done the trick. I suspect the copymewithjar.needs file might have not been updated the last time, will be careful next time. Thanks.
 
Upvote 0
Top