cydrobolt / polr

:aerial_tramway: A modern, powerful, and robust URL shortener
https://polrproject.org
GNU General Public License v2.0
4.99k stars 894 forks source link

i Cant Install On Shared host #406

Open SajjadSayyadi opened 6 years ago

SajjadSayyadi commented 6 years ago

Hello Thanks for writing this beautiful and flexible script Sorry, I can not install it on the C-Panel I do not understand the installation instructions at all Please help me to install it

urbels commented 6 years ago

https://github.com/cydrobolt/polr/issues/349

SajjadSayyadi commented 6 years ago

Thank you But I'm confused. I really do not have to install it I am a beginner user When I get it out of the extraction There are a lot of files in the root of my website But I do not know how to do the database config Please tell me when I uploaded the file in my Cpanel Then I have to run which file to install it? If you can explain it step-by-step With respect

cydrobolt commented 6 years ago

See the ticket @urbels referenced above. Documentation is also available at https://docs.polrproject.org There's not much more we can do to help without knowing exactly how your setup is configured.

SajjadSayyadi commented 6 years ago

Hello Thank you I did not find a new way to install this script on the cpanel But I contacted my colleagues to install it for me We have not succeeded yet Would you design an easier installation for the Cpanel

Thank you in any case

serandah commented 6 years ago

There is no need for a separate installer. CPanel is just a control panel to manage the server.

Can you get it working locally under WAMP/MAMP or Vagrant? If so, you can upload the files (everything in "polr" folder), export the local database, crate a database on CPanel and import the export, change the values in .env file (DB_HOST, DB_USERNAME, etc...) and set the "Public" directory as the "Document Root" in CPanel for that domain.

SajjadSayyadi commented 6 years ago

Hello Yes, it is easy to install on the local by wamp I finally managed to install it with the help of a friend But now my new problem is in this image

121

I think it's better I will send you the login details of my host , to find the problem If you want, give me an email address

serandah commented 6 years ago

The screen you uploaded suggests it's an old Lumen version. Are you following the guide and setting up the project from scratch?

MichSimi commented 6 years ago

check where the .env file is written in line 189 -> "app/Http/Controllers/SetupController.php" $handle = fopen('../.env', 'w'); i solved this error changing the path to '../polr/.env'