Setting baseURL in Registrar not working |
If it's never invoked how did you get the fatal error that is being thrown? The error is saying that you defined your baseURL as '/' in Config/App.php. Which is why the application fails. Your namespace is also wrong in your registrar, it's not namespace Config; it should be namespace App/Config;, which is perhaps another reason it isn't working.
EDIT: Make the baseURL line in your Config/App.php the following: PHP Code: public string $baseURL = 'http://192.168.0.1:81/'; PHP Code: <?php |
Messages In This Thread |
Setting baseURL in Registrar not working - by petewulf1 - 05-13-2025, 03:20 AM
RE: Setting baseURL in Registrar not working - by michalsn - 05-14-2025, 12:09 AM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-15-2025, 01:45 PM
RE: Setting baseURL in Registrar not working - by grimpirate - 05-15-2025, 02:20 PM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-21-2025, 06:49 AM
RE: Setting baseURL in Registrar not working - by grimpirate - 05-21-2025, 10:01 AM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-21-2025, 01:38 PM
RE: Setting baseURL in Registrar not working - by InsiteFX - 05-21-2025, 09:01 PM
RE: Setting baseURL in Registrar not working - by petewulf1 - 05-21-2025, 11:14 PM
RE: Setting baseURL in Registrar not working - by michalsn - 05-22-2025, 12:10 AM
|