How to set up a retro in 2023 (IIS) (Nitro HTML5) - (Part 3)

React

Member
Sep 17, 2023
213
93
Hi there, can anyone help me here? I'm stuck at 20%. I'm running it on VPS with IIS (it's running over VPS IP, there's no domain & Cloudflare).
Post automatically merged:



This helped me out ( )
Have you resolved your issue?
 

abso_lado

New Member
Feb 19, 2024
5
0
Have you resolved your issue?
Nahh, not yet. I've switched to domain & Cloudflare but still getting ERR_CONNECTION_REFUSED & Uncaugt (in promise) TypeError: Failed to fetch at getOnlineUserCount [...]. I've set everything right in Cloudflare and Firewall.

Edit: Finally did it! Only thing now is that I want to change the language in launcher go another language, but I don't know how. Changing the external.txt doesn't work.
 
Last edited:

C0pyright

Member
Mar 28, 2022
46
1
i've done every steps but now when i visit localhost i got this error:

HTTP Error 500.0 - Internal Server Error C:\Program Files\PHP\php-cgi.exe - FastCGI process exceeded configured request timeout Most probable causes: IIS received the request, but an internal error occurred while processing the request. The cause of the error depends on the module handling the request and the worker process running when the error occurred. Unable to access the web.config file for the website or application. The problem occurs if NTFS permissions are not set correctly. Unable to process configuration for the website or application. The authenticated user does not have permissions to use the DLL. The request is mapped to a managed handler but the .NET extensibility feature is not installed. Possible operations: Make sure the NTFS permissions on the web.config file are correct and grant access to the web server computer account. Check the event log for any additional information. Check the permissions on the DLL. Install the .NET extensibility feature if the request is mapped to a managed handler. Create a rule to track failed requests for this HTTP status code. For more information on creating a trace rule for failed requests, click here. Detailed error information: FastCgiModule module Notify ExecuteRequestHandler PHP-8.2.16 Manager Error code 0x80070102 Required URL Physical path C:\inetpub\wwwroot\atomcms\public\index.php Access method Anonymous User login Anonymous

can someone know how can i solve it? thank you
 

React

Member
Sep 17, 2023
213
93
i've done every steps but now when i visit localhost i got this error:

HTTP Error 500.0 - Internal Server Error C:\Program Files\PHP\php-cgi.exe - FastCGI process exceeded configured request timeout Most probable causes: IIS received the request, but an internal error occurred while processing the request. The cause of the error depends on the module handling the request and the worker process running when the error occurred. Unable to access the web.config file for the website or application. The problem occurs if NTFS permissions are not set correctly. Unable to process configuration for the website or application. The authenticated user does not have permissions to use the DLL. The request is mapped to a managed handler but the .NET extensibility feature is not installed. Possible operations: Make sure the NTFS permissions on the web.config file are correct and grant access to the web server computer account. Check the event log for any additional information. Check the permissions on the DLL. Install the .NET extensibility feature if the request is mapped to a managed handler. Create a rule to track failed requests for this HTTP status code. For more information on creating a trace rule for failed requests, click here. Detailed error information: FastCgiModule module Notify ExecuteRequestHandler PHP-8.2.16 Manager Error code 0x80070102 Required URL Physical path C:\inetpub\wwwroot\atomcms\public\index.php Access method Anonymous User login Anonymous

can someone know how can i solve it? thank you

Is your web.config correct?
 

Solid

Active Member
May 1, 2012
126
31
I'm having a issue I got everything working correctly but when I load the Nitro client, I get a error because for some reason it try's to pull a "http" link when on Cloudflare I won't allow "http" only "HTTPS". I can't find the code anywhere to change the "http" to "https"
here is a snippet in the Google Chrome console;

Code:
function getOnlineUserCount() {
        --THIS IS WHERE I NEED TO CHANGE TO "HTTPS" FROM "HTTP"---        fetch('http://MYHOTEL.ORG/api/online-count')
                    .then(function(response) {
                        return response.json();
                    })
                    .then(function(response) {
                        document.getElementById('online-count').innerHTML = response.data.onlineCount;
 

FunkyBohh

Member
Jun 21, 2011
181
6
I'm having a issue I got everything working correctly but when I load the Nitro client, I get a error because for some reason it try's to pull a "http" link when on Cloudflare I won't allow "http" only "HTTPS". I can't find the code anywhere to change the "http" to "https"
here is a snippet in the Google Chrome console;

Code:
function getOnlineUserCount() {
        --THIS IS WHERE I NEED TO CHANGE TO "HTTPS" FROM "HTTP"---        fetch('http://MYHOTEL.ORG/api/online-count')
                    .then(function(response) {
                        return response.json();
                    })
                    .then(function(response) {
                        document.getElementById('online-count').innerHTML = response.data.onlineCount;
Go to your .env file and find force https and set it to true.
 

Solid

Active Member
May 1, 2012
126
31
Go to your .env file and find force https and set it to true.
I had to go in and change it directly found it in the theme folder.
Post automatically merged:

Other than that i'd like to say thank you Object very nice release. I've been in the retro scene sense 2012, back and forth came back this year and found this. Amazing <3
 

kiyenshi

New Member
Apr 11, 2024
2
0
Nahh, not yet. I've switched to domain & Cloudflare but still getting ERR_CONNECTION_REFUSED & Uncaugt (in promise) TypeError: Failed to fetch at getOnlineUserCount [...]. I've set everything right in Cloudflare and Firewall.

Edit: Finally did it! Only thing now is that I want to change the language in launcher go another language, but I don't know how. Changing the external.txt doesn't work.
how did u fix it? could u pls help me thx
 

fzefgizeoge

New Member
Jun 9, 2018
5
3
When trying to access community/staff or some other pages I get these server errors:
You must be registered for see images attach
 

thepixel

New Member
Jun 19, 2024
1
0
Can you guys help me with this?

You must be registered for see images attach
Current url:

I did run both files on my database:

And, its true, account_created does not have a default value if you insert a new user without saying this field value:
SQL:
`account_created` int(0) NOT NULL,

PHP Version: 8.3.8 (php-8.3.8-nts-Win32-vs16-x64.zip)
MariaDB version: 10.11.6 (mariadb-10.11.6-winx64.msi)

(I tried with PHP 8.2.0 and the error still occurs)

I also tried changing sql mode to:
Code:
[mysqld]
sql-mode=NO_ENGINE_SUBSTITUTION

(did not work aswell)

---
UPDATE:
I finally figure out how to make it work...
First I had to disable strict mode in laravel:
database.php line 55 and 75:
Code:
'strict' => false,

Finally, I had to fix the manifest key in installation.blade.php line 17 because the key 'resources/css/app.scss' did not exists in my manifest.json:
Code:
@vite(['resources/themes/' .  setting('theme') . '/css/app.scss', 'resources/themes/' .  setting('theme') . '/js/app.js'], 'build')
 
Last edited:

Adolfphin

New Member
Feb 19, 2013
4
2
I keep getting ERR_CONNECTION_REFUSED when loading the client (gets stuck at 20%)
You must be registered for see images attach
 

Users who are viewing this thread

Top