This repository was archived by the owner on Feb 24, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 62
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
installer throw ErrorException #107
Copy link
Copy link
Open
Description
Hello @khodakhah & nodcms team,
as per nodcms github documentation i tried to install and run nodcms on localhost, but unfortunately after run the application it throw error Exception.
I'm using
- PHP version : 8.1.9
- codeigniter version : 4 .2.10
error I'm getting is:
ErrorException
rtrim(): Passing null to parameter #1 ($string) of type string is deprecated
SYSTEMPATH\View\View.php at line 143
136 * @var array<string>
137 */
138 protected $sectionStack = [];
139
140 public function __construct(ViewConfig $config, ?string $viewPath = null, ?FileLocator $loader = null, ?bool $debug = null, ?LoggerInterface $logger = null)
141 {
142 $this->config = $config;
143 $this->viewPath = rtrim($viewPath, '\\/ ') . DIRECTORY_SEPARATOR;
144 $this->loader = $loader ?? Services::locator();
145 $this->logger = $logger ?? Services::logger();
146 $this->debug = $debug ?? CI_DEBUG;
147 $this->saveData = (bool) $config->saveData;
148 }
149
150 /**
.env file changes are :
#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------
CI_ENVIRONMENT=development
ENVIRONMENT=development
#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------
# Web root URL
app.baseURL=http://localhost:8080
# If you have trouble with `.`, you could also use `_`.
# app_baseURL = ''
app.forceGlobalSecureRequests=false
app.CSPEnabled=false
I'm not able to proceed any more, please help me for this issue.
thanks
Metadata
Metadata
Assignees
Labels
No labels