Request for Help: CodeIgniter 3 to 4 Migration |
I'm currently working on migrating a website from CodeIgniter 3 to CodeIgniter 4 and facing several challenges. I have very limited experience with this framework and have been using AI tools to assist me.
Current Situation:
the structure
Open and check your css files img to see if it is using a link, you may need to change it.
For assets we use them like this, this is most standard for CI. Code: // Assets What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I have tried to migrate to Codeigniter v4.
The following options at the menu are working https://niph.org.kh/niph2025/laboratory https://niph.org.kh/niph2025/niph-school But I can't find out why these are not https://niph.org.kh/niph2025/research https://niph.org.kh/niph2025/library This is the original website https://niph.org.kh/niph/ I tried not to change the classes and the structure to make the migration easier they should look like this https://niph.org.kh/niph/home/index.html Thanks in advance
The following return types are supported
int float bool string array callable interfaces object (PHP 7.2+) You can also declare a nullable return type by putting a question mark in front of the return data type. PHP Code: public function foo(): ?int { What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |