![]() |
CodeIgniter 4.6.0 Deploy Issue - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: CodeIgniter 4.6.0 Deploy Issue (/showthread.php?tid=92462) |
CodeIgniter 4.6.0 Deploy Issue - boostah - 02-13-2025 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? RE: CodeIgniter 4.6.0 Deploy Issue - captain-sensible - 02-13-2025 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/'; RE: CodeIgniter 4.6.0 Deploy Issue - boostah - 02-13-2025 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" RE: CodeIgniter 4.6.0 Deploy Issue - ozornick - 02-13-2025 Check ./spark config:check Config\\App ? |