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

Sixo

New Member
May 12, 2019
14
1
The links are not added to the repositories of the Habbo installation guides, but here is the link that takes you to the HK topic

Post automatically merged:

Recibo este error al ingresar la dirección IP en el navegador. estoy en el paso 3
You must be registered for see images attach
How are you, send me to the discord to help you

dc: amadosantander
 

karppinen

New Member
Nov 30, 2016
3
0
Im getting an error message:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
 

Attachments

  • Capture.PNG
    Capture.PNG
    238.3 KB · Views: 19

Ajdo

New Member
Apr 3, 2024
1
0
People urgently need help. Everything works to the point that people in the hotel want to use Nitro. There is always an error code 500 for the user and for me as a staff it is 404 with the following error code:
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure resource '<URL>'. This request has been blocked; the content must be served over HTTPS.
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:116:13
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:116
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:116
nitro:62


GET 404 (Not Found)
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
getOnlineUserCount @ nitro:107
(anonymous) @ nitro:119
Promise.then (async)
getOnlineUserCount @ nitro:111
(anonymous) @ nitro:119
setInterval (async)
(anonymous) @ nitro:118
nitro:107


Uncaught (in promise) TypeError: Failed to fetch
at getOnlineUserCount (nitro:107:17)
at nitro:119:17
 

Solid

Active Member
May 1, 2012
126
31
To the catalog side of things has issues example, If i click a certain item it gives me a different item I clicked a "laser" and it gave me a "bathtub" lol.
 

Liam

smooth and dynamic
Staff member
FindRetros Moderator
Apr 10, 2013
1,281
874
To the catalog side of things has issues example, If i click a certain item it gives me a different item I clicked a "laser" and it gave me a "bathtub" lol.
Are you using the search? Offerid probably doesn't match in database and furnidata.
 

okiu

New Member
Apr 12, 2024
1
0
Heyooo! extremely easy!
So far amazing but facing this issue at step:
Dependencies installation:
Atom CMS relies on multiple different dependencies which we will have to install - To install those dependencies write the following commands
Code:
composer install && npm i && npm run build:atom

Error

C:\inetpub\wwwroot\atomcms>composer install && npm i && npm run build:atom
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 2 installs, 0 updates, 0 removals
Failed to download phpstan/phpstan from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\PHP\php.ini
Now trying to download from source
- Syncing phpstan/phpstan (1.10.57) into cache
Failed to download srmklive/paypal from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\PHP\php.ini
Now trying to download from source
- Syncing srmklive/paypal (3.0.28) into cache
- Installing phpstan/phpstan (1.10.57): Cloning 1627b1d034
Install of phpstan/phpstan failed
- Installing srmklive/paypal (3.0.28): Cloning 6bde2b232a from cache
Install of srmklive/paypal failed
0 [--->------------------------]The following exception is caused by a process timeout
Check for details

In Process.php line 1205:

The process "git clone --no-checkout -- C:\inetpub\wwwroot\atomcms\vendor\ph
pstan\phpstan && cd /D C:\inetpub\wwwroot\atomcms\vendor\phpstan\phpstan && git remote add composer --
ub.com/phpstan/phpstan.git && git fetch composer && git remote set-url origin --
.git && git remote set-url composer -- " exceeded the timeout of 300 seconds.

Tried multiple times to redo the command ( in admin mode included ) but seems not to solve the issue.
Post automatically merged:

Heyooo! extremely easy!
So far amazing but facing this issue at step:
Dependencies installation:
Atom CMS relies on multiple different dependencies which we will have to install - To install those dependencies write the following commands
Code:
composer install && npm i && npm run build:atom

Error

C:\inetpub\wwwroot\atomcms>composer install && npm i && npm run build:atom
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 2 installs, 0 updates, 0 removals
Failed to download phpstan/phpstan from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\PHP\php.ini
Now trying to download from source
- Syncing phpstan/phpstan (1.10.57) into cache
Failed to download srmklive/paypal from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\PHP\php.ini
Now trying to download from source
- Syncing srmklive/paypal (3.0.28) into cache
- Installing phpstan/phpstan (1.10.57): Cloning 1627b1d034
Install of phpstan/phpstan failed
- Installing srmklive/paypal (3.0.28): Cloning 6bde2b232a from cache
Install of srmklive/paypal failed
0 [--->------------------------]The following exception is caused by a process timeout
Check for details

In Process.php line 1205:

The process "git clone --no-checkout -- C:\inetpub\wwwroot\atomcms\vendor\ph
pstan\phpstan && cd /D C:\inetpub\wwwroot\atomcms\vendor\phpstan\phpstan && git remote add composer --
ub.com/phpstan/phpstan.git && git fetch composer && git remote set-url origin --
.git && git remote set-url composer -- " exceeded the timeout of 300 seconds.

