The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in 56c Linux
Author Message
Awaken
Apprentice
*

Posts: 30
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Sep 2013
Reputation: 0



Post: #1
Error in 56c Linux
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 :/
10-01-2013 04:48 AM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #2
RE: Error in 56c Linux
umm, can we see line 53 of that script, cus i dont think its sphere Tongue

[Image: matts_siggy.gif]
10-01-2013 05:04 AM
Find all posts by this user Like Post Quote this message in a reply
Awaken
Apprentice
*

Posts: 30
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Sep 2013
Reputation: 0



Post: #3
RE: Error in 56c Linux
(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.
(This post was last modified: 10-01-2013 05:21 AM by Awaken.)
10-01-2013 05:21 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Error in 56c Linux
I may be wrong but... isn't linux case sensitive?
10-01-2013 07:00 AM
Find all posts by this user Like Post Quote this message in a reply
Rattlehead
Master
**

Posts: 290
Likes Given: 3
Likes Received: 8 in 6 posts
Joined: Jun 2012
Reputation: 8



Post: #5
RE: Error in 56c Linux
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

[Image: matts_siggy.gif]
10-01-2013 09:25 AM
Find all posts by this user Like Post Quote this message in a reply
Awaken
Apprentice
*

Posts: 30
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Sep 2013
Reputation: 0



Post: #6
RE: Error in 56c Linux
(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
10-01-2013 07:02 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #7
RE: Error in 56c Linux
maybe the problem is Debian since everything works fine on Linux Mint (Ubuntu based) with the latest nightly.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
10-04-2013 11:50 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)