Warning: implode() [function.implode]: Invalid arguments passed in /var/www/vhosts/11v11.com/httpdocs/api/controllers/matches.php on line 80

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/vhosts/11v11.com/httpdocs/api/models/match.php on line 979

Warning: implode() [function.implode]: Invalid arguments passed in /var/www/vhosts/11v11.com/httpdocs/api/models/match.php on line 1027
MYSQL ERROR
select EX_001_COMPETITION_ID as compID, EX_001_NAME as comp, EX_004_ID as id, EX_004_HOMETEAM as home, EX_004_AWAYTEAM as away, EX_004_DATE as date, DATE_FORMAT(EX_004_DATE, '%d %b %Y') as dateFormatted, concat(DB_004_HOMESCORE,'-',DB_004_AWAYSCORE, if( DB_004_HOMEPENS>0 or DB_004_AWAYPENS>0,concat(' (',DB_004_HOMEPENS,'-',DB_004_AWAYPENS,')'),'')) as score from EX_004_MATCH, EX_001_COMPETITION where EX_001_COMPETITION_ID = EX_001_ID and 1 = 0 and EX_004_DATE <="2012-02-13" and (EX_002_HOMETEAM_ID="139" or EX_002_AWAYTEAM_ID="139") and EX_001_COMPETITION_ID in () or EX_001_COMPETITION_ID = 1 order by EX_004_DATE

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') or EX_001_COMPETITION_ID = 1 order by EX_004_DATE' at line 11


Trace/api/libraries/db.php : line 123 : db->outputError( select EX_001_COMPETITION_ID as compID, EX_001_NAME as comp, EX_004_ID as id, EX_004_HOMETEAM as home, EX_004_AWAYTEAM as away, EX_004_DATE as date, DATE_FORMAT(EX_004_DATE, '%d %b %Y') as dateFormatted, concat(DB_004_HOMESCORE,'-',DB_004_AWAYSCORE, if( DB_004_HOMEPENS>0 or DB_004_AWAYPENS>0,concat(' (',DB_004_HOMEPENS,'-',DB_004_AWAYPENS,')'),'')) as score from EX_004_MATCH, EX_001_COMPETITION where EX_001_COMPETITION_ID = EX_001_ID and 1 = 0 and EX_004_DATE <="2012-02-13" and (EX_002_HOMETEAM_ID="139" or EX_002_AWAYTEAM_ID="139") and EX_001_COMPETITION_ID in () or EX_001_COMPETITION_ID = 1 order by EX_004_DATE

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') or EX_001_COMPETITION_ID = 1 order by EX_004_DATE' at line 11)

/api/libraries/db.php : line 561 : db->data( select EX_001_COMPETITION_ID as compID, EX_001_NAME as comp, EX_004_ID as id, EX_004_HOMETEAM as home, EX_004_AWAYTEAM as away, EX_004_DATE as date, DATE_FORMAT(EX_004_DATE, '%d %b %Y') as dateFormatted, concat(DB_004_HOMESCORE,'-',DB_004_AWAYSCORE, if( DB_004_HOMEPENS>0 or DB_004_AWAYPENS>0,concat(' (',DB_004_HOMEPENS,'-',DB_004_AWAYPENS,')'),'')) as score from EX_004_MATCH, EX_001_COMPETITION where EX_001_COMPETITION_ID = EX_001_ID and 1 = 0 and EX_004_DATE <="2012-02-13" and (EX_002_HOMETEAM_ID="139" or EX_002_AWAYTEAM_ID="139") and EX_001_COMPETITION_ID in () or EX_001_COMPETITION_ID = 1 order by EX_004_DATE,)

/api/models/match.php : line 1044 : db->dataCache(temp/d0a44391c1d6f2b0150c50f262fd5fc0.txt, select EX_001_COMPETITION_ID as compID, EX_001_NAME as comp, EX_004_ID as id, EX_004_HOMETEAM as home, EX_004_AWAYTEAM as away, EX_004_DATE as date, DATE_FORMAT(EX_004_DATE, '%d %b %Y') as dateFormatted, concat(DB_004_HOMESCORE,'-',DB_004_AWAYSCORE, if( DB_004_HOMEPENS>0 or DB_004_AWAYPENS>0,concat(' (',DB_004_HOMEPENS,'-',DB_004_AWAYPENS,')'),'')) as score from EX_004_MATCH, EX_001_COMPETITION where EX_001_COMPETITION_ID = EX_001_ID and 1 = 0 and EX_004_DATE <="2012-02-13" and (EX_002_HOMETEAM_ID="139" or EX_002_AWAYTEAM_ID="139") and EX_001_COMPETITION_ID in () or EX_001_COMPETITION_ID = 1 order by EX_004_DATE)

/api/controllers/matches.php : line 84 : match->getMatches(Array)

/api/index.php : line 180 : controller_matches->controller_matches(Array)