A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Firma.php

Line Number: 44

Backtrace:

File: /biz/1/iltarcom/html/application/controllers/Firma.php
Line: 44
Function: _error_handler

File: /biz/1/iltarcom/html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

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 'and tapahtuma =52 and ir_tapahtuma.result_event = ir_fl_firma_pisteet.tapahtuma' at line 1

select * from ir_fl_firma_pisteet, ir_tapahtuma,ir_paikka where firma= and tapahtuma =52 and ir_tapahtuma.result_event = ir_fl_firma_pisteet.tapahtuma and ir_tapahtuma.paikka_id = ir_paikka.id and ir_tapahtuma.uuid is not null order by pvm, tapahtuma, firma

Filename: models/Tulospalvelu_model.php

Line Number: 40