Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Emails has exceeded the max defers and failures per hour
Post: RE: Emails has exceeded the max defers and failure...

Well the strange this is that I have a log in my DB. This also logs whenever an email is send succesfully or not. And I only see one entry at a time so there can not be multiple sends for every time i...
1,521 Views
2 Replies
07-28-2021, 03:05 AM
ZoeF
    Thread: Emails has exceeded the max defers and failures per hour
Post: Emails has exceeded the max defers and failures pe...

I have a system that is running for practicly 4 years now. But since yesterday my provider is blocking the emails send. Wich is a real pain in the but. I don't know if something has changed or if thei...
1,521 Views
2 Replies
07-27-2021, 07:25 AM
ZoeF
    Thread: Modules not loading config files
Post: RE: Modules not loading config files

Again besides the point. Why is it possible to load routes.php when it is inside a modules directory and not constants? Very strange thinking.
3,952 Views
10 Replies
03-21-2021, 07:46 PM
ZoeF
    Thread: Modules not loading config files
Post: RE: Modules not loading config files

Global constants could be handy for allowing hole portions of the application to either work or not work when a module is loaded or not? If a constant is present do this -> else to this. Seems like a ...
3,952 Views
10 Replies
03-20-2021, 06:01 PM
ZoeF
    Thread: Modules not loading config files
Post: RE: Modules not loading config files

Guess it does not work when the file is oudside of the app folder, but why would I add constants in the Common.php of the main app folder for a module that is loaded in in the Modules direcrory? Why i...
3,952 Views
10 Replies
03-20-2021, 02:05 PM
ZoeF
    Thread: Modules not loading config files
Post: RE: Modules not loading config files

There are many ways of adding constants indeed. But maybe I want the constants to be for my hole project if I add a specific module. The most logical answer I came across is that the constants file...
3,952 Views
10 Replies
03-19-2021, 08:13 PM
ZoeF
    Thread: Modules not loading config files
Post: Modules not loading config files

I am wondering https://forum.codeigniter.com/thread-78802.html In the above topic I asked for the best practices for the loading of config files inside of a module? I have the module loaded in t...
3,952 Views
10 Replies
03-19-2021, 12:42 PM
ZoeF
    Thread: Config files in modules
Post: RE: Config files in modules

What I did is the following >modules >Admin >Config -Constants.php added my required constants But when I try to use them in the specific module ErrorException Use of undefined constant ADM...
1,676 Views
4 Replies
03-13-2021, 02:45 PM
ZoeF
    Thread: Config files in modules
Post: RE: Config files in modules

Yes I know and I also did that. Stil the Constants.php is not beeing loaded. PHP Code: -- 'Modules/Admin'        => ROOTPATH . 'modules/admin', // The Admin Module 'Modules/Users'        => ROO...
1,676 Views
4 Replies
03-13-2021, 05:22 AM
ZoeF
    Thread: Config files in modules
Post: Config files in modules

Hello I am wondering what the best practices are for adding specific modules configs. I followed the documentation but it seems I am either missing something or it does not work all the time. In...
1,676 Views
4 Replies
03-12-2021, 11:52 AM
ZoeF
    Thread: Modules constants
Post: RE: Modules constants

Mmm I see, I do however believe constants should be in the constants file. Therefore the solution I found seems to be doing the job just fine. The thing I am wondering about is why the constants file ...
889 Views
3 Replies
03-09-2021, 06:08 AM
ZoeF
    Thread: Modules constants
Post: RE: Modules constants

After some thinkering I found a way to include the specific constants I required. I do however wonder if this is the correct approach and if there is no better way to achieve this. What I did is th...
889 Views
3 Replies
03-08-2021, 11:57 AM
ZoeF
    Thread: Modules constants
Post: Modules constants

Hey all, I am experimenting with codeigniter 4. I am intending to recreate an old project I did with CI 3. But in the process of my analysis I decided to split of all major components in seperate m...
889 Views
3 Replies
03-07-2021, 07:23 PM
ZoeF
    Thread: Any tutorial site like laracast
Post: RE: Any tutorial site like laracast

php_rocs Wrote: (06-07-2020, 09:35 PM) -- @ZoeF, Try these links...(it's not like laracast but they are definitely useful links) https://www.patreon.com/lonnieezell https://www.youtube.com/resul...
3,517 Views
7 Replies
06-19-2020, 03:31 AM
ZoeF
    Thread: Any tutorial site like laracast
Post: Any tutorial site like laracast

I am wondering if their is any site like laracast for codeigniter 4. Information is scarce at this time and hard to coprehend if you don't come from a high programming background. Compared to CI 3, CI...
3,517 Views
7 Replies
06-07-2020, 12:05 PM
ZoeF
    Thread: How to organize applications ?
Post: RE: How to organize applications ?

In that case how would you interconnect modules? For instance you have a admin structure and a user structure. What if a admin also has some functionality of the user? Is their a way to let the module...
15,532 Views
20 Replies
04-14-2020, 12:10 PM
ZoeF
    Thread: Calculate value with data from another model
Post: RE: Calculate value with data from another model

https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller The controller is meand to handle the data you get from the model and the view. Recieve input (view), get data (model), handle da...
4,301 Views
7 Replies
03-29-2020, 06:46 AM
ZoeF
    Thread: Calculate value with data from another model
Post: RE: Calculate value with data from another model

Calculations should happen in your controller. PHP Code: -- public function myCalculation() {   $this->load->model('seminar'); $this->load->model('seminar_date'); $dataSeminar = $this->sem...
4,301 Views
7 Replies
03-29-2020, 06:27 AM
ZoeF
    Thread: Defining extra constants CI 4
Post: RE: Defining extra constants CI 4

Mmm yeah thats how I did it in the past. I do however believe it should not be in the controller but in a config. In that way all is a bit more structured aswell.
3,522 Views
5 Replies
03-29-2020, 05:06 AM
ZoeF
    Thread: Defining extra constants CI 4
Post: Defining extra constants CI 4

Hey I am rewriting some of my smaller projects to get the hang of CI 4. But some things I am now rewriting I want to be able to reuse aftwerward without to much of a hassle. So I am trying to not m...
3,522 Views
5 Replies
03-28-2020, 05:25 PM
ZoeF

Theme © iAndrew 2016 - Forum software by © MyBB