Y4 - file list LOADING... and users cant login

adam

Administrator
Staff member
Dec 5, 2009
1,679
23
38
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#23
If you raised a ticket on Saturday it wont get responded to until today. We do not operate support on the weekends, this is shown on the support system.

You are missing this part:

Code:
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    location ~ \.php$ {
        if (!-e $request_filename) { rewrite ^/(.*) /index.php?_page_url=$1 last; }
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME   $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
Although nginx may be configured differently so you may need to use 127.0.0.1:9001 or the proxy host.

If you're unsure I'd really recommend getting a server admin to do the work, you should be comfortable with using nginx if you're running it on your server.
 

p30linknet6405

New Member
YetiShare User
Jan 20, 2017
13
1
0
#24
adam said:
If you raised a ticket on Saturday it wont get responded to until today. We do not operate support on the weekends, this is shown on the support system.

You are missing this part:

Code:
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    location ~ \.php$ {
        if (!-e $request_filename) { rewrite ^/(.*) /index.php?_page_url=$1 last; }
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME   $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
Although nginx may be configured differently so you may need to use 127.0.0.1:9001 or the proxy host.

If you're unsure I'd really recommend getting a server admin to do the work, you should be comfortable with using nginx if you're running it on your server.
can i give my user password? pls
can you do that for me? just this rules

if yes i will creat a ticket ...pls answer me (Dear Adam Pls visit this forum more.... we need your help)
we use php-fpm socket not fastcgi
 

p30linknet6405

New Member
YetiShare User
Jan 20, 2017
13
1
0
#25
its working for me with this rules...can i use them?
if (!-f $request_filename){
set $rule_0 1$rule_0;
}
if (!-d $request_filename){
set $rule_0 2$rule_0;
}
if ($rule_0 = "21"){
rewrite ^/(.*)$ /index.php?_page_url=$1;
}
if ($http_host ~ "^(www.)?xxxx.xxt$"){
set $rule_0 1$rule_0;
}
if ($rule_0 = "1"){
rewrite ^/$ http://xxxx.xxt/index.html permanent;
}
 

p30linknet6405

New Member
YetiShare User
Jan 20, 2017
13
1
0
#27
sukhman21 said:
where did you even get these rules?
why dont you use the ones that come with the script ?
when i use them its not working at all
i cant login
but with that rules its working fine ... i dont know why
maybe adam can help me with this problem.... but ...nothing ....

can you give me your full rules? but remeber i have php-fpm 5.6 on my server.... i think its the reason for that error

i neeeed help pls
 

p30linknet6405

New Member
YetiShare User
Jan 20, 2017
13
1
0
#28
adam said:
If you raised a ticket on Saturday it wont get responded to until today. We do not operate support on the weekends, this is shown on the support system.

You are missing this part:

Code:
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
    location ~ \.php$ {
        if (!-e $request_filename) { rewrite ^/(.*) /index.php?_page_url=$1 last; }
        fastcgi_pass   127.0.0.1:9000;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME   $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
Although nginx may be configured differently so you may need to use 127.0.0.1:9001 or the proxy host.

If you're unsure I'd really recommend getting a server admin to do the work, you should be comfortable with using nginx if you're running it on your server.
dear Adam ... i have nginx standalone with php-fpm ...i think i cant use fastcgi rules
i dont know! what can i do?
 

adam

Administrator
Staff member
Dec 5, 2009
1,679
23
38
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#29
How did you install Nginx? Via a package manager or was it done with another control panel like vestacp?
 

adam

Administrator
Staff member
Dec 5, 2009
1,679
23
38
mfscripts.com
WEBSITE
https://yetishare.com
LOCATION
UK
#30
Just to be clear, the rules we supply work on any Nginx setup. The only thing you need to ensure that's set correctly is how nginx passes over to php. Sometimes this is using what I've posted above, sometimes it's via sockets:

https://support.rackspace.com/how-to/install-nginx-and-php-fpm-running-on-unix-file-sockets/

Get it working with a basic PHP file, so you can load the site and see php working. Then add the script rules.
 

p30linknet6405

New Member
YetiShare User
Jan 20, 2017
13
1
0
#31
adam said:
Just to be clear, the rules we supply work on any Nginx setup. The only thing you need to ensure that's set correctly is how nginx passes over to php. Sometimes this is using what I've posted above, sometimes it's via sockets:

https://support.rackspace.com/how-to/install-nginx-and-php-fpm-running-on-unix-file-sockets/

Get it working with a basic PHP file, so you can load the site and see php working. Then add the script rules.

we installed it via directadmin custombuild
also its on sockets
so what can i do? pls help me in my ticket
 

traien

New Member
Oct 23, 2018
1
0
1
25
#32
"An error accoured reaching the site to login, please tryAn error accoured reaching the site to login, please try"

for who have plesk in there sites:

Plesk>>
apache and nginx>>
Additional nginx directives:

NGINX:
location ~ /api/v2/(.+)$ {
    if (!-e $request_filename) { rewrite ^/api/v2/(.*) /api/v2/index.php?_page_url=$1 last; }
}
location ~ \.php$ {
    if (!-e $request_filename) { rewrite ^/(.*) /index.php?_page_url=$1 last; }
}

location /files/ {
    internal;
}
location /core/logs/ {
    deny all;
}

if (!-e $request_filename) {
    rewrite ^/(.*) /index.php?_page_url=$1 last;
}