CodeIgniter 4.6.0 Deploy Issue |
I deployed CodeIgniter 4.6.0, but I'm encountering a syntax error in the Config/App.php file related to the public string $baseURL declaration. When I remove the string type declaration, the error shifts to the next line. Additionally, other configuration files, such as Routes.php, are also showing similar string or array syntax errors. Can someone help me properly install and configure CodeIgniter 4.6.0?
02-13-2025, 11:21 AM
(This post was last modified: 02-13-2025, 11:25 AM by captain-sensible. Edit Reason: usual suspects )
if you copy the syntax error we may be able to help
This is an example of a working CI4 on localhost: Code: public string $baseURL = 'http://127.0.0.7/'; this is an example of a working web : Code: public string $baseURL = 'https://andrinadesignstudio.com/';
public string $baseURL = 'http://autotechremapping.co.uk/';
when i remove the "string" it goes away but i notice almost all config files has this syntax error either with "array or string"
Check ./spark config:check Config\\App ?
|
Welcome Guest, Not a member yet? Register Sign In |