![]() |
"testing" Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: "testing" Error (/showthread.php?tid=73489) |
"testing" Error - donpwinston - 04-29-2019 I get the following when my environment is set to "testing": Code: Warning: Use of undefined constant SUPPORTPATH - assumed 'SUPPORTPATH' (this will throw an Error in a future version of PHP) in /opt/lampp/htdocs/system/Config/AutoloadConfig.php on line 96 I'm using beta 1. Where is SUPPORTPATH supposed to be defined? Good news is everything seems to work fine in development mode. RE: "testing" Error - donpwinston - 04-29-2019 SUPPORTPATH is defined in _support/_bootstrap.php I'm using the manual installation. I don't think this is being executed. Should I create an issue for this or am I missing something? RE: "testing" Error - donpwinston - 04-29-2019 I solved the problem by creating a "test.php" file in app/Config/Boot and SetEnv CI_ENVIRONMENT test in .htaccess I think there is something messed up with "testing" mode in Beta 1 and probably Beta 2. |