A PHP Error was encountered

Severity: 8192

Message: Function set_magic_quotes_runtime() is deprecated

Filename: codeigniter/CodeIgniter.php

Line Number: 60

A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: libraries/Loader.php

Line Number: 248

A PHP Error was encountered

Severity: 8192

Message: Assigning the return value of new by reference is deprecated

Filename: database/DB.php

Line Number: 133

Database Error

A Database Error Occurred

Error Number:

ERROR: function convert(character varying, unknown, unknown) does not exist LINE 1: SELECT id,convert(sub_nombre,'LATIN1','UTF8') AS sub_nombre ... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts.

SELECT id,convert(sub_nombre,'LATIN1','UTF8') AS sub_nombre FROM subsistemas