Tried multiple times to redo the command ( in admin mode included ) but seems not to solve the issue.
fixed it by adding extension=zip to the PHP.ini file
 
Last edited:

thomgroot01

New Member
Jul 2, 2024
15
0
Followed everyting up until the point i need to open the site for installation. I get this error message:
You must be registered for see images attach


Could anyone explain what this is and what i can do?
 

React

Member
Sep 17, 2023
223
103
Followed everyting up until the point i need to open the site for installation. I get this error message:
You must be registered for see images attach


Could anyone explain what this is and what i can do?
I think the file installation.php is missing.
 

Joe

Well-Known Member
Jun 10, 2012
4,174
1,956
Followed everyting up until the point i need to open the site for installation. I get this error message:
You must be registered for see images attach


Could anyone explain what this is and what i can do?
Since so many people were having issues I tried this tutorial again, I get the same message here after installation.
 

Joe

Well-Known Member
Jun 10, 2012
4,174
1,956
Thank you! I managed to get it working.

atomcms/resources/themes/atom/vite.config.js
atomcms/resources/themes/dusk/vite.config.js

rebuild atom for people having the same issue.
 
Last edited:

HugoASB

Member
Dec 6, 2011
34
6
Context: I'm trying to install AtomCMS and when I try to create a new account I always get the following error...
You must be registered for see images attach


EDIT: fixed this. Was using apache+nginx+cloudflare combo, so had to add this to apache conf:

Code:
RemoteIPHeader X-Forwarded-For Remote
IPTrustedProxy 127.0.0.1
 
Last edited:

Habdream

New Member
Nov 10, 2015
5
4
You must be registered for see images attach


Does anyone know how to solve this issue? I have internet on the VPS.. but this step is not working...
 

zevdev

Member
Jun 28, 2019
42
3
Welcome to the part 2 of the "how to set up a retro with IIS" series! In this part we'll make a A LOT of progress towards making your new hotel playable 🚀

What will we cover in part 2:
Atom CMS setup
Atom HK setup
Volta (multi-node installations)
Nitro Converter setup

We'll need multiple versions of Node in-order to setup everything needed to play your new hotel, so to do that, we'll install a tool called "Volta" - Volta is a tool that lets us install & manage multiple versions of node hassle-free ✨

Head to and click on the " " - Go through the installation process. Once volta has been installed re-open your CMD (command prompt) and enter:
Code:
volta install [email protected]
And
volta install node

Install yarn
Code:
volta install yarn@latest

It's finally time to set up Atom CMS! this is the part where things start to get a little exciting, as we will get to see our website start functioning.

The first step of our road to set up Atom CMS will be to enable the PHP extensions required by Atom CMS to function properly, to do that head to C:\Program Files\PHP and scroll down until you find a file named "php" which is of file type "INI"
You must be registered for see images attach


Open the file in your preferred editor (Mine will be Visual Studio Code)

Find the extensions list (You can find the list quickly by searching for "Dynamic Extensions") Once you've found the list, replace it with the extension list below.

Code:
;extension=bz2
extension=curl
;extension=ffi
;extension=ftp
extension=fileinfo
extension=gd
;extension=gettext
;extension=gmp
;extension=intl
;extension=imap
;extension=ldap
extension=mbstring
;extension=exif      ; Must be after mbstring as it depends on it
;extension=mysqli
;extension=oci8_12c  ; Use with Oracle Database 12c Instant Client
;extension=oci8_19  ; Use with Oracle Database 19 Instant Client
;extension=odbc
extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
;extension=pdo_pgsql
;extension=pdo_sqlite
;extension=pgsql
;extension=shmop
; The MIBS data available in the PHP distribution must be installed.
; See https://www.php.net/manual/en/snmp.installation.php
;extension=snmp
;extension=soap
extension=sockets
;extension=sodium
;extension=sqlite3
;extension=tidy
;extension=xsl

The next step
* If you have the URL Rewrite extension installed already, skip to the "Install Atom CMS" step below.

If you didn't install the URL Rewrite extension in part one, you'll have to install it now - . Simply click "Install this extension" and go through the setup process

Install Atom CMS:
Start by heading into your Atom CMS folder by opening command prompt (CMD) and enter
Code:
cd C:/inetpub/wwwroot/atomcms

Next up enter the following your CMD
Code:
copy .env.example .env

* Leave your terminal open and continue to "Connect Atom CMS to your database & then Dependencies installation" below.

