Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: SQL server connection not working
Post: RE: SQL server connection not working

Also tested on a fresh install of CI 4.5.1: PHP Code: -- public array $sqlsrv = [         'DSN'        => '',         'hostname'  => '127.0.0.1\sqlexpress',         'username'  => 'uid',        ...
378 Views
15 Replies
04-26-2024, 04:52 AM
JustJohnQ
    Thread: SQL server connection not working
Post: RE: SQL server connection not working

I can confirm it is not a bug. Adding the line: PHP Code: -- 'port'        => '', -- doesn't make a difference. A connection is made without problems.
378 Views
15 Replies
04-25-2024, 05:03 AM
JustJohnQ
    Thread: SQL server connection not working
Post: RE: SQL server connection not working

This works for me in CI 4.4.6 with MS SQL Server Express 2019: Code: -- public array $sqlsrv = [ 'DSN'        => '', 'hostname'  => '127.0.0.1\sqlexpress', 'username'  => 'user', 'password' ...
378 Views
15 Replies
04-25-2024, 03:06 AM
JustJohnQ
    Thread: codeigniter 3.0.1 equiped with opencart filemanager
Post: RE: codeigniter 3.0.1 equiped with opencart filema...

You realize this thread is over 7 years old?
3,575 Views
3 Replies
04-23-2024, 10:05 AM
JustJohnQ
    Thread: directory structure
Post: RE: directory structure

There's a definite destinction using Composer or a stand-alone installation as described here: https://codeigniter4.github.io/userguide/installation/installing_manual.html If you don't need the addi...
298 Views
6 Replies
04-15-2024, 12:20 PM
JustJohnQ
    Thread: Oauth SMTP authentication support?
Post: RE: Oauth SMTP authentication support?

Check: https://github.com/datamweb/shield-oauth
139 Views
2 Replies
04-09-2024, 03:57 AM
JustJohnQ
    Thread: Warning
Post: RE: Warning

A little more information would help.  Which PHP version? Which CI version? content of .htaccess if present...
176 Views
2 Replies
03-19-2024, 05:04 AM
JustJohnQ
    Thread: Full Logs text
Post: RE: Full Logs text

https://codeigniter4.github.io/userguide/database/helpers.html#db-getlastquery
233 Views
3 Replies
03-17-2024, 02:39 PM
JustJohnQ
    Thread: Change language dynamically CI 4.4.6
Post: RE: Change language dynamically CI 4.4.6

Sorry, My answer was incomplete. The default language is set in the initController function in the BaseController: PHP Code: -- $session = \Config\Services::session(); $language = \Config\Serv...
270 Views
4 Replies
03-13-2024, 09:00 AM
JustJohnQ
    Thread: Change language dynamically CI 4.4.6
Post: RE: Change language dynamically CI 4.4.6

I am using the following code: In the top navigation, I have a dropdown menu: Code: --     
270 Views
4 Replies
03-13-2024, 08:35 AM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

Without seeing any actual code, I can’t help no more. There are enough tools like dd() to focus on the problem.  Check the routing which doesn’t work again and see if it calls the right function in t...
502 Views
9 Replies
03-08-2024, 12:30 PM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

What does dd($data[‘page’]); show after calling fetch_page in your model?
502 Views
9 Replies
03-08-2024, 11:20 AM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

I am confused. From your controller you call: Code: -- $page = $this->PageModel->fetch_page($page_id); -- dd($page) returns 0, but print_r($page) has the correct object? Then you send $data['page...
502 Views
9 Replies
03-08-2024, 09:14 AM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

Are you saying that when the following is executed in your controller, the correct data is displayed: PHP Code: -- $page = $this->PageModel->fetch_page($page_id); echo dd($page); -- If that is th...
502 Views
9 Replies
03-08-2024, 07:19 AM
JustJohnQ
    Thread: Support for multiple .env file.
Post: RE: Support for multiple .env file.

In PHPStorm it is very easy to exclude a file to upload during synchronisation. More information can be found here: https://www.jetbrains.com/help/phpstorm/excluding-files-and-folders-from-deploymen...
2,750 Views
10 Replies
03-07-2024, 05:49 AM
JustJohnQ
    Thread: server-side DataTables Library for CodeIgniter4
Post: RE: server-side DataTables Library for CodeIgniter...

This may be the correct link to the documentation: https://codeigniter4-datatables.hermawan.dev/
11,383 Views
10 Replies
03-04-2024, 07:22 AM
JustJohnQ
    Thread: form POST not working
Post: RE: form POST not working

See: https://codeigniter4.github.io/userguide/general/urls.html#removing-the-index-php-file
452 Views
8 Replies
03-03-2024, 04:24 AM
JustJohnQ
    Thread: CI goes crazy with iframes
Post: RE: CI goes crazy with iframes

https://www.php.net/manual/en/function.get-browser.php All my tests were in Firefox btw
614 Views
10 Replies
02-29-2024, 09:33 AM
JustJohnQ
    Thread: TCPDF send to browser
Post: RE: TCPDF send to browser

Does $link_pdf have a pdf extension?
354 Views
3 Replies
02-29-2024, 09:23 AM
JustJohnQ
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

I didn't test it with a validation language file, but in a regular language file. I am not sure if you have seen this: https://codeigniter4.github.io/userguide/libraries/validation.html#translation-...
396 Views
8 Replies
02-28-2024, 07:41 AM
JustJohnQ

Theme © iAndrew 2016 - Forum software by © MyBB