Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Sending email using smtp doesn't work
Post: RE: Sending email using smtp doesn't work

Works fine with: public $fromEmail = '[email protected]'; public $protocol = 'smtp'; public $SMTPHost = 'smtp.gmail.com'; public $SMTPUser = '[email protected]'; public $SMTPPass = '********'...
1,605 Views
3 Replies
04-14-2020, 06:27 AM
elephpantech
    Thread: How to set Validation Labels on Model
Post: RE: How to set Validation Labels on Model

falko Wrote: (02-13-2020, 12:43 PM) -- Hello, CodeIgniters! How to set Validation Labels on Model? Thanks! ! ! -- PHP Code: -- class Users extends \CodeIgniter\Model {         protected $va...
1,237 Views
2 Replies
02-19-2020, 07:45 AM
elephpantech
  Thumbs Up Thread: CodeIgniter 4.0.0-rc.1 released
Post: RE: CodeIgniter 4.0.0-rc.1 released

best work!
33,087 Views
31 Replies
09-04-2019, 07:39 AM
elephpantech
    Thread: how to update ?
Post: RE: how to update ?

First you must overwrite the "system" directory and read the "changelog (https://codeigniter4.github.io/userguide/changelogs/v4.0.0-beta.3.html)" to see what changes should be applied in the other dir...
2,571 Views
7 Replies
05-14-2019, 06:20 AM
elephpantech
    Thread: Error after upgrading from beta1 to beta2
Post: RE: Error after upgrading from beta1 to beta2

Solved: https://github.com/codeigniter4/CodeIgniter4/commit/7cfa780021048d6653bc701b64cc62496fc3114d (https://github.com/codeigniter4/CodeIgniter4/commit/7cfa780021048d6653bc701b64cc62496fc3114d)
3,049 Views
8 Replies
04-08-2019, 06:31 AM
elephpantech
    Thread: Error after upgrading from beta1 to beta2
Post: RE: Error after upgrading from beta1 to beta2

Same problem detected! My tests found the problem appear when I use "with('message', 'OK')" method in "return redirect()->back()" object; I've manual install a new clean app and only change $bas...
3,049 Views
8 Replies
04-06-2019, 07:03 AM
elephpantech
    Thread: Where is Beta 2 Release
Post: RE: Where is Beta 2 Release

rmcdahal Wrote: (04-05-2019, 03:26 AM) -- Yesterday we have got beta release from announcement,while checking github page there is no beta 2 release, which is needed for manual installation -- http...
1,890 Views
4 Replies
04-05-2019, 05:24 AM
elephpantech
    Thread: Validation Always Print Error Message
Post: RE: Validation Always Print Error Message

My approach would be: controller: PHP Code: -- public function pagecreate() {     if ($this->request->getMethod() === 'post')     {         if ($this->validate(['title' => 'required', 'body' => 'req...
2,616 Views
4 Replies
04-03-2019, 06:31 AM
elephpantech
    Thread: pager->links() not work in view layouts
Post: RE: pager->links() not work in view layouts

Fixed succesfully by lonnieezell see https://github.com/codeigniter4/CodeIgniter4/commit/ebeb635ed3ebd9e4c583a73d29132005e1a2c259 (https://github.com/codeigniter4/CodeIgniter4/commit/ebeb635ed3ebd9e4c...
1,563 Views
1 Replies
03-14-2019, 07:10 AM
elephpantech
    Thread: How to check if a user logged in?
Post: RE: How to check if a user logged in?

2 Filters Class: Authentication and Authorization PHP Code: -- public $globals = [    'before' => [        'authentication' => ['except' => ['users/login']],    ], ]; public $filters = [  ...
9,026 Views
5 Replies
03-11-2019, 07:14 AM
elephpantech
    Thread: Correct permissions for Writable folder?
Post: RE: Correct permissions for Writable folder?

happyape Wrote: (03-08-2019, 10:35 AM) -- Could somebody show me what permissions do I need to setup for Writable and it's sub folders? I am getting this error CodeIgniter\Cache\Exceptions\Cac...
26,580 Views
6 Replies
03-08-2019, 12:26 PM
elephpantech
    Thread: CI4 beta.1 - How to load view in view with layout
Post: RE: CI4 beta.1 - How to load view in view with lay...

pinebranch Wrote: (03-08-2019, 01:40 AM) -- Hello, In beta 1, how can I load a partial view in a view with layout? When I use this code, nothing is rendered.  PHP Code: --        Hel...
10,370 Views
8 Replies
03-08-2019, 10:28 AM
elephpantech
    Thread: How to check if a user logged in?
Post: RE: How to check if a user logged in?

My approach is with Filters: PHP Code: -- //app/Config/Filters.php public $aliases = [    'auth' => \App\Filters\Auth::class, ]; public $globals = [    'before' => [         'auth',      ...
9,026 Views
5 Replies
03-06-2019, 06:18 AM
elephpantech
    Thread: pager->links() not work in view layouts
Post: pager->links() not work in view layouts

I am using beta-1 and try to print pagination links using "pager->links()" or "pager->simpleLinks()" but nothing comes out if I do that within "this->section('content')" . NOTE: Without View layout...
1,563 Views
1 Replies
03-06-2019, 05:45 AM
elephpantech
    Thread: CI4: what the use of esc inside view
Post: RE: CI4: what the use of esc inside view

https://www.phptherightway.com/#data_filtering
6,637 Views
9 Replies
07-25-2018, 03:32 PM
elephpantech
    Thread: CI4 release date coming
Post: RE: CI4 release date coming

I'm glad to hear that. Excellent work!
24,401 Views
21 Replies
07-24-2018, 07:50 AM
elephpantech

Theme © iAndrew 2016 - Forum software by © MyBB