Questions tagged as 'codeigniter'

2
answers

Select in codeigniter produces Name? instead of a list of names

I use codeigniter and php, I make a select and in the view instead of leaving a set of records in the Name field, it comes out: Name? > form_search_client.php <!doctype html> <html> <head> <meta charset="UTF-8"&g...
asked by 06.10.2018 / 07:56
2
answers

Base url in javascript with codeigniter to load datatable

Hello problem is that I am trying to load a datatable through ajax, but it turns out that I get a 404 error. is my javascript code function cargardatos(){ $('#users-table').DataTable({ "language": { decimal: ""...
asked by 04.10.2018 / 23:00
1
answer

Too few arguments to function when sending data from a form to the controller

I use Codeigniter and php, I try to make an update, I do the initial selection well, then I go to a form that receives the data that will be modified, but I have problems sending the data to the controller. modify_view <!DOCTYPE HTML>...
asked by 09.10.2018 / 01:17
1
answer

CodeIgniter does not load session when reloading

I work in an application with CodeIgniter and I have the problem that when I reload the page or call another controller I lose the values of the session variables. I think so: $nuevoUsuario = array( 'usuario' => $this->...
asked by 02.10.2018 / 13:16
0
answers

"Server Hangup" errors, "502 Bad Gateway", "err_empty_response" after creating a subdomain with xmlapi

The server shows me "Server Hangup", "502 Bad Gateway", "err_empty_response",  these messages after creating a subdomain from php with xmlapi. The information is registered in the database and the subdomain is created perfectly, only then it sho...
asked by 01.10.2018 / 01:06
0
answers

Call to a member function result () on a non-object

I have the following error: Call to a member function result() on a non-object the error only appears in the 2 "if" if they analyze it in the second "if" there are only 2 extra lines, if I remove those extra lines it is the same as the fi...
asked by 28.09.2018 / 19:27
1
answer

Error uploading data to DB in CodeIgniter

Basically I have the following in my controller: $title_input = strip_tags($this->input->post('title')); $slug = str_replace(' ', '-', $title_input); $slug = strtolower($slug); if($title_input != ''){ $data = arr...
asked by 17.09.2018 / 08:31
1
answer

How do I download files hosted on Codeigniter?

Good day, I'm a bit disoriented because I need my users to download information hosted from my project in codeigniter, be it images, documents, etc., then I was wondering if there is a Helper or Liberia to download files hosted from my project i...
asked by 18.09.2018 / 03:04
0
answers

Data Filtering in Codeigniter, Mysql

I'm doing a search and filtering it with $this->input->get('tags') . The problem I have is that the data with which I will filter is in a table from 1 to many, where one can have multiple data. The tables I have in the database...
asked by 11.09.2018 / 23:19
1
answer

Consulta Model Codeigniter

Hello everyone I have a question the question is, I have in the database 3 tables student, tutor and person. Student has foreign keys to person and tutor, my question is, I have problems to bring the name of the tutor, I need the name of the stu...
asked by 12.09.2018 / 14:56