SphereCommunity

Full Version: Error in 56c Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
20:42:ERROR:(sphere_serv_triggers.scp,53)Undefined symbol 'STRMATCH'

Version of Sphere 56c
OS - Debian 32bits

When run sphere in Windows, this error don“t appear :/
umm, can we see line 53 of that script, cus i dont think its sphere Tongue
(10-01-2013 05:04 AM)Rattlehead Wrote: [ -> ]umm, can we see line 53 of that script, cus i dont think its sphere Tongue
Code:
if ((STRMATCH(*insert*, <ARGS>)) || (STRMATCH(*select*, <ARGS>)) || (STRMATCH(*update*, <ARGS>)) || (STRMATCH(*execute*, <ARGS>)) || (STRMATCH(*delete*, <ARGS>)) || (STRMATCH(*drop*, <ARGS>)))

Here.
I may be wrong but... isn't linux case sensitive?
well, it all looks correct, so u may have just found a linux bug, even if it was linux being case sensitive, which i doubt as linux only reads the compiled process after the scripts are loaded, so its not even aware of the scripts, strmatch is in caps to begin with, so it would still be right.

this looks like my sql account info script, and i know it works perfectly on the windows build
(10-01-2013 09:25 AM)Rattlehead Wrote: [ -> ]well, it all looks correct, so u may have just found a linux bug, even if it was linux being case sensitive, which i doubt as linux only reads the compiled process after the scripts are loaded, so its not even aware of the scripts, strmatch is in caps to begin with, so it would still be right.

this looks like my sql account info script, and i know it works perfectly on the windows build

I tried with all sentences (STRMATCH, strmatch, Strmatch...) but nothing... same error.

56c in Linux have error with string sentences -> http://wiki.sphere.torfo.org/index.php/Chapter_10.

And yes Rattlehead is you sql account info script Wink
maybe the problem is Debian since everything works fine on Linux Mint (Ubuntu based) with the latest nightly.
Reference URL's