Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Help #28

Closed
uween opened this issue Apr 6, 2023 · 10 comments
Closed

Installation Help #28

uween opened this issue Apr 6, 2023 · 10 comments

Comments

@uween
Copy link

uween commented Apr 6, 2023

I tried to install this and i'm using cyberpanel and i have made a composer in my public html "composer create-project libarea/libarea . --stability=beta" but the thing is when i open my website using the domain "mydomain.tld or mydomain.tld/public" nothing worked. what is the issue? does any one know how to fix this?

@acem702
Copy link

acem702 commented Apr 6, 2023

You need to program your server to access the index.php from the public folder not the root directory I don't know if a .htaccess file can solve it on cyberpanel

@uween
Copy link
Author

uween commented Apr 6, 2023

when i do that there's an error " mydomain.tld is currently unable to handle this request.
HTTP ERROR 500"

@uween
Copy link
Author

uween commented Apr 6, 2023

When i Open "mydomain.tld/public" there's an error "mydomain.tld redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS"

@evgip
Copy link
Collaborator

evgip commented Apr 6, 2023

Look at this post:

https://libarea.ru/post/1359/is-it-possible-to-run-libarea-on-shared-host-through-cpanel

If configured correctly, then you can see: mydomain.tld/favicon.ico

Folder vendor you can say already built at: https://libarea.ru/dev/vendor.zip

@uween
Copy link
Author

uween commented Apr 6, 2023

yes i can see the favicon.ico but ui is not loading

@evgip
Copy link
Collaborator

evgip commented Apr 6, 2023

@uween

In the start.hleb.php file (it's at the root), change this line to true:

define('HLEB_PROJECT_DEBUG', true);

or look at the logs at: /storage/logs/

There must be some errors. If it doesn't work for you.

@uween
Copy link
Author

uween commented Apr 6, 2023

start.hleb.php

thanks to you i solved out the above mentioned problem. thank you so much!. but i got an another problem

"Fatal error: Uncaught Error: Class "Parsedown" not found in /mydomain/public_html/app/Services/Parser/Filter.php:14 
Stack trace: #0 /mydomain/public_html/app/helpers.php(82): App\Services\Parser\Filter::noHTML()
 
#1 /mydomain/public_html/app/Controllers/Post/PostController.php(54): fragment() 
#2 /mydomain/public_html/vendor/phphleb/framework/Constructor/Workspace.php(307): App\Controllers\Post\PostController->index() 
#3 /mydomain/public_html/vendor/phphleb/framework/Constructor/Workspace.php(120): Hleb\Constructor\Workspace->getController() 
#4 /mydomain/public_html/vendor/phphleb/framework/Constructor/Workspace.php(97): Hleb\Constructor\Workspace->renderGetMethod() 
#5 /mydomain/public_html/vendor/phphleb/framework/Constructor/Workspace.php(34): Hleb\Constructor\Workspace->create() #6 /mydomain/public_html/vendor/phphleb/framework/Main/ProjectLoader.php(46): Hleb\Constructor\Workspace->__construct() #7 /mydomain/public_html/vendor/phphleb/framework/bootstrap.php(325): Hleb\Main\ProjectLoader::start() 
#8 /mydomain/public_html/public/index.php(26): require('...') 
#9 {main} thrown in /mydomain/public_html/app/Services/Parser/Filter.php on line 14"

@evgip
Copy link
Collaborator

evgip commented Apr 6, 2023

What files did you download and how did you even install the script? Did you use the release or download the latest version from the repository?

This error indicates that the versions of the files in the app and vendor folders are different.

Just download the files that are currently in the repository and add the folder from the archive to them: https://libarea.ru/dev/vendor.zip

or, use the composer yourself for assembly.

https://github.com/LibArea/libarea#for-testing-installation

@evgip
Copy link
Collaborator

evgip commented Apr 7, 2023

@uween

Did you manage to install? If you have questions, you can write me private messages on the site or in the chat (link at the bottom of the libarea site), I will try to help.

Below is the compiled archive. You can download the script at:

https://libarea.ru/dev/libarea-0.5.5.zip

https://libarea.ru/post/1370/add-skript-soobshchestva-libarea-v0-5-5

@evgip
Copy link
Collaborator

evgip commented Apr 11, 2023

Let's assume the issue is resolved.

@evgip evgip closed this as completed Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants