A PHP Error was encountered

Severity: Warning

Message: Invalid argument supplied for foreach()

Filename: models/Produse_model.php

Line Number: 295

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 295
Function: _error_handler

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: models/Produse_model.php

Line Number: 338

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 338
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: models/Produse_model.php

Line Number: 339

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 339
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: models/Produse_model.php

Line Number: 343

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 343
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: models/Produse_model.php

Line Number: 343

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 343
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: price

Filename: models/Produse_model.php

Line Number: 343

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 343
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: models/Produse_model.php

Line Number: 344

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 344
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: models/Produse_model.php

Line Number: 346

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 346
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: brand_id

Filename: models/Produse_model.php

Line Number: 356

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 356
Function: _error_handler

File: /home/flori/public_html/application/models/Produse_model.php
Line: 298
Function: set_related_data

File: /home/flori/public_html/application/controllers/Produs.php
Line: 10
Function: get_by_id

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id

Filename: controllers/Produs.php

Line Number: 11

Backtrace:

File: /home/flori/public_html/application/controllers/Produs.php
Line: 11
Function: _error_handler

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Input.php

Line Number: 408

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 526
Function: set_cookie

File: /home/flori/public_html/application/controllers/Produs.php
Line: 11
Function: set_produse_vizualizate

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: title

Filename: controllers/Produs.php

Line Number: 24

Backtrace:

File: /home/flori/public_html/application/controllers/Produs.php
Line: 24
Function: _error_handler

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: cod

Filename: controllers/Produs.php

Line Number: 24

Backtrace:

File: /home/flori/public_html/application/controllers/Produs.php
Line: 24
Function: _error_handler

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/Produs.php

Line Number: 26

Backtrace:

File: /home/flori/public_html/application/controllers/Produs.php
Line: 26
Function: _error_handler

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: title

Filename: controllers/Produs.php

Line Number: 27

Backtrace:

File: /home/flori/public_html/application/controllers/Produs.php
Line: 27
Function: _error_handler

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: shop/produs.php

Line Number: 18

Backtrace:

File: /home/flori/public_html/application/views/shop/produs.php
Line: 18
Function: _error_handler

File: /home/flori/public_html/application/controllers/Produs.php
Line: 30
Function: view

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/flori/public_html/application/models/Produse_model.php
Line: 161
Function: query

File: /home/flori/public_html/application/views/shop/produs.php
Line: 18
Function: get_by_category

File: /home/flori/public_html/application/controllers/Produs.php
Line: 30
Function: view

File: /home/flori/public_html/index.php
Line: 292
Function: require_once

Database Error

Eroare a bazei de date

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') ORDER BY products.id asc' at line 2

SELECT * FROM products WHERE active='1' AND category_id IN () ORDER BY products.id asc

Filename: models/Produse_model.php

Line Number: 161