Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Problems in views when reinstall appserv
Post: RE: Problems in views when reinstall appserv

My friends. I solved the problem by enabling short-open-tag in the php.ini file
987 Views
2 Replies
05-22-2020, 11:28 AM
Edel
    Thread: Problems in views when reinstall appserv
Post: Problems in views when reinstall appserv

Hello everyone. I am developing in CI 4. I changed the appserv version recently. I saved my project from the old www folder and copied it into the new www in my new installation. but when I send vari...
987 Views
2 Replies
05-18-2020, 05:58 PM
Edel
    Thread: Pagination only displays the first 10 records
Post: RE: Pagination only displays the first 10 records

if you use $this->pagination->initialize($config), $this->pagination->create_links(), you are using codeigniter´s pagination library. what´s the url of your first pagination page? Also, the limit...
4,784 Views
3 Replies
08-18-2017, 11:57 AM
Edel
    Thread: Pagination only displays the first 10 records
Post: RE: Pagination only displays the first 10 records

I think the problem is in your base_url from pagination library. test this. Code: --  $config = [        'base_url' => site_url(site_url(uri_string(2)),         'uri_segment' => 3 -- I thin...
4,784 Views
3 Replies
08-17-2017, 08:25 PM
Edel
    Thread: You must use the "set" method to update an entry.
Post: RE: You must use the "set" method to update an ent...

thanks again. you're right. I thought that allowed_fields was optional.
2,678 Views
2 Replies
08-16-2017, 08:30 PM
Edel
    Thread: You must use the "set" method to update an entry.
Post: You must use the "set" method to update an entry.

I am here again. I want to use the save method of the model class the code In my controller: PHP Code: -- $data = $this->request->getPost(); $model = new \App\Models\MyModel(); $model->sa...
2,678 Views
2 Replies
08-16-2017, 02:24 PM
Edel
    Thread: form_error is missing
Post: RE: form_error is missing

@kilishan thanks for your answer. I returned the showError method from Validation library this way: \Config\Services::validation()->showError(field);
2,203 Views
2 Replies
08-16-2017, 01:12 PM
Edel
    Thread: form_error is missing
Post: form_error is missing

I am validating forms. I want display the errors using the form_error method from form_helper. In the user_guide says that this function is available en CI4 but it return not found. I opened form_help...
2,203 Views
2 Replies
08-11-2017, 12:51 PM
Edel
    Thread: How to extend the Controller core class
Post: RE: How to extend the Controller core class

Thanks for your replies, It's all clear to me now. I corrected my errors and successfully extended the class controllers.
8,774 Views
8 Replies
07-23-2017, 11:10 AM
Edel
    Thread: How to extend the Controller core class
Post: How to extend the Controller core class

Hello, I am implementing in CI4 some utilities that I had done using CI3. The first I need es extend the controller core class for add it new functionalities. I read the documentation but always CI re...
8,774 Views
8 Replies
07-22-2017, 03:35 PM
Edel
    Thread: set the "document root" to the public folder inside your project
Post: RE: set the "document root" to the publi...

The problems is with wamp server 64bits definitely. I tried installing codeigniter 4 on windows 7 32 bits with appserv satisfactorily. Just I need to create a virtual host as CodeIgniter4 User Guide e...
29,995 Views
13 Replies
07-16-2017, 04:43 AM
Edel
    Thread: set the "document root" to the public folder inside your project
Post: RE: set the "document root" to the publi...

kilishan I am using wamp server version 3.0.6, which use php 7.0.10 and apache 2.4.23.  My OS is Windows 7 64 bits.
29,995 Views
13 Replies
07-14-2017, 12:53 PM
Edel
    Thread: set the "document root" to the public folder inside your project
Post: RE: set the "document root" to the publi...

If in system/CodeIgniter.php , I delete line 38 Code: -- use Config\Services; -- the problem disappears( returns the welcome message), but I dont' know why and its consequences.
29,995 Views
13 Replies
07-14-2017, 09:41 AM
Edel
    Thread: set the "document root" to the public folder inside your project
Post: RE: set the "document root" to the publi...

Thanks for yours answers. ciadmin: I created a virtual host. so I can access  my application through http://code (CI4) I changed the name of the folder to code instead of CI4. But returns the erro...
29,995 Views
13 Replies
07-13-2017, 10:15 PM
Edel
    Thread: set the "document root" to the public folder inside your project
Post: set the "document root" to the public folder insid...

HI, first sorry my english, it's not the best. I am new in CI 4, although I have experience en CI 3. MY problem is quite comented in other post. I copied the CI 4 code in my web server , the same di...
29,995 Views
13 Replies
07-13-2017, 05:27 PM
Edel
    Thread: form validation behavior
Post: form validation behavior

hello. first sorry my english , it's not my native language. I am using form validation successfully, but I have a problem with the rule is_unique when I want to edit the object. For example I h...
2,345 Views
2 Replies
11-25-2016, 09:04 PM
Edel

Theme © iAndrew 2016 - Forum software by © MyBB