Chocolatey Habbo Setup

Antisj

Member
Apr 21, 2014
126
13
Trying to setup my hotel with PHP 7. & MySQL & Arcturus EMU & Chocolatey CMS.
But when i try to go onto my website it shows this:
f52d52e6-e076-4952-b510-b4293b49eaad
RBHzs4U.png

URL:

Any idea? Thanks :D
 

Kak

Posting Freak
Apr 21, 2017
951
165
Trying to setup my hotel with PHP 7. & MySQL & Arcturus EMU & Chocolatey CMS.
But when i try to go onto my website it shows this:
f52d52e6-e076-4952-b510-b4293b49eaad
RBHzs4U.png

URL:

Any idea? Thanks :D
Try php 5.6, I believe in the release thread it says not to use any version above that
 

Antisj

Member
Apr 21, 2014
126
13
Recommendations
* For Windows we recommend latest XAMPP version with php7.0 or higher.

ONTOPIC: Are you using MYSQL 5.5? Because, it seems like it doesn't support 5.6
Using IIS with PHP7 and mysql 5.1 should that work?

(Notice: IIS & PHP7 worked before.) Also ot approved by dev of Chocolatey
 

Antisj

Member
Apr 21, 2014
126
13
Ask the dev for the web.config, if you don't know how.
There already is a web.config i saw just now
This is web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^habbo-web/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="public/habbo-web/{R:1}" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url="^.*$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>


This is htacess

<IfModule mod_rewrite.c>
Options +FollowSymLinks
Options -Indexes
Options -MultiViews

RewriteEngine On

# Security Modules
RewriteRule ^(app/|resources/|bootstrap/|config/|database/|routes/|storage/|docs/|vendor/) - [F,L,NC]

# Habbo Web Assets
RewriteRule ^habbo-web/(.*)$ public/habbo-web/$1 [L]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^.*$ index.php [L]
</IfModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
</IfModule>

<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpg "access 2 month"
ExpiresByType image/gif "access 2 month"
ExpiresByType image/jpeg "access 2 month"
ExpiresByType image/png "access 2 month"
ExpiresByType text/css "access 2 month"
ExpiresByType application/x-javascript "access plus 2 month"
ExpiresByType text/javascript "access plus 2 month"
ExpiresByType application/javascript "access plus 2 month"
ExpiresByType image/x-icon "access plus 12 month"
ExpiresByType image/icon "access plus 12 month"
ExpiresByType application/x-ico "access plus 12 month"
ExpiresByType application/ico "access plus 12 month"
</IfModule>
 

Kak

Posting Freak
Apr 21, 2017
951
165
There already is a web.config i saw just now
This is web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^habbo-web/(.*)$" ignoreCase="false" />
<action type="Rewrite" url="public/habbo-web/{R:1}" />
</rule>
<rule name="Imported Rule 2" stopProcessing="true">
<match url="^.*$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
<defaultDocument>
<files>
<clear />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>


This is htacess

<IfModule mod_rewrite.c>
Options +FollowSymLinks
Options -Indexes
Options -MultiViews

RewriteEngine On

# Security Modules
RewriteRule ^(app/|resources/|bootstrap/|config/|database/|routes/|storage/|docs/|vendor/) - [F,L,NC]

# Habbo Web Assets
RewriteRule ^habbo-web/(.*)$ public/habbo-web/$1 [L]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^.*$ index.php [L]
</IfModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary
</IfModule>

<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpg "access 2 month"
ExpiresByType image/gif "access 2 month"
ExpiresByType image/jpeg "access 2 month"
ExpiresByType image/png "access 2 month"
ExpiresByType text/css "access 2 month"
ExpiresByType application/x-javascript "access plus 2 month"
ExpiresByType text/javascript "access plus 2 month"
ExpiresByType application/javascript "access plus 2 month"
ExpiresByType image/x-icon "access plus 12 month"
ExpiresByType image/icon "access plus 12 month"
ExpiresByType application/x-ico "access plus 12 month"
ExpiresByType application/ico "access plus 12 month"
</IfModule>
Try deleting your web.config and reimporting .htaccess into url rewrite
 

Antisj

Member
Apr 21, 2014
126
13
Try deleting your web.config and reimporting .htaccess into url rewrite
Exactly how do i "You will need install and in the Chocolatey folder run composer install (globally) or php composer.phar install (locally)" i dont understand.
 
Update on this issue 10h after:
Everything is setup correctly
Config's: All are confiugred
Migrate: Migrate was successfull
MySQL: Using the suggested 5.5
PHP: Using the suggested 7
IIS: Using IIS and should work fine.
Database & Emulator: Worked like a charm, no errros.
Yes there is a web.config & .env file is configured.

But the page still does not want to work. Any ideas why?
 

Users who are viewing this thread

Top