?
avatar junstoppable
junstoppable
9 Mar 2018

I can't open certain areas in the admin area such as creating a new menu item. I get a 502.
I wonder if the settings for nginx are different now because of the new router?

Or are these settings still valid => https://docs.joomla.org/Nginx

Can't browse the frontend with enabled sef as well.

Would be happy to get a quick answer so I can start to help testing :-)

avatar junstoppable junstoppable - open - 9 Mar 2018
avatar joomla-cms-bot joomla-cms-bot - change - 9 Mar 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Mar 2018
avatar mbabker
mbabker - comment - 9 Mar 2018

There is no change required in web server configuration directives (Apache, NGINX, etc.) other than ensuring minimum requirements are met.

avatar PhilETaylor
PhilETaylor - comment - 9 Mar 2018

nginx error 502 means Bad Gateway... this means the the PHP had an issue - not the nginx.

avatar PhilETaylor
PhilETaylor - comment - 9 Mar 2018

Can't browse the frontend with enabled sef as well.

Check you have this line correct

try_files $uri $uri/ /index.php?$args;

and make sure you have restarted nginx after those changes.

My bare working nginx config for development use is:

server
{
  listen 80;
  server_name remote384; #ensure your domain here is correct

  location /
  {
    root /Users/phil/Sites/remote384/;  #ensure your path here is correct
    index index.php;
    try_files $uri $uri/ /index.php?$args;
  }

   location ~ \.php
  {
    root /Users/phil/Sites/remote384/;  #ensure your path here is correct
    fastcgi_pass 127.0.0.1:9071;   #CHECK YOUR PHP PORT NUMBER 9000 by default. I have PHP 7.1 on 9071 and PHP 7.2 on 9072 etc... 
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
    fastcgi_param DOCUMENT_ROOT $realpath_root;
    fastcgi_param   APPLICATION_ENV  local;  #just for my use
  }
}
avatar PhilETaylor
PhilETaylor - comment - 9 Mar 2018

(lastly I only just noticed that this was about J4... my comments are J3 comments :) )

avatar mbabker
mbabker - comment - 9 Mar 2018

And again, there should be no difference in NGINX/Apache/IIS configs for J3 versus J4 (the default htaccess.txt in the 4.0 branch is a bit more defensive and adds checks for modules being enabled, but that's it).

avatar junstoppable
junstoppable - comment - 10 Mar 2018

I have a lot of J3 installation on that machine and they are working fine.

I'm sorry - should have done this before:

I've turned the error reporting to development (joomla config) and i get the following error messages:
https://www.awesomescreenshot.com/image/3225449/ca53a9374818df58636a18413de9b65d

Should I disable "scream" in the php.ini in order to test?

avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Mar 2018
Status New Information Required
avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Mar 2018
Category com_installer
avatar PhilETaylor
PhilETaylor - comment - 10 Mar 2018

Everyday is a school day - developing daily in PHP for over a decade now and never heard of the scream configuration param.

Yes. Disable that. It has no place in production, and arguably neither in developing a website - main use I could see of it would be in debugging only.

avatar PhilETaylor
PhilETaylor - comment - 13 Mar 2018

So did that resolve your issue?

avatar Quy Quy - change - 15 Mar 2018
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2018-03-15 22:35:28
Closed_By Quy
avatar joomla-cms-bot joomla-cms-bot - change - 15 Mar 2018
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 15 Mar 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 15 Mar 2018

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/19876

avatar Quy
Quy - comment - 15 Mar 2018

Closing for now until further details.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19876.

Add a Comment

Login with GitHub to post a comment