potap
July 5, 2022, 4:57pm
1
Blockquote
PHP Fatal error: Uncaught Error: Undefined constant “APPLICATION” in /home/potap/web/daf-tlt.tk/public_html/system/framework.php:4 Stack trace: #0 /home/potap/web/daf-tlt.tk/public_html/system/startup.php(66): require_once() #1 /home/potap/web/daf-tlt.tk/public_html/install/cli_install.php(45): require_once(‘…’) #2 {main} thrown in /home/potap/web/daf-tlt.tk/public_html/system/framework.php on line 4 Fatal error: Uncaught Error: Undefined constant “APPLICATION” in /home/potap/web/daf-tlt.tk/public_html/system/framework.php:4 Stack trace: #0 /home/potap/web/daf-tlt.tk/public_html/system/startup.php(66): require_once() #1 /home/potap/web/daf-tlt.tk/public_html/install/cli_install.php(45): require_once(‘…’) #2 {main} thrown in /home/potap/web/daf-tlt.tk/public_html/system/framework.php on line 4 Error: cmd exited with errors
Blockquote
up.php(66): require_once() #1 /home/potap/web/daf-tlt.tk/public_html/install/cli_install.php(45): require_once(‘…’) #2 {main} thrown in /home/potap/web/daf-tlt.tk/public_html/system/framework.php on line 4 Error: cmd exited with errors
eris
July 5, 2022, 7:51pm
2
opened 12:49PM - 26 May 22 UTC
closed 12:57PM - 03 Jun 22 UTC
**What version of OpenCart are you reporting this for?**
4.0.0.0
**Describe th… e bug**
**_php cli_install.php install_** returns:
Fatal error: Uncaught Error: Undefined constant "APPLICATION" in /home/username/www/opencart/system/framework.php:4
Stack trace:
#0 /home/username/www/opencart/system/startup.php(66): require_once()
#1 /home/username/www/opencart/install/cli_install.php(45): require_once('/home/username/...')
#2 {main}
thrown in /home/username/www/opencart/system/framework.php on line 4
**To Reproduce**
Steps to reproduce the behavior:
1. Go to location of cli_install.php
2. Try to run php cli_install.php
3. See error
**Expected behavior**
Expected to start installation if all required arguments are present or show "**_Usage:_**" message if arguments are not present.
**Server / Test environment:**
- Operating system - Debian GNU/Linux 10
- PHP version - PHP 8.0.19 (cli) (built: May 19 2022 13:36:26)
- Apache version - 2.4.46
I hope they release 4.0.0.1 soon
2 Likes
system
Closed
August 5, 2022, 3:52am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.