Page 2 of 4
Re: Bludit v4 - Alpha version
Posted: Sat Nov 06, 2021 12:56 pm
by wmcig
Edi wrote: ↑Fri Nov 05, 2021 5:28 pm
Which version of PHP do you use?
Shows the log file any errors?
Php version:
Code: Select all
php --version
PHP 7.4.25 (cli) (built: Oct 23 2021 21:53:50) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.25, Copyright (c), by Zend Technologies
Which logfile do you need?
Re: Bludit v4 - Alpha version
Posted: Mon Nov 08, 2021 6:49 pm
by wmcig
The logfiles do not show any errors.
Re: Bludit v4 - Alpha version
Posted: Mon Nov 08, 2021 9:04 pm
by Edi
Here are the informations about using Nginx in the documentation:
https://docs.bludit.com/en/webservers/nginx
If this does not help I will ask Diego, the developer, to have a look at it.
Re: Bludit v4 - Alpha version
Posted: Wed Nov 10, 2021 9:04 am
by wmcig
I tried it several times. I put the conf-file into each time in several folders: "/etc/nginx/ sites-enabled", "/etc/nginx/sites-available", "etc/nginx/conf.d".
Nothing helped. Everytime there was the error "404 not found nginx". But in the address line of the browser I could see "
http://192.168.178.40/bludit/willkommen-bei-bludit", after I clicked on the title of the post on the page.
Re: Bludit v4 - Alpha version
Posted: Wed Nov 10, 2021 11:19 am
by Edi
Is the module ngx_http_rewrite_module enabled?
Re: Bludit v4 - Alpha version
Posted: Fri Nov 12, 2021 3:18 pm
by wmcig
I am using bludit.conf in folder "etc/nginx/conf.d"
I have enabled the mod_rewrite for subfolder bludit.
Code: Select all
GNU nano 5.4 bludit.conf
server {
listen 80;
server_name example.com;
root /www/bludit;
index index.php;
access_log /var/log/nginx/example.log;
error_log /var/log/nginx/example.log;
location ~ \.(jpg|jpeg|gif|png|css|js|ico|svg|eot|ttf|woff|woff2|otf)$ {
access_log off;
expires 30d;
}
location ~ \.php$ {
fastcgi_pass unix:/run/php/php-fpm.sock;
fastcgi_index index.php;
include fastcgi.conf;
}
location /bludit {
try_files $uri $uri/ /bludit/index.php?$args;
}
location ^~ /bl-content/databases/ { deny all; }
location ^~ /bl-content/workspaces/ { deny all; }
location ^~ /bl-content/pages/ { deny all; }
location ^~ /bl-kernel/*.php { deny all; }
}
It does not work.
Re: Bludit v4 - Alpha version
Posted: Tue Jun 14, 2022 8:57 pm
by HowardB
Hi
I am impressed with the v4 user interface and therefore I have been adding content quickly
However the ADSense Plugin has not been updated and many themes likewise
Question
Can I downgrade to the early version without losing content?
Many thanks
Howard
Re: Bludit v4 - Alpha version
Posted: Wed Jun 15, 2022 4:24 pm
by Edi
Yes, downgrading is no problem.
Re: Bludit v4 - Alpha version
Posted: Thu Jul 07, 2022 8:55 am
by miata
Hi, in v.3 thumbnails could be displayed like this
<?php echo $page->thumbcoverImage(); ?>
in the template.
How is the output in v.4?
Thank you for your help
Re: Bludit v4 - Alpha version
Posted: Thu Jul 07, 2022 11:43 am
by Edi
It's the following:
Code: Select all
<?php echo $page->coverImage(); ?>
See for example:
https://github.com/bludit/bludit/blob/5 ... me.php#L28