Hi guys, I'm trying to get a magento environment up and running. I'm not that technical but I normally do not have issues with setting up a CMS.
I've contacted my hosting party, but they do not know how to get Magento up and running after these errors and asked me to get in touch with the Magento Community, so here we are.
I've been copying the content of the Magento ZIP to my FTP, that worked.
Then I get the following error on my website:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at email@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
In the error log of my webhosting I get this error:
/sites/mywebsitehere.com/www/.htaccess: Option FollowSymLinks not allowed here
It also gives some explanation about how I should remove the line with 'FollowSymlinks' in the .htaccess file. And when I do, the Internal Server Error changes to the following:
An error has happened during application run. See exception log for details. Could not write error message to log. Please use developer mode to see the message.
That's where the support of my webhosting doesn't know either.
Could you help me out, so I can start building a Magento shop?
Thanks in advance!
When you get the second error that actually gets logged to the "var/reports/" folder in Magento with a unique name, however in your case the var folder seems to have the wrong chmod permissions so you need to correct that first or put it into developer mode.
Once you fix the permissions you can check that directory out and look at the last file by timestampe. It should tell you what the error is in the first 1-2 lines.
Failing that share the error log on here and we can assist debugging.
Would also be good to know who your webhost is and what their server versions are for PHP and MySQL to better guide you.
Var has 3 folders.
Only Log has content.. debug.log, exception.log & system.log
I just gave debug.log 777 permission and nothing changed after that.
I'm hosting at transip.com, they're running PHP 7.2
MySQL is not even touched yet since I cannot get to the stage of setting up my DB.
You should chmod 777 your entire var folder
That way Magento can create the directories and or files it needs.
Here is an example of a fresh Magento 2.3.x install folder structure for var:
You may find this useful in correcting your permissions:
I literally set everything to 777, and unfortunately it didn't work out.
Tomorrow I'll ask a technical friend, and else I'll be back
Okay so I've tried together with a technical friend, and I actually got the setup to work.
I can fill in everything, it says all my permissions are fine.
It starts installing, and at 49% it just turns into this error.
I've also attached the first step to show you the permissions are what they're supposed to be.
Hopefully you can help.
And with some tweaking in the php files I do get some stuff working,
but icons wont load, and links in the left bar can't be clicked.
Now just run the following commands from the CLI.
php bin/magento cache:clean php bin/magento cache:flush php bin/magento indexer:reindex php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f
I'm in the same boat with 2.3.4. I'm surprised this hasn't been corrected.