Welcome Guest, Not a member yet? Register   Sign In
Search Results
    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.
1,982 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') ...
1,982 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...
1,982 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,281 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...
4,228 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,147 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,159 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,159 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…
4,615 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...
4,615 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...
14,580 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...
14,580 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. -...
14,580 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?
14,580 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...
14,580 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,306 Views
0 Replies
04-29-2015, 08:05 AM
bastian

Theme © iAndrew 2016 - Forum software by © MyBB