Connect Atom CMS to your database:
To make Atom CMS able to communicate with our database, we'll have to set the correct credentials, to do that open the .env file that is now located in the root of the Atom CMS folder, and fill in your database credentials as well as the correct database name - The variables you'll have to edit can be found below:

DB_DATABASE=your-database-name
DB_USERNAME=root
DB_PASSWORD=your-database-password

Dependencies installation:
Atom CMS relies on multiple different dependencies which we will have to install - To install those dependencies write the following commands
Code:
composer install && npm i && npm run build:atom

This will install all the required dependencies & compile the necessary assets for you.

You must be registered for see images attach

For Atom CMS to function we'll also have to generate an application key - luckily this is a simple process as well! All you have to do is to enter the following command in your CMD (command prompt)
Code:
php artisan key:generate

Connect Atom CMS with IIS:
The time has come! We will now be connecting Atom CMS with IIS to make us able to browse our newly setup website 🚀

Step one:
Open up your Internet Information Services application and expand the section just below "Start Page"

You must be registered for see images attach


Expand the "sites" section and right-click on the "Default website" and then "remove".

You will then have to add a new site to IIS and to do that, right-click yet again on the "Sites" and click "Add Website..."
You must be registered for see images attach


In the "Site name:" field enter whatever name you find appropriate. In my case, I will just enter my domain name.

Next click the 3 dots next to the "Physical path:" field and browse into the "public" folder inside the "atomcms" folder. Once you have clicked on the "public" folder, click the "OK" button.

Once you have done all of the above your "Add website" popup should look like this:
You must be registered for see images attach


If that's the case simply click "OK".

Next up we'll have to give full permission to the "atomcms" folder. To achieve this, browse yourself into the "C:\inetpub\wwwroot" folder and right-click on the "atomcms" folder select "Properties" then click the "Security" tab and click on "Edit..." and then "Add..." - A pop up should appear looking like the image below.

You must be registered for see images attach


Enter "IIS_IUSRS" and then "OK". Click on "Add..." once more and add "IUSR" and then "OK".

Once both the "users" have been added, find both of them in the list and click them individually, once they have been selected toggle the "Full control" and then click "Apply" (Don't forget to do this on both the added users).

Check the images below, if you're unsure if you did it correctly✨
You must be registered for see images attach

You must be registered for see images attach

You must be registered for see images attach

Once Atom CMS has been linked through IIS, you will be able to visit it through your domain name. The first time you visit it, you'll be prompted with an installation screen, which required you to paste in an installation code. This code can be found inside your database manager (DBeaver) within the table "website_installation" copy this code and paste it in, then go through the installation steps.

Important: Once you've finished the installation steps, open your .env files within your preferred editor once more, and set the APP_ENV to:
Code:
APP_ENV=production
and the APP_DEBUG to:
Code:
APP_DEBUG=false

Before we can enter our hotel, we'll need to set up our emulator and to do that, the first thing we need to do is to install Java.

To install Java all you have to do is to download it -

Once Java has been downloaded, go through the setup process, by leaving everything to their default preset (Simply click "Install" and let Java install itself).

Java has been installed:
When Java has been installed, it should look like the image below:
You must be registered for see images attach

Start by heading into your File explorer and navigate int othe following: "C:/ -> inetpub -> wwwroot -> atomcms -> public -> client" Here you'll find yourself with a folder called "emulator" simply drag it out to your desktop.

Open the "emulator" folder now located on your desktop and then edit the database credentials inside the config.ini file, so that they match the ones you made when setting up MariaDB - If you don't remember your credentials, simply open the .env file located in the root folder for Atom CMS and take them from there.

Once you've edited the config.ini so that the database credential matches you can safely save and close the config.ini file again.

Lastly click on the "start.bat" file so that your emulator fully boots up, once it's booted up, you can simply close it it back down.

There you go! Your emulator should now run smoothly for the future.

You're doing an amazing job so far 🎉 In the next part we will go through the process of setting up:
Nitro v2 & connect it's assets (latest as of July 2023)

To learn how to do all of the above, head to part 3 of this series, which will be the last and final part🥳


Did I miss anything?
Please let me know if I missed anything, as the guide contains a lot of information.
Hello, when i go to the domain all i see is this..... could you help me out?
 

Attachments

  • Capture.PNG
    Capture.PNG
    11.6 KB · Views: 9

Joe

Well-Known Member
Jun 10, 2012
4,174
1,956
Hello, when i go to the domain all i see is this..... could you help me out?
DNS issue, can take up to 48 hours to solve (waiting for the DNS settings on the domain to catch up) try flush dns if not just wait on usually doesn’t take long.
 

Users who are viewing this thread

Top