Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Auto routing and/or defining routes
Post: RE: Auto routing and/or defining routes

kenjis Wrote: (09-24-2024, 02:02 AM) -- You misunderstand CI routing. It checks defined routes first, and if not found, find the controller by auto routing (if it is enabled). -- Ah, I see. Thank ...
1,499 Views
5 Replies
09-24-2024, 05:39 AM
bastian
    Thread: Auto routing and/or defining routes
Post: RE: Auto routing and/or defining routes

In CI3 I used auto routing only. I didn't had a route for the dynamic first uri segment, instead I created a controller for every possible first segment (around 30 files). I thought with defining rout...
1,499 Views
5 Replies
09-23-2024, 11:40 PM
bastian
    Thread: Auto routing and/or defining routes
Post: Auto routing and/or defining routes

Hello community I'm struggling with routing in my new application. I'm coming from CI3 and am used the auto routing stuff. Now I learned about defining routes for the application. But I can't find th...
1,499 Views
5 Replies
09-23-2024, 11:42 AM
bastian
    Thread: Query builder question (CI 4 newbie)
Post: RE: Query builder question (CI 4 newbie)

Ah, now it's working! $this->basicModel->… was wrong. It must be $this->… directly, as you mentioned.
2,956 Views
4 Replies
07-27-2021, 08:19 AM
bastian
    Thread: Query builder question (CI 4 newbie)
Post: RE: Query builder question (CI 4 newbie)

Thanks for your answer. Database connection is done automatically when extending the model with Model class, right? What's the difference between PHP Code: -- $builder = $db->table('users') ...
2,956 Views
4 Replies
07-27-2021, 06:02 AM
bastian
    Thread: Query builder question (CI 4 newbie)
Post: Query builder question (CI 4 newbie)

Hi there I started making my first steps with CI4 after years of experience with CI. Now I'm struggling with something that worked fine with query builder prior to CI4. Here are two functions of a b...
2,956 Views
4 Replies
07-27-2021, 02:18 AM
bastian
    Thread: Calling CI controller inside sub folder by cronjob
Post: Calling CI controller inside sub folder by cronjob

Hi there I'd like to use cronjob to call a CI method from a controller inside a sub folder (using CI 3). I tried it these ways: php -f /home/user/public_html/index.php Subfolder/controller function...
1,694 Views
1 Replies
06-12-2021, 11:53 PM
bastian
    Thread: Documentation could be more newbie-friendly
Post: RE: Documentation could be more newbie-friendly

Please also check the description of **countAll()** and **countAllResults()**. Usage of both are documented as identical, which I think isn't the case: https://codeigniter.com/user_guide/database/h...
5,614 Views
7 Replies
03-22-2021, 10:11 PM
bastian
    Thread: Manual installation and the 404 error
Post: Manual installation and the 404 error

Several months ago I gave CI4 a first try with version 4.0.4 and a manual installation. Now I'd like to switch one of my project from CI3 to CI4. I'd like to choose the manual installation way. But...
1,453 Views
0 Replies
02-28-2021, 01:24 AM
bastian
    Thread: Force download and charset
Post: RE: Force download and charset

Thank you very much. I didn't know this function.
3,781 Views
2 Replies
07-17-2019, 08:56 AM
bastian
    Thread: Force download and charset
Post: Force download and charset

Hello community I'm fetching data from the database and create a CSV text file. I'd like to force download that file. With the download helper this works like a charm. The problem is, that die CSV ...
3,781 Views
2 Replies
07-17-2019, 02:22 AM
bastian
    Thread: Custom routes
Post: RE: Custom routes

Thanks for your idea. I tried it and it works for URIs with a second segment. But if there are more than two segments, it doesn't work anymore…
5,716 Views
5 Replies
05-27-2019, 01:07 PM
bastian
    Thread: Custom routes
Post: Custom routes

Hi there Maybe someone can give me an advice in setting custom routes. What I'd like to achieve is the following: Theres a controller called Blog.php I want some URI to get directed to this c...
5,716 Views
5 Replies
05-27-2019, 12:06 PM
bastian
    Thread: Email library produces weird error while sending mails
Post: RE: Email library produces weird error while sendi...

Guys, I guess I found the problem. In the config file for the Email library I had to define the parameter "smtp_timeout" to something significantly higher than the default 5 seconds. I chose 30 sec...
17,036 Views
11 Replies
09-06-2017, 08:54 AM
bastian
    Thread: Email library produces weird error while sending mails
Post: RE: Email library produces weird error while sendi...

The host's limit for sending emails is 1000 per hour. I'm using a cronjob script that sends a batch of 10 mails every 5 minutes. So the limit shouldn't be a problem. I need to talk to the host agai...
17,036 Views
11 Replies
09-04-2017, 01:36 PM
bastian
    Thread: Email library produces weird error while sending mails
Post: RE: Email library produces weird error while sendi...

skunkbad Wrote: (09-01-2017, 01:21 PM) -- You have to remember that it's mainly their job to convince you that their server is perfect, and the problem is your code. In this case I guess blame PHP. -...
17,036 Views
11 Replies
09-04-2017, 01:00 PM
bastian
    Thread: Email library produces weird error while sending mails
Post: RE: Email library produces weird error while sendi...

I just contacted my host and the support guy mentioned to try to switch back to php 5.6 (I ran 7.0). Is there a known problem with the Email library and PHP 7.0?
17,036 Views
11 Replies
08-31-2017, 11:05 AM
bastian
    Thread: Email library produces weird error while sending mails
Post: Email library produces weird error while sending m...

Hi there I'm using the Email library to send large amount of emails. Since my host has a sending limit of 1000 messages per hour, I save them in a database table and then sending 10 of them every c...
17,036 Views
11 Replies
08-29-2017, 11:15 AM
bastian
    Thread: Same system and application folders for multiple sites/subdomains
Post: Same system and application folders for multiple s...

Hello community I've built a web application on Codeigniter (Version 2, but I'm already planning to update to version 3). Every customer using the application has his own subdomain and database. So...
2,610 Views
0 Replies
04-29-2015, 08:05 AM
bastian

Theme © iAndrew 2016 - Forum software by © MyBB