A PHP Error was encountered

Severity: Warning

Message: Missing argument 4 for Home::tools_details()

Filename: controllers/Home.php

Line Number: 969

Backtrace:

File: /home/td5o7j09a5uz/public_html/application/controllers/Home.php
Line: 969
Function: _error_handler

File: /home/td5o7j09a5uz/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: parent_id

Filename: controllers/Home.php

Line Number: 980

Backtrace:

File: /home/td5o7j09a5uz/public_html/application/controllers/Home.php
Line: 980
Function: _error_handler

File: /home/td5o7j09a5uz/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/td5o7j09a5uz/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/td5o7j09a5uz/public_html/application/libraries/Common.php
Line: 52
Function: query

File: /home/td5o7j09a5uz/public_html/application/controllers/Home.php
Line: 1005
Function: getOneRecField

File: /home/td5o7j09a5uz/public_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 m.ref_number='1001' and status=1 group by tool_id ORDER BY tool_name DESC l' at line 1

select m.*,GROUP_CONCAT(image_name) as tool_images, count(*) as cnt from tbl_tool_master m left join tbl_tool_images i on i.ref_number = m.ref_number where m.tool_category_id= and m.ref_number='1001' and status=1 group by tool_id ORDER BY tool_name DESC limit 0,1

Filename: libraries/Common.php

Line Number: 52