Just installed 3.9.2 and cannot find any "Control Panel"

Post Reply
User avatar
aqk
Jr. Bludit
Posts: 7
Joined: Tue Jul 02, 2019 11:55 pm
Location: Elgin, QC, Canada
Contact:

I'm currently using Win-10, and have installed Bludit 392 on my Raspberry server, which runs Nginx and PHP 7.3.
The initial install seems to run OK and asks me to choose a passwd for admin.
Done.
But then, it stops.and later tells me to sign in on the control panel. -
EG-
.....To create, edit or remove content you need to login to the admin panel with the username admin and the password.... etc

So where is the ADMIN folder? All I get is a 404.
As far as I can see, nothing has changed in the whole Bludit folder since the initial unzip.
-Tony (aqk)
OH! DO behave!
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Did you follow the tutorial at

https://pilab.dev/pi-lab-setup
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Jay
Master Bludit
Posts: 133
Joined: Mon Feb 11, 2019 8:41 pm

aqk wrote: Wed Jul 03, 2019 1:31 am As far as I can see, nothing has changed in the whole Bludit folder since the initial unzip.
Admin panel isn't an uri to physically existing resource. This url is routed and you can change it in /kernel/boot/variables.php

Code: Select all

// Admin URI filter to access to the admin panel
define('ADMIN_URI_FILTER', 'admin');
But I suppose getting this 404 is rather a specific behavior of rpi.
User avatar
aqk
Jr. Bludit
Posts: 7
Joined: Tue Jul 02, 2019 11:55 pm
Location: Elgin, QC, Canada
Contact:

OK... THANX!
I see that I have some problems with htaccess, which is not used by Nginx.
I'll work on this locally and hope to figure out the nginx sites -available default and bludit.conf.
BUT
I then installed bludit with Softaculous, on a remote site that uses Apache.
Two problems-
1. I tried using the subfolder "blu". (I like small names everywhere except in my passwords!).
Bludit did not like this. It seems to like only the folder name "bludit".
2. Once I had signed into admin, When I tried changing the Settings,
it informed me-
Forbidden
You don't have permission to access /bludit/admin/settings on this server..... etc....
-Tony (aqk)
OH! DO behave!
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

aqk wrote: Thu Jul 04, 2019 7:37 pm OK... THANX!
I see that I have some problems with htaccess, which is not used by Nginx.
I'll work on this locally and hope to figure out the nginx sites -available default and bludit.conf.
For Nginx please see the documentation:

https://docs.bludit.com/en/webservers/nginx
I then installed bludit with Softaculous, on a remote site that uses Apache.
Two problems-
1. I tried using the subfolder "blu". (I like small names everywhere except in my passwords!).
Bludit did not like this. It seems to like only the folder name "bludit".
Some server environments need the path to the subdirectory with the installation. Try changing the following in your .htaccess if the subdirectory with the installation is blu:

Code: Select all

# Base directory
RewriteBase /blu/
instead of

Code: Select all

# Base directory
# RewriteBase /
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
aqk
Jr. Bludit
Posts: 7
Joined: Tue Jul 02, 2019 11:55 pm
Location: Elgin, QC, Canada
Contact:

Thanx, Edi!

Using remote Apache and PHP 5.6 (I think) -
With regard to problem #1 above, I will try a folder name other than "bludit" when I have a chance.
Now- regarding Problem #2 above
As Admin, I still cannot save Admin/settings - E.G.
Forbidden
You don't have permission to access /bludit/admin/settings on this server.

I am sure that I have logged in as ADMIN, but there is no place on the page to see which user I am!
(SUGGESTION! In Bludit, show which user (admin, editor or user) is logged in!)

Using local Nginx / php 7.3 with Maria on my Raspberry -
I now (almost!) understand how the Nginx conf stuff works. I currently have two conf files in my nginx 'sites-available' file:
'bludit.conf' and 'default'.
Which file is processed first? And is then overridden by the second one?
Default has

Code: Select all

[b]location / {
		# First attempt to serve request as file, then
		# as directory, then fall back to displaying a 404.
    try_files $uri $uri/ =404;
	} [/b]
The bludit.conf has

Code: Select all

location  /   {
    try_files $uri $uri/ /index.php?$args;
  }
[/b]

Is the / in this correct? My bludit system is in a subfolder of my www SD card.
-Tony (aqk)
OH! DO behave!
Post Reply