Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: SMTP fails on localhost
Post: RE: SMTP fails on localhost

Before looking for an in-depth solution I would suggest, as a quick and easy check, you turn off TEMPORARIALY your anti-virus software. Then try to send the email again. This is a know problem with AV...
7,385 Views
11 Replies
05-23-2021, 06:20 AM
[email protected]
    Thread: How can I use findAll with select in model?
Post: RE: How can I use findAll with select in model?

Code: -- // Method inside your controller public function dbtest() { $model = model('MyModel'); $builder = $model->builder(); $builder->select('column1, column2'); $result = $...
3,540 Views
2 Replies
04-06-2021, 06:12 AM
[email protected]
    Thread: Custom CLI Return "Cannot declare class name in use"
Post: RE: Custom CLI Return "Cannot declare class name i...

You wrote: Should I use ROOTPATH instead of APPPATH? NO, Use APPPATH if these folders are inside the app/ folder. Edit your code file (make sure it is named PrintHelloWorld.php and lives in app...
4,007 Views
4 Replies
04-01-2021, 02:12 AM
[email protected]
    Thread: Custom CLI Return "Cannot declare class name in use"
Post: RE: Custom CLI Return "Cannot declare class name i...

Assuming your app/config/Autoload.php contains this entry: 'Someone\plugins' => ROOTPATH . 'someone/plugins' Then the namespace in your code says that your file is in: someone/plugins/Commands fo...
4,007 Views
4 Replies
03-31-2021, 02:54 PM
[email protected]
    Thread: Need help with my delete button
Post: RE: Need help with my delete button

Hi The code you have written is basically the start of a CRUD type project. CRUD stands for Create, Read (view), Update and Delete. It is a standard layout for many applications. Lookup "CodeIgnit...
2,614 Views
4 Replies
03-31-2021, 05:34 AM
[email protected]
    Thread: Modules and Views
Post: RE: Modules and Views

Thanks InsiteFX for replying although I'm not sure what contribution you are trying to make. Is this just a generic comment not directly related to my post Where in my code do I not use a fully qual...
1,925 Views
3 Replies
03-30-2021, 06:50 AM
[email protected]
    Thread: Modules and Views
Post: RE: Modules and Views

After all that I seem to have found the solution. Code: -- // Airports Controller     public function moduleTest()     {         $data['title']="Module View"; echo view('Bobk\airports\Vie...
1,925 Views
3 Replies
03-29-2021, 03:37 PM
[email protected]
    Thread: Modules and Views
Post: Modules and Views

CodeIgniter 4.1.1  PHP7.4.4 Cannot get module views to work: http://localhost/Airports/moduleTest  results in: viewException: Invalid file: Bobk\airports\views\moduleTest.php This is the se...
1,925 Views
3 Replies
03-29-2021, 11:28 AM
[email protected]

Theme © iAndrew 2016 - Forum software by © MyBB