Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Markdown Pages for CodeIgniter 4
Post: RE: Markdown Pages for CodeIgniter 4

I ran into this post at a time I was looking for a CI4 alternative to laravel-markdown. Awesome news. Does it also feature a solution for code syntax highlighting?
873 Views
3 Replies
12-31-2024, 08:58 AM
gosocial2
    Thread: Visual Routes (and Route Groups Viewer)
Post: Visual Routes (and Route Groups Viewer)

Has anybody ever dreamt of a visual viewer that displays the hierarchy of routes nested in route groups? I've been working on something like this (screenshot) for a while: https://www.ozar.net/res...
339 Views
1 Replies
12-31-2024, 07:44 AM
gosocial2
    Thread: Any help in this matter would be greatly appreciated.
Post: RE: Any help in this matter would be greatly appre...

The incompatibility you experienced might be specific to Vesta CP. I use Laravel Herd, which makes use of nginx AFAIK) on one computer and drag and drop my CI4 projects there and they just work wi...
551 Views
2 Replies
12-26-2024, 02:31 AM
gosocial2
    Thread: preg_match(): Compilation failed in Shield and Myth/Auth
Post: RE: preg_match(): Compilation failed in Shield and...

@"datamweb" could you please advise in which version of CodeIgniter 4 that this bug was fixed?  I'm currently facing issue with a downgraded project to 4.4.7 from 4.5.5 due to hosting constraints m...
2,866 Views
4 Replies
12-24-2024, 06:55 AM
gosocial2
    Thread: How to handle SecurityException #403 globally?
Post: RE: How to handle SecurityException #403 globally?

This exception is already thrown inside a try-catch block in the before method of the CSRF filter (https://github.com/codeigniter4/CodeIgniter4/blob/develop/system/Filters/CSRF.php), but it is only th...
444 Views
2 Replies
10-29-2024, 07:26 AM
gosocial2
    Thread: How to match a model field with a database field?
Post: RE: How to match a model field with a database fie...

Hi Kuzey, You do not need to define (mapping of) attributes (or variables as you call them) corresponding to the column names in the DB table. The data returned by the model will automatically ensu...
996 Views
2 Replies
10-28-2024, 02:11 AM
gosocial2
    Thread: Why were security config settings in env template removed in recent versions?
Post: RE: Why were security config settings in env templ...

I can't say I understand you. My question is why were they removed from the 'env' template? And should a good (or best) practitioner just make those removed settings only in app/Config/Security (Honey...
551 Views
4 Replies
08-13-2024, 11:08 AM
gosocial2
    Thread: PHP - CodeIgniter Application - deployment error
Post: RE: PHP - CodeIgniter Application - deployment err...

I took a look at the error logs you posted and it seems like the issue might be related to some version mismatches between the packages your app uses. From what I can tell, the ahsankhatri/cryptoli...
1,003 Views
3 Replies
08-13-2024, 10:28 AM
gosocial2
    Thread: Why were security config settings in env template removed in recent versions?
Post: Why were security config settings in env template ...

Hi All, Hope you are having a great day. Been relying on the below parameters in the .env file for quite some time: Code: -- #--------------------------------------------------------------...
551 Views
4 Replies
08-13-2024, 09:03 AM
gosocial2
    Thread: How to retro-actively (re)trigger Myth Auth validation e-mail
Post: How to retro-actively (re)trigger Myth Auth valida...

Hello all,  Does anybody remember how to manually trigger activation e-mail for newly created users in Myth Auth?
840 Views
1 Replies
10-06-2023, 06:02 AM
gosocial2
    Thread: Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)?
Post: RE: Why doesn't $request->getLocale() return the c...

Sorry, but the problem persists. I not only tried all the steps in the documentation, but also the tutorial above. Working app based on CI 4.2.x is at https://ccpdemo2.ozar.net - it can be tested by s...
1,234 Views
4 Replies
08-30-2023, 12:20 AM
gosocial2
    Thread: Why doesn't $request->getLocale() return the correct locale any more (since v.4.3)?
Post: Why doesn't $request->getLocale() return the corre...

I noticed that the last time $request->getLocale() returned the correct locale based on the URI was with CI_VERSION 4.2.x How I use it: PHP Code: -- class BaseController extends Controller {   ...
1,234 Views
4 Replies
08-27-2023, 03:34 AM
gosocial2
    Thread: Can't create a working CI4 project after 4.3.8 and 4.4
Post: RE: Can't create a working CI4 project after 4.3.8...

Captain-sensible's recommendation worked: Code: -- composer require codeigniter4/framework:4.3.8 -- But I will also be trying kenjis's ci4-composer-installer next time.
2,790 Views
5 Replies
08-26-2023, 11:10 PM
gosocial2
    Thread: Can't create a working CI4 project after 4.3.8 and 4.4
Post: Can't create a working CI4 project after 4.3.8 and...

Hello guys, Thrilled with the announcement of CodeIgniter 4.3.8 and 4.4.0, I went ahead and tried to experiment with it.  To be safe, I opted in to create a new project based on 4.3.8 rather than tr...
2,790 Views
5 Replies
08-26-2023, 07:53 AM
gosocial2
    Thread: Ci4 how to check if section exist with renderSection
Post: RE: Ci4 how to check if section exist with renderS...

You do not need to perform such a check by yourself. In your layout file: PHP Code: -- -- In a view  that uses 'content': PHP Code: -- // the content // simply ignore defau...
931 Views
2 Replies
08-05-2023, 06:03 AM
gosocial2
    Thread: Need help with In-Place Quick Sort Implementation
Post: RE: Need help with In-Place Quick Sort Implementat...

Here is a Cı4 library that ports your code to PHP: PHP Code: -- -- You can use this library in a controller like this: PHP Code: -- --
1,057 Views
2 Replies
07-22-2023, 10:34 AM
gosocial2
    Thread: Token Regeneration not worked
Post: RE: Token Regeneration not worked

When you set CSRFT tokens to be regenerated every time a new request is made (with a token), and open multiple browser tabs of the same web app, only the active tab on which you sent the most recent r...
1,147 Views
3 Replies
07-14-2023, 01:29 PM
gosocial2
    Thread: HTTP ERROR 500 - CodeIgniter cPanel
Post: RE: HTTP ERROR 500 - CodeIgniter cPanel

Can you share the contents of your /writeble/logs/ from the hosting ?
11,247 Views
3 Replies
07-03-2023, 07:13 AM
gosocial2
    Thread: Is PHP the Secret King of Code?
Post: RE: Is PHP the Secret King of Code?

I agree. Fireship's take on PHP PHP in 100 Seconds https://www.youtube.com/watch?v=a7_WFUlFS94 also PHP will make you poor? StackOverflow 2023 Results https://www.youtube.com/watch?v=3Ay6qZ88boI I...
678 Views
1 Replies
06-28-2023, 09:13 AM
gosocial2
    Thread: Installing CI4.2.10 on Hostinger in a Subdomain
Post: RE: Installing CI4.2.10 on Hostinger in a Subdomai...

You can also refer to the tutorial here: CI4 Production Deployment https://ozar.net/blog/web-development-php/codeigniter/ci4-production-deployment/
3,608 Views
5 Replies
06-12-2023, 04:59 AM
gosocial2

Theme © iAndrew 2016 - Forum software by © MyBB