CodeIgniter Forums
Installation Problems on Synology Drive - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forum-9.html)
+--- Thread: Installation Problems on Synology Drive (/thread-78632.html)



Installation Problems on Synology Drive - MightBeABitLate - 02-18-2021

Hi there.

I am trying to install CI 4 on my Synology drive for testing.

I have installed the package at

http://192.168.***.***/test.domain.co.uk/ci_smr/

When I try to access the site via

http://192.168.***.***/test.domain.co.uk/ci_smr/public/index.php

I get an ERROR 500 message and this message in the Apache log file:

Got error 'PHP message: PHP Warning:  require_once(/Config/Constants.php): failed to open stream: No such file or directory in /volume1/web/test.domain.co.uk/ci_smr/system/bootstrap.php on Line 79

Failed opening '/Config/Constant.php'

The base url is set to:

public $baseURL = 'http://192.168.***.***/test.domain.co.uk/ci_smr/';

Can anyone shed some light on this?

Thank you.

JB


RE: Installation Problems on Synology Drive - brabus - 02-18-2021

i dont know, what under hood, but if apache - does your virtual hosts pointing to correct folder?


RE: Installation Problems on Synology Drive - MightBeABitLate - 02-19-2021

Bit confused - why do I need a virtual host? The Synology drive provides Apache 2.4...

I uploaded CI4 to a remote server and had exactly the same problem.