Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to make pagination for search results
Post: RE: How to make pagination for search results

Hello If you see my first post, you would see that I have in my view the  PHP Code: -- Never the less, I add your code, however, result is the same, I get 1 as link, but I see all 14 results on th...
4,640 Views
9 Replies
09-30-2021, 02:51 AM
t_5810
    Thread: How to make pagination for search results
Post: RE: How to make pagination for search results

Hello. I just read the Model documentation (I have read it before also), and I read the pointed part (model configuration) twice. However ,expect of the $returnType property, I could not find anythin...
4,640 Views
9 Replies
09-30-2021, 02:04 AM
t_5810
    Thread: How to make pagination for search results
Post: RE: How to make pagination for search results

Hello. Thanks for posting your answer. However, it didn't help me. Even that I have added : PHP Code: -- protected $returnType = 'object'; -- in my model and the : PHP Code: -- $data = [      ...
4,640 Views
9 Replies
09-30-2021, 12:21 AM
t_5810
    Thread: How to make pagination for search results
Post: How to make pagination for search results

Hi! I have the following model: PHP Code: -- namespace App\Models; use CodeIgniter\Model; class SearchModel extends MyModel {     protected $table = 'webpage';     public function ge...
4,640 Views
9 Replies
09-29-2021, 05:23 AM
t_5810
    Thread: File upload work on php 7.2, but not on 7.4.14
Post: RE: File upload work on php 7.2, but not on 7.4.14

Thanks for your reply, and for spending your time to help me. InsiteFX Wrote: (01-20-2021, 04:10 AM) -- Well it can be anything, also you did not specify what version of CodeIgniter you are running....
2,219 Views
3 Replies
01-20-2021, 04:26 AM
t_5810
    Thread: File upload work on php 7.2, but not on 7.4.14
Post: File upload work on php 7.2, but not on 7.4.14

I have an Codeigniter app, which works like a charm on PHP 7.2 After moving on PHP 7.4.14, I get an error "No input file specified." Search on Google suggested that I should add a question mark in my ...
2,219 Views
3 Replies
01-20-2021, 02:47 AM
t_5810
    Thread: How to remove public/index.php from the URL
Post: RE: How to remove public/index.php from the URL

includebeer Wrote: (12-21-2020, 06:19 AM) -- If your host gives you something like /home/username/domain.com/, put the content of the public folder in /home/username/domain.com/ and everything else i...
5,824 Views
6 Replies
12-22-2020, 07:54 AM
t_5810
    Thread: How to remove public/index.php from the URL
Post: RE: How to remove public/index.php from the URL

Thanks for your reply I have no public_html folder at all. I have one folder (named as my domain) and that is the root folder. And inside I have all my files and folders as they has been downloaded...
5,824 Views
6 Replies
12-21-2020, 01:22 AM
t_5810
    Thread: How to remove public/index.php from the URL
Post: How to remove public/index.php from the URL

Hello. I have uploaded my demo application on production server, which uses cpanel, in a subdomain (if that is important) If I visit my url http://ea3.mydomain.net.be  I get 403 Forbidden erro...
5,824 Views
6 Replies
12-19-2020, 03:08 AM
t_5810
    Thread: Confusion with .env and config files
Post: RE: Confusion with .env and config files

paulbalandan Wrote: (11-02-2020, 02:00 PM) -- .envProduction will not be read. The filename should only be .env -- Yes, I know that. Client will have file named .env , and I will have 2 files. My ....
2,693 Views
4 Replies
11-02-2020, 04:05 PM
t_5810
    Thread: Confusion with .env and config files
Post: RE: Confusion with .env and config files

includebeer Wrote: (11-01-2020, 06:48 PM) -- The .env file prevail on everything. The way I see it is the app/Config/ directory contains the settings for your dev environment because you don't want y...
2,693 Views
4 Replies
11-01-2020, 07:22 PM
t_5810
    Thread: Confusion with .env and config files
Post: Confusion with .env and config files

Hello I am confused with the new addition in CI4, the .env file.  Should I use the .env file for the baseURL or I should use the App/Config.php? Which configuration prevails? .env file has  ...
2,693 Views
4 Replies
11-01-2020, 07:21 AM
t_5810
    Thread: Can I have 2 tables in codeigniter 4 model?
Post: RE: Can I have 2 tables in codeigniter 4 model?

Thanks to all members here that find time to replay to my question. For the moment I will stick to method for each model (where needed) and I will see in the future, if I find convenient method as the...
15,391 Views
10 Replies
11-01-2020, 06:11 AM
t_5810
    Thread: Can I have 2 tables in codeigniter 4 model?
Post: Can I have 2 tables in codeigniter 4 model?

Hello In CI v.3x I used (and I was used it extensively) the following code: Code: --         public function __construct()         {             parent::__construct();             $this->...
15,391 Views
10 Replies
10-28-2020, 06:52 AM
t_5810
    Thread: Best practices for loading models in controllers in CI 4?
Post: RE: Best practices for loading models in controlle...

Hi Thanks for the suggestions. I must admit  that I skim trough the documentation and that I may have miss something. Hopefully this post may help someone else too. I appreciate your time.
13,831 Views
4 Replies
09-24-2020, 05:04 PM
t_5810
    Thread: Best practices for loading models in controllers in CI 4?
Post: Best practices for loading models in controllers i...

Hello In CI 3 I have loaded the models that I need in my controllers like this: Code: -- public function __construct()     {         parent::__construct();         $this->load->model('Some_m...
13,831 Views
4 Replies
09-22-2020, 04:46 PM
t_5810

Theme © iAndrew 2016 - Forum software by © MyBB