Login Page not found after server migration.

alt=
duke
@musamensa
3 months ago
253 posts
Hello,
Our hosting service recently migrated our account and since then our jr login page is missing. Please visit https://itembo.com/user/login to see the error message that is displayed.
updated by @musamensa: 10/28/24 01:52:24PM
brian
@brian
3 months ago
10,148 posts
Sounds like your hosting provider did not migrate the .htaccess file is in the Jamroom root directory - have them make sure that file was copied over. Let me know if that helps.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
duke
@musamensa
3 months ago
253 posts
Hello,
Thanks for the update, the .htaccess file was duly migrated, please find below the content of the file.

# Jamroom Apache .htaccess file
DirectoryIndex modules/jrCore/router.php

Options +FollowSymLinks
Options -MultiViews -Indexes

# Use ETags

Header unset ETag
FileETag None
# Expires for CSS, JS and Images

Header set Expires "Thu, 15 Apr 2020 20:00:00 GMT"


Header set Access-Control-Allow-Origin "*"



# Compress everything we can

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript text/javascript-x application/javascript


# All requests through the router

RewriteEngine On
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^modules/.*\.tpl$ - [F,L,NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^skins/.*\.tpl$ - [F,L,NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [NC,L]

RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-SSL} !on
RewriteCond %{HTTP_HOST} ^itembo\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.itembo\.com$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/(?:\ Ballot169)?
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^/?$ "https\:\/\/itembo\.com\/" [R=301,L]


# php -- BEGIN cPanel-generated handler, do not edit
# This domain inherits the “PHP” package.
# php -- END cPanel-generated handler, do not edit

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation ( https://go.cpanel.net/EA4ModifyINI)

php_flag display_errors Off
php_value max_execution_time 30
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 512M
php_value post_max_size 128M
php_value session.gc_maxlifetime 1440
#DisabledbyA2Migrations- php_value session.save_path "/var/cpanel/php/sessions/ea-php82"
php_value upload_max_filesize 64M
php_flag zlib.output_compression Off


php_flag display_errors Off
php_value max_execution_time 30
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 512M
php_value post_max_size 128M
php_value session.gc_maxlifetime 1440
#DisabledbyA2Migrations- php_value session.save_path "/var/cpanel/php/sessions/ea-php82"
php_value upload_max_filesize 64M
php_flag zlib.output_compression Off

# END cPanel-generated php ini directives, do not edit
alt=
duke
@musamensa
3 months ago
253 posts
Hello, Any Help ?
michael
@michael
3 months ago
7,744 posts
Try turning off the custom login page from the ACP. It looks like you're not using the default one so probably the skin is over-riding it then not working properly.
douglas
@douglas
3 months ago
2,793 posts
Sorry if I'm mistaken here, but that does not look like a Jamroom htaccess file. It looks more like this:

# Jamroom Apache .htaccess file
DirectoryIndex modules/jrCore/router.php

Options +FollowSymLinks -MultiViews -Indexes

# Headers
<IfModule mod_headers.c>
Header unset ETag
Header always set X-Content-Type-Options nosniff
Header always set X-XSS-Protection "1; mode=block"
FileETag None
</IfModule>

# Compress everything we can
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript text/javascript-x application/javascript
</IfModule>

# All requests through the router
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^modules/.*\.tpl$ - [F,L,NC]
RewriteRule ^skins/.*\.tpl$ - [F,L,NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ modules/jrCore/router.php?_uri=$1 [B,NC,L]
</IfModule>



--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
alt=
duke
@musamensa
2 months ago
253 posts
Hello,
I have replaced the htaccess with the code provided above but login page is still not found and user pages are broken.
https://itembo.com/user/login
alt=
duke
@musamensa
2 months ago
253 posts
@michael I dont have access to ACP
michael
@michael
2 months ago
7,744 posts
That makes it more difficult. Do you have access to your database?

I tried to create an account to see if your login was set to 'instant login' but its set to email verification then did not send the email so I cant get logged in that way.

If it was my site the first thing I would do would be to go into the 'settings' table and make that change, so new users who signed up were instantly signed in.

Then after creating a new account I would change its level access from 'user' to 'master' so that account was a master account.

From there I would be able to look into the ACP to see what could be causing the issue.

---
Another possible idea is to go into the 'settings' table of your database and change the currently set skin back to 'jrElastic' or whatever skin is on the system. Then after the skin changes, see if the user/login form comes back. If it does then its an issue with the skin.

Tags