Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Stuck on /admin page on setup!

Started by Harsh 7 years ago · 0 replies · 686 views
7 years ago

Hello,
I installed Grav on my VPS by downloading skeleton (Xcommerce) and then installed admin plugin over it and updated everything.

Now when I go to my URL and try to fill the /admin first form, I get this error:
Oops there was a problem, please check your input and submit the form again.

I've tried doing everything.

Here's my NGINX config:

TXT
server {

        root /home/xcom;
        server_name www.myweb.co myweb.co;
        index index.php index.html;

        location /user {
                alias /home/xcom/user;
        }

        location /system {
                alias /home/xcom/system;
        }

        location / {
                proxy_pass http://127.0.0.1:9010;
        }

}

I'm running the server using PM2:

pm2 start --name=xcom --log-date-format="YYYY-MM-DD HH:mm A" php -- -S localhost:9010 system/router.php

I've tried using the PHP config for NGINX but that does not work for me at all. I get 502 using that.

This is the only config that works.

Can someone please help me!

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by motorambler, 1 month ago
9 682 3 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 336 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1162 4 months ago
Installation & Hosting · by Jürgen Dietrich, 10 months ago
0 804 10 months ago
Installation & Hosting · by rappluk, 12 months ago
0 836 12 months ago