I can't access the admin area

erMarketingDigital
Jr. Bludit
Posts: 8
Joined: Wed Oct 02, 2019 7:21 pm

Wed Oct 02, 2019 7:29 pm

good afternoon,

I installed Bludit on the server, but trying to access the administrative part I can not. He gives no mistake, but also does not access, you can help me

My website https://www.citadel-brasil.com/blog/admin/
User avatar
Edi
Site Admin
Posts: 1624
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Wed Oct 02, 2019 11:35 pm

1) Try with the following modification in the file .htaccess:

Code: Select all

# Base directory
RewriteBase /blog/
2) What is in the file .htaccess of the root directory?
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
erMarketingDigital
Jr. Bludit
Posts: 8
Joined: Wed Oct 02, 2019 7:21 pm

Thu Oct 03, 2019 1:35 pm

Hi Edi, so my htaccess is already like this.

The funny thing is that I installed it on another server is it works, I tried a previous version of Bludit but I still can't access admin. If only it made some mistake but not that.

AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>

# Enable rewrite rules
RewriteEngine on

# Base directory
RewriteBase /blog/

# Deny direct access to the next directories
RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L]

# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [PT,L]

</IfModule>
User avatar
Jay
Master Bludit
Posts: 73
Joined: Mon Feb 11, 2019 8:41 pm

Thu Oct 03, 2019 4:49 pm

erMarketingDigital wrote:
Thu Oct 03, 2019 1:35 pm
. If only it made some mistake but not that.
enable debug mode in /kernel/boot/init.php by changing:
define('DEBUG_MODE', FALSE) to TRUE
error_reporting(0) to (1)
and check whether any php errors appear in login page source code


btw. are the php versions the same on both hosting providers?
erMarketingDigital
Jr. Bludit
Posts: 8
Joined: Wed Oct 02, 2019 7:21 pm

Thu Oct 03, 2019 5:06 pm

Hello, my error

lines
_logData @ log.js:137
_process @ log.js:164
_processQueue @ log.js:148
_run @ log.js:194
(anonymous) @ log.js:204

Message:

