Skip to content

Installation issue #641

@vpsinghbaghel

Description

@vpsinghbaghel

Hi,
Could you please help me on this:

This is a fresh installation on Ubuntu 18.
After running sudo docker-compose up -d
when i open on browser, IPaddress:8080 I get following error.

" Fatal error: Uncaught Error: Class 'DATABASE_CONFIG' not found in /var/www/html/app/config/bootstrap.php:97 Stack trace: #0 /var/www/html/cake/libs/configure.php(442): include() #1 /var/www/html/cake/libs/configure.php(52): Configure->__loadBootstrap(true) #2 /var/www/html/cake/bootstrap.php(38): Configure::getInstance() #3 /var/www/html/app/webroot/index.php(83): include('/var/www/html/c...') #4 /var/www/html/index.php(55): require('/var/www/html/a...') #5 {main} thrown in /var/www/html/app/config/bootstrap.php on line 97 "

Could you please help me on this?

Best Regards.

Also I am getting below error unless I don't manually chmod 777 to tmp directory inside app.
Warning (512): /var/www/html/app/tmp/cache/persistent/ is not writable [CORE/cake/libs/cache/file.php, line 281]
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/html/cake/libs/folder.php on line 498
Warning (512): /var/www/html/app/tmp/cache/models/ is not writable [CORE/cake/libs/cache/file.php, line 281]
Warning: mkdir() [function.mkdir]: Permission denied in /var/www/html/cake/libs/folder.php on line 498

Please help to fix this.
Regards.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions