Incomplete installation
ThinkPol84 opened this issue · 2 comments
Baikal version: 0.9.5
- I have searched open and closed issues for duplicates
- I have installed the release zip, not the source code zip
- I have moved the whole, untouched
Specific
andconfig
folders to the new installation
Problem:
Hi all. when I visit my webserver I receive the following error:
"Baïkal dependencies have not been installed. If you are a regular user, this means that you probably downloaded the wrong zip file."
I am using the zip file called "baikal-0.9.5.zip".
Debian 12.
Webserver is apache with the config file from:
https://sabre.io/baikal/install/
I have followed the German and the French guide on the Baikal github page.
I am wondering, what are the exact dependencies and may this have something to do with the php version? I am currently using version 8.2.
With the following extra information on my webpage, can you help me out what I am missing?
ni_set("session.cookie_httponly", 1); ini_set("display_errors", 0); ini_set("log_errors", 1); define("BAIKAL_CONTEXT", true); define("PROJECT_CONTEXT_BASEURI", "/"); if (file_exists(getcwd() . "/Core")) { # Flat FTP mode define("PROJECT_PATH_ROOT", getcwd() . "/"); #./ } else { # Dedicated server mode define("PROJECT_PATH_ROOT", dirname(getcwd()) . "/"); #../ } if (!file_exists(PROJECT_PATH_ROOT . 'vendor/')) { exit('
'); } require PROJECT_PATH_ROOT . 'vendor/autoload.php'; # Bootstrapping Flake \Flake\Framework::bootstrap(); # Bootstrapping Baïkal \BaikalAdmin\Framework::bootstrap(); # Create and setup a page object $oPage = new \Flake\Controller\Page(PROJECT_PATH_ROOT . "Core/Resources/Web/Baikal/Templates/Page/index.html"); $oPage->injectHTTPHeaders(); $oPage->setTitle("Baïkal server"); $oPage->setBaseUrl(PROJECT_URI); # Draw page $oPage->zone("navbar")->addBlock(new \Baikal\Controller\Navigation\Topbar\Anonymous()); $oPage->zone("Payload")->addBlock(new \Baikal\Controller\Main()); # Render the page echo $oPage->render();
Update
I have installed Baikal now by cloning the repo to my server:
https://github.com/sabre-io/Baikal.git
Using the "compose install" method from within the Baikal root directory.
I think it is set up correctly now, but now it is time to figure out this 403 Forbidden error on the Apache2 webserver on Debian.
I have set it up with Nginx and Debian 12.
I cloned from github and ran composer install to complete the dependencies.