hello im running 3.3.12 and nginx "not apache" the forum installed and works apart from 2 things...
1 the FAQ page loads to The requested page could not be found.
2 when i install an extention say pastebin or mchat when i click on them links next to FAQ they do the same thing (The requested page could not be found.)
any help will be great thanx
Last edited by Mick on Tue Jul 30, 2024 6:22 am, edited 1 time in total.
Reason:Solved.
i might add i found this in the log
[error] 112494#112494: *1 open() "/var/www/html/phpbb/phpbb/ext/dmzx/mchat/sounds/add.mp3" failed (2: No such file or directory)
but the directory is there as i enabled the extention for mchat
also see this error
"/var/www/html/phpbb/favicon.ico" failed (2: No such file or directory)
as for the cofig i dont get an nginx error so i think my config is ok? i looked at that .conf its the same as what i have apart from 1 line i added
fastcgi_pass unix:/var/run/php/php8.1-fpm.sock;
also edited the server_name and root /var/www/html/phpbb; to were my phpbb is
i have also chmod /var/www/html/phpbb
I've edited your title so it gets better exposure for NGINX. There isn't a whole lot of people here familiar with it. Under server settings if "Enable URL Rewriting:" is set to yes you can try setting it to no. I do not know how URL rewriting works with NGINX, I'm assuming the .conf file should handle it.
As far as the missing files, for add.mp3 double check it exists. The favicon.ico file is odd, that's common file a browser will look for in the root of the domain. It's the logo on tabs, favorites etc. Unless the phpBB folder is the root of the domain and/or you have HTML meta tags indicating it's there then it you should not see that error. It's not a phpBB issue, you can make it go away by adding favicon.ico file.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”
thank you heaps for your help its lucky you guided me to sever settings i have /phpbb in the script path i removed phpbb and wola!! i had rewrite off
thanks again
and for nginx the config in the docs folder works just to validate