Error
Closed this issue ยท 8 comments
Can anyone help me with this problem? http://prntscr.com/hl1eat ?
What webserver are you using? Xampp, IIS, ? ๐
I know how do to it on IIS and cPanel. Might be able to help you.
Please tell me. ๐
Example for changing documentroot on IIS.
If you have something else please say so.
Have all the requirements in order to run Chocolatey CMS. (PHP 7.1, mysql and so on)
Make sure you have uploaded the content of Chocolatey CMS into your root folder, as in this case is wwwroot
For this tutorial I'm running PHP v7.1.7
As you see in the image there is a folder called public
fantastic!
Open up IIS Manager and go to this location:
Internet Imformation Services -> Sites -> Default Web Site -> Basic settings.
You want to change the Physical Path:
Before and After example images.
Before
After [Needs to be changed to this]
Go to your php.ini and find this:
allow_url_fopen & allow_url_include
and set those values to On
You get error messages that is saying 500 error.
Go to your php.ini file and locate:
display_errors
set value to On
Alright, I've got the error messages on my screen saying something about permissions
Example:
Right click on wwwroot or at your selected rootfolder.
Click Properties
& then Security
Select Users
and give him full permissions.
Example:
Oy! I've now got this error!!! plz help..
Check your chocolatey.php file inside the Config folder.
Check and see that your site url is alright.
Didnt help?
Make sure your .env details is correct.
Upload .sql database file arcturus-1.11.0.sql
to your db.
Install Composer
https://getcomposer.org/
Open up CMD
Remember to change location on cmd.
Example: cd c:\inetpub\wwwroot
Execute: php artisan migrate
I know I also went out of subject right here now, and didnt stay completely on the topic of documentroot.
Just wanted to give you these tips, in case you come across the same problems as me.
Enjoy
Can you make a tutorial how to run php artisan migrate ?
How to install Composer and Migrating.
Sorry if this tutorial is not good. Did this in a hurry!
Go to https://getcomposer.org/download/
Install Composer_Setup.exe
Be sure that you select the right PHP version! Very important!
This is for me, might be different from yours!
Restart your PC after installation.
Now go and open console. CMD.
Go and select the path. Run cd pathtoyour-rootfolder
Example for my system: cd C:\inetpub\wwwroot
When your there.
Run composer install
and after that run php artisan migrate
Hi! But I now got this error [Fileinfo does not exist.]
Go to php.ini and all the way down to extentions.
Enableextension=php_fileinfo.dll
Take a look at my images down here. It might be to help if you don't understand. ๐
You can open up CMD and jump right into your location by doing this:
This is also a way to change path:
By typing in dir
it then shows whats inside the location your at:
Amazing setup! @TheOmanNorge adding it on the Chocolatey Wiki!
@Sant0ro
Thank you. ๐
It's not the greatest tutorial, since i feel that with all the images it's kinda messy.
And I would have tried to have done a much better job with the tutorial if I did know before hand that It would be going into the tutorial section one day.
Just saying in case people one day is complaining about it.
Anyway if that is the case one day, I'll be here superfast and helping out if someone didnt understand it.
But I appreciate that you added it, and again thank you! ๐
@TheOmanNorge if you want to edit. I sent to you an invite to be collaborator of the project. Just accept it and you can by yourself edit it :)
Done.
Thanks, I'll find time some day and do it. ๐