A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/snosit/public_html/e-submiss/application/models/My_model.php:338)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /home/snosit/public_html/e-submiss/application/models/My_model.php
Line: 307
Function: query

File: /home/snosit/public_html/e-submiss/application/controllers/Email.php
Line: 1947
Function: show_jounl2

File: /home/snosit/public_html/e-submiss/index.php
Line: 292
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 '.paper_absturct,procseeing.paper_title,procseeing.paper_file ,author.first_name,' at line 1

select distinct procseeing.papre_id,procseeing.p_suj.procseeing.paper_absturct,procseeing.paper_title,procseeing.paper_file ,author.first_name, author.design_name,author.last_name,procseeing.date from procseeing, author where author.type ='باحت' and procseeing.papre_id='2' and procseeing.aut_id=author.author_id

Filename: models/My_model.php

Line Number: 307