{DOCUMENT_ROOT: "/home/storage/2/fa/69/citadel-brasil1/public_html/", GATEWAY_INTERFACE: "CGI/1.1", HTTPS: "on", HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=…e/apng,*/*;q=0.8,application/signed-exchange;v=b3", HTTP_ACCEPT_ENCODING: "gzip, deflate, br", …}
DOCUMENT_ROOT: "/home/storage/2/fa/69/citadel-brasil1/public_html/"
GATEWAY_INTERFACE: "CGI/1.1"
HTTPS: "on"
HTTP_ACCEPT: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3"
HTTP_ACCEPT_ENCODING: "gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE: "pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_CACHE_CONTROL: "max-age=0"
HTTP_CONNECTION: "keep-alive"
HTTP_COOKIE: "BLUDIT-KEY=1f9h46fljab7k5scfrkfqkmd53; _ga=GA1.2.370224348.1570041628; _gid=GA1.2.1866267102.1570041628"
HTTP_HOST: "citadel-brasil.com"
HTTP_REFERER: "https://citadel-brasil.com/blog/admin/login"
HTTP_SEC_FETCH_MODE: "navigate"
HTTP_SEC_FETCH_SITE: "same-origin"
HTTP_SEC_FETCH_USER: "?1"
HTTP_UPGRADE_INSECURE_REQUESTS: "1"
HTTP_USER_AGENT: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"
LOG_SUBDIR: "citadel-brasil1"
PATH: "/bin:/usr/bin"
PHPRC: "/home/citadel-brasil1/"
PHP_SELF: "/blog/index.php"
QUERY_STRING: ""
REDIRECT_HTTPS: "on"
REDIRECT_LOG_SUBDIR: "citadel-brasil1"
REDIRECT_SCRIPT_URI: "https://citadel-brasil.com/blog/admin/login"
REDIRECT_SCRIPT_URL: "/blog/admin/login"
REDIRECT_SSL_TLS_SNI: "citadel-brasil.com"
REDIRECT_STATUS: "200"
REDIRECT_UNIQUE_ID: "XZY@5LrKmbgAALM15mYAAAA4"
REDIRECT_URL: "/blog/admin/login"
REMOTE_ADDR: "177.141.60.105"
REMOTE_PORT: "56502"
REQUEST_METHOD: "GET"
REQUEST_TIME: 1570127588
REQUEST_TIME_FLOAT: 1570127588.8148
REQUEST_URI: "/blog/admin/login"
SCRIPT_FILENAME: "/home/storage/2/fa/69/citadel-brasil1/public_html/blog/index.php"
SCRIPT_NAME: "/blog/index.php"
SCRIPT_URI: "https://citadel-brasil.com/blog/admin/login"
SCRIPT_URL: "/blog/admin/login"
SERVER_ADDR: "186.202.153.184"
SERVER_ADMIN: "webmaster@citadel-brasil.com"
SERVER_NAME: "citadel-brasil.com"
SERVER_PORT: "443"
SERVER_PROTOCOL: "HTTP/1.1"
SERVER_SIGNATURE: ""
SERVER_SOFTWARE: "Apache"
SSL_TLS_SNI: "citadel-brasil.com"
SUPHP_URI: "/blog/index.php"
UNIQUE_ID: "XZY@5LrKmbgAALM15mYAAAA4"
argc: 0
argv: []
__proto__: Object
User avatar
Edi
Site Admin
Posts: 1624
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Thu Oct 03, 2019 9:50 pm

erMarketingDigital wrote:
Thu Oct 03, 2019 1:35 pm
Hi Edi, so my htaccess is already like this.
But what is the .htaccess in citadel-brasil.com?
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
erMarketingDigital
Jr. Bludit
Posts: 8
Joined: Wed Oct 02, 2019 7:21 pm

Thu Oct 03, 2019 10:03 pm

Hi Edi, my htaccess which is inside the blog folder

As for the root Htaccess site I believe it does not impact blduit.

AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>

# Enable rewrite rules
RewriteEngine on

# Base directory
RewriteBase /blog/

# Deny direct access to the next directories
RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L]

# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [PT,L]

</IfModule>
User avatar
Edi
Site Admin
Posts: 1624
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Thu Oct 03, 2019 10:22 pm

erMarketingDigital wrote:
Thu Oct 03, 2019 10:03 pm
As for the root Htaccess site I believe it does not impact blduit.
Please disable it, and give it a try.
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
erMarketingDigital
Jr. Bludit
Posts: 8
Joined: Wed Oct 02, 2019 7:21 pm

Thu Oct 03, 2019 10:32 pm

Edi,

Thank you for your help

When I deactivate it also gives error in the blog.
Follow my site root htacess

##### LOCAWEB - NAO REMOVER #####
AddHandler php7-script .php
suPHP_ConfigPath /home/citadel-brasil1/
##### LOCAWEB - NAO REMOVER #####


# DO NOT REMOVE THIS LINE AND THE LINES BELOW SSL_REDIRECT:citadel-brasil.com

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/opentype

# For Olders Browsers Which Can't Handle Compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://citadel-brasil.com/$1 [R,L]

# DO NOT REMOVE THIS LINE AND THE LINES ABOVE SSL_REDIRECT:citadel-brasil.com

RewriteRule ^index/?$ /index.php [NC,L]
RewriteRule ^contato/?$ /contato.php [NC,L]
RewriteRule ^inteligencia-cibernetica-pro-ativa?$ /inteligencia-cibernetica-pro-ativa.php [NC,L]
RewriteRule ^quem-somos?$ /quem-somos.php [NC,L]
RewriteRule ^rastreamento-de-ameacas/?$ /rastreamento-de-ameacas.php [NC,L]
RewriteRule ^telefonia-criptografada/?$ /telefonia-criptografada.php [NC,L]

ErrorDocument 404 /index.php
erMarketingDigital
Jr. Bludit
Posts: 8
Joined: Wed Oct 02, 2019 7:21 pm

Thu Oct 03, 2019 11:09 pm

Edi, enabling bl-kernel / boot / init.php page errors I get this warning


can you tell me how to fix this problem?

I changed the permissions of the folders, but I still have this error

Warning: session_start (): open (/ var / lib / php-cgi / session / session_1f9h46fljab7k5scfrkfqkmd53, O_RDWR) failed: File or directory not found (2) in / home / storage / 2 / fa / 69 / citadel-brazil1 / public_html /blog/bl-kernel/helpers/session.class.php at line 34
Post Reply