Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

500 Error Every Time I try to Install/Create User

first-time

Started by Noelle 8 years ago · 8 replies · 787 views
8 years ago

Hi Everyone!

I'm trying to install Grav for the first time and continuously get a 500 error when I enter my URL into my browser.

I should probably preface this by saying I'm not a professional developer. I'm a hobbyist web designer who's only ever designed her own personal website. I was sick of WordPress (far too needlessly bulky and slow) and wanted to give Grav a try. With that said, my web development knowledge is mainly coding HTML and CSS, very basic understanding of PHP (to theme), and uploading files via FTP.

I say all this because I've searched my issue -- whenever I attempt to install, I get a 500 error -- the answers are a tad confusing. I REALLY want to start using Grav, though. So I'm willing to learn if I can get this working.

So, here's what I did:

  • I downloaded the Core + Admin version of Grav.
  • Unzipped it on my computer.
  • Uploaded the directory's content directly to my public_html directory using FileZilla.
  • Then entered in my domain name to install/create the first user.

But I got this error.

file%20error|690x442

I thought maybe the issue was that I was meant to install the core & admin in the grav-admin directory (I installed the files directly to my root folder so I jusy went to noelledevoe.com -- my website -- to install). So, I tried uploading again. Went to noelledevoe.com/grav-admin, and got the same error.

As you can see, the page doesn't give me any details about what went wrong, so I'm flying blind here.

Could anyone give me some guidance/advice to figure out what's going wrong here?

Thanks!

8 years ago

Just wanted to add that although I replaced my main index with a static page, noelledevoe.com/grav-admin still produces this error.

Thanks in advance in advance to anyone who can point me in the rtight direction, haha.

8 years ago

I get this error at times after a new install and or updates to theme/plugins. It is possibly folder(s) permission. Grav needs write permission for these folders.

TXT
assets
backup
cache
images
logs
tmp
/user/data

update:
I did't read the rest of the post that you can't access http://noelledevoe.com/grav-admin

8 years ago

Thanks @duceduc.

Just changed permissions for all those folders to 777, but the issue persists.

Thank you for that, though! If you have any other thoughts, def let me know!

8 years ago

I've also now tried most of the fixes on this troubleshooting page: https://learn.getgrav.org/troubleshooting/internal-server-error

  • Made sure I'm running PHP 5.6.
  • Checked My PHP.ini file and "register_global = On" isn't in it to begin with.
  • Commented out "#Options -Indexes" in htaccess file

Problem is still persisting. So I think it could be permissions? In the past, to change file permissions, I usually just do it through FTP. Can anyone tell me what files/folders I need to make sure are writable?

Thank you so much in advance. Really hoping I can get this working.

8 years ago

Yes, I jumped into the Slack support forum and they helped me solve the issue there. Thank you so much for your help!

8 years ago

Cool. Do remember to change the /admin for security. The file you are looking for is in the admin plugin
admin.yaml

route: '/admin' <---change this

8 years ago

Good point. I will definitely update that. Thank you!

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 56 13 hours ago
Support · by Anna, 3 days ago
2 61 16 hours ago
Support · by Justin Young, 17 hours ago
1 32 17 hours ago
Support · by Duc , 1 week ago
2 66 5 days ago
Support · by Colin Hume, 1 week ago
2 59 5 days ago