SphereCommunity
Error in 56c Linux - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Error in 56c Linux (/Thread-Error-in-56c-Linux)



Error in 56c Linux - Awaken - 10-01-2013 04:48 AM

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 :/


RE: Error in 56c Linux - Rattlehead - 10-01-2013 05:04 AM

umm, can we see line 53 of that script, cus i dont think its sphere Tongue


RE: Error in 56c Linux - Awaken - 10-01-2013 05:21 AM

(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.


RE: Error in 56c Linux - XuN - 10-01-2013 07:00 AM

I may be wrong but... isn't linux case sensitive?


RE: Error in 56c Linux - Rattlehead - 10-01-2013 09:25 AM

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


RE: Error in 56c Linux - Awaken - 10-01-2013 07:02 PM

(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


RE: Error in 56c Linux - Ben - 10-04-2013 11:50 AM

maybe the problem is Debian since everything works fine on Linux Mint (Ubuntu based) with the latest nightly.