Revigniter upgrade v1 to v2 problems / Handler: error in statement (rigLoadLibrary)
Posted: Fri Nov 19, 2021 10:14 am
Hi All,
Once more into the fray with Revigniter . I do hope you all are doing well.
I have a Revigniter project which I have upgraded from version 1.10.3 to 2.3.1. The initial upgrade went well and everything was working fine until a couple of hours later when this error appeared. See below:
stack "/var/www/vhosts/example.com/httpdocs/system/revigniter/Common.livecodescript"
row 116, col 1: if-then: error in statement
row 116, col 1: if-then: error in statement
row 116, col 1: if-then: error in statement
row 105, col 1: Handler: error in statement (rigLoadLibrary)
file "/var/www/vhosts/example.com/httpdocs/system/application/config/constants.lc"
row 112, col 1: Handler: can't find handler (rigLoadLibrary)
file "/var/www/vhosts/example.com/httpdocs/system/application/config/config.lc"
Currently, I have been troubleshooting this error for a couple of hours and it appears to be a problem loading the "Hooks.livecodescript" from Revigniter.lc file.
I have already upgraded to the latest version of the Livecode Server engine "9.6.4". My understanding is this error has been known to come up when your engine version is less than v9. I was just wondering if someone has come across this error before or tips on the best way to troubleshoot it.
The server loads my .lc files fine so I know the setup of the Livecode Server works and have been running Revigniter v1 for a year with no problems.
Lastly, I'm not ruling out needing to make any changes to my htaccess file to accommodate running ".livecodescript" extensions or it being server security-related issue.
Any thoughts? I'll report back if I find a solution. Thanks all
Once more into the fray with Revigniter . I do hope you all are doing well.
I have a Revigniter project which I have upgraded from version 1.10.3 to 2.3.1. The initial upgrade went well and everything was working fine until a couple of hours later when this error appeared. See below:
stack "/var/www/vhosts/example.com/httpdocs/system/revigniter/Common.livecodescript"
row 116, col 1: if-then: error in statement
row 116, col 1: if-then: error in statement
row 116, col 1: if-then: error in statement
row 105, col 1: Handler: error in statement (rigLoadLibrary)
file "/var/www/vhosts/example.com/httpdocs/system/application/config/constants.lc"
row 112, col 1: Handler: can't find handler (rigLoadLibrary)
file "/var/www/vhosts/example.com/httpdocs/system/application/config/config.lc"
Currently, I have been troubleshooting this error for a couple of hours and it appears to be a problem loading the "Hooks.livecodescript" from Revigniter.lc file.
I have already upgraded to the latest version of the Livecode Server engine "9.6.4". My understanding is this error has been known to come up when your engine version is less than v9. I was just wondering if someone has come across this error before or tips on the best way to troubleshoot it.
The server loads my .lc files fine so I know the setup of the Livecode Server works and have been running Revigniter v1 for a year with no problems.
Lastly, I'm not ruling out needing to make any changes to my htaccess file to accommodate running ".livecodescript" extensions or it being server security-related issue.
Any thoughts? I'll report back if I find a solution. Thanks all