Welcome Guest, Not a member yet? Register   Sign In
"testing" Error
#1

(This post was last modified: 04-29-2019, 01:23 PM by donpwinston.)

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

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 192

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 193

I'm using beta 1. Where is SUPPORTPATH supposed to be defined?

Good news is everything seems to work fine in development mode.
Simpler is always better
Reply
#2

(This post was last modified: 04-29-2019, 05:06 PM by donpwinston.)

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?
Simpler is always better
Reply
#3

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.
Simpler is always better
Reply




Theme © iAndrew 2016 - Forum software by © MyBB