Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Strange sender of emali...
Post: RE: Strange sender of emali...

Here are all the settings I made related to the email class: Controller: PHP Code: -- public function testEmail()     {         $email = service('email');         $email->setFrom('[email protected]
567 Views
3 Replies
05-12-2022, 08:36 AM
Codinglander
  Bug Thread: Strange sender of emali...
Post: Strange sender of emali...

Hello there, here I am (again)... I want to use SMTP in a project, and it work.  BUT I set the  Code: -- $email->setFrom('[email protected]', 'MySender'); -- and in the recieved mail is given foll...
567 Views
3 Replies
05-12-2022, 03:07 AM
Codinglander
    Thread: Poll: Do you use Composer with CI4?
Post: RE: Poll: Do you use Composer with CI4?

I like to use composer, and it works fine if I only use CI. But if I want to install some other composer components  I allways get in trouble, because it don't work like the authors wrote in their gui...
4,060 Views
14 Replies
04-15-2022, 02:15 AM
Codinglander
    Thread: Multiple Applications
Post: RE: Multiple Applications

kenjis Wrote: (04-13-2022, 04:29 PM) -- Check the path is correct. PHP Code: -- echo COMPOSER_PATH; exit; -- By the way, why do you want to use Multiple Applications? It seems there is no pa...
1,753 Views
13 Replies
04-13-2022, 10:32 PM
Codinglander
    Thread: Multiple Applications
Post: RE: Multiple Applications

kenjis Wrote: (04-13-2022, 05:10 AM) -- Okay, the first thing you do is to check the path is correct. ROOTPATH . '../vendor/autoload.php' Is that really correct? The instruction in the user gu...
1,753 Views
13 Replies
04-13-2022, 11:08 AM
Codinglander
    Thread: Multiple Applications
Post: RE: Multiple Applications

kenjis Wrote: (04-13-2022, 02:06 AM) -- It seems the line `$config ??= config('App');` sets null to $config. It means `config('App')` can't find Config\App.php. -- I don't want to disagree with yo...
1,753 Views
13 Replies
04-13-2022, 04:56 AM
Codinglander
    Thread: Multiple Applications
Post: RE: Multiple Applications

kenjis Wrote: (04-12-2022, 11:09 PM) -- The error message says the $config's value is null. Why? -- If I know why I would not ask for a solution of this problem  ;) I only want to have multiple...
1,753 Views
13 Replies
04-13-2022, 01:45 AM
Codinglander
    Thread: Multiple Applications
Post: RE: Multiple Applications

kenjis Wrote: (04-12-2022, 06:21 PM) -- See C:\xampp\htdocs\kighwebapps\ci4-projects\vendor\codeigniter4\framework\system\Config\Services.php on line 139 -- You are funny .... The line is PH...
1,753 Views
13 Replies
04-12-2022, 10:26 PM
Codinglander
  Question Thread: Multiple Applications
Post: Multiple Applications

Hello there... I try to setup multiple applications and I followed the instructions on http://codeigniter.com/user_guide/general/managing_apps.html (http://codeigniter.com/user_guide/general/managing...
1,753 Views
13 Replies
04-10-2022, 05:59 PM
Codinglander
    Thread: How to get API result in a variable
Post: RE: How to get API result in a variable

Aaaaah, so it only seems to work if I use the IP address with the port and not the web address as stated by the developer of the API. I would never have thought of that. Thank you, NOW I can work wi...
1,176 Views
7 Replies
04-03-2022, 02:39 AM
Codinglander
    Thread: How to get API result in a variable
Post: RE: How to get API result in a variable

Hmmm... I don't know... Where cloud I check this ?
1,176 Views
7 Replies
04-02-2022, 01:06 AM
Codinglander
    Thread: How to get API result in a variable
Post: RE: How to get API result in a variable

OK, maybe I expressed myself wrong. Here is the full approach: To use an API I create a new library: PHP Code: --
1,176 Views
7 Replies
04-02-2022, 12:00 AM
Codinglander
  Question Thread: How to get API result in a variable
Post: How to get API result in a variable

There is an API, where I can put following code in the address bar: Code: -- http://www.pokerlions-pokerserver.de/api?Command=SystemStats&JSON=Yes&Password=xxxxx -- This returns following: Code:...
1,176 Views
7 Replies
04-01-2022, 01:47 PM
Codinglander
    Thread: Load Library with static functions
Post: RE: Load Library with static functions

Finally I got it ;) With the "use" command I solved it. I managed it with the static method call. $var = MyStaticClass::mystaticmehthod($param)
595 Views
2 Replies
04-01-2022, 09:17 AM
Codinglander
    Thread: Load Library with static functions
Post: Load Library with static functions

Hello there. One question for my actually project. I have a library, there is only one static public function. Must I load the library or can I only use the "use" command ? Or easier "$var = \App\Li...
595 Views
2 Replies
04-01-2022, 03:17 AM
Codinglander
    Thread: What is your favorite CI4-related learning resource?
Post: RE: What is your favorite CI4-related learning res...

snelledre Wrote: (12-20-2021, 02:35 PM) -- One off the best cources is on Udemy from Dave Hollingworth named "CodeIgniter 4: Build a Complete Web Application from Scratch " . -- I also solved this...
4,696 Views
14 Replies
12-26-2021, 08:24 AM
Codinglander
    Thread: my model does not work as expected
Post: RE: my model does not work as expected

You can also use this: http://codeigniter.com/user_guide/models/model.html#protecting-fields For updating data this works perfectly, too.
2,735 Views
3 Replies
04-15-2021, 06:17 AM
Codinglander
  Question Thread: Validation and beforeInsert
Post: Validation and beforeInsert

Hello there. What is the order in which a model works? Is the validation carried out first and then a possible "beforeInsert" carried out or is it the other way around? I am using CI4 Gr...
656 Views
1 Replies
04-03-2021, 07:14 AM
Codinglander
    Thread: Dataset from database accessible on all controllers and views
Post: RE: Dataset from database accessible on all contro...

Oh, Okay... Thank you very much, now it works fine !!!
4,181 Views
8 Replies
03-07-2021, 11:48 PM
Codinglander
    Thread: Dataset from database accessible on all controllers and views
Post: RE: Dataset from database accessible on all contro...

Hi I have a little problem with this feature for CI4: I have a "home controller" where I would like to use a function to test whether the value for "siteOffline" is 1 or 0. If I query this di...
4,181 Views
8 Replies
03-07-2021, 06:58 PM
Codinglander

Theme © iAndrew 2016 - Forum software by © MyBB