2 Jan 20, 2024 01:12

in response to: b2evolution hack for PHP 8 preliminary release.

'The front end is completely broke.'
This is the major fatal error attempted fix by the hack above:

Fatal error: Uncaught Error: Object of class WidgetContainer could not be converted to string in /path/to/b2evolution/inc/skins/skin.funcs.php, i.e.,
https://github.com/b2evolution/b2evolution/issues/122#issue-2009151128

Object of class WidgetContainer could not be converted to string in
Object of class WidgetContainer could not be converted to string in

It is a show stopper. Notwithstanding, the other two fatal errors in the backend tabs referenced above are no less infuriating / exasperating. Yet, all have been apparently resolved to make PHP 8 display appropriately, as well, with relevant hacks.

5 Jan 02, 2024 14:05

in response to: New Installation Multible Problems

so now i think i found out why the login problem the 2 b2evo installs share the same cookie name b2evo so the salt from the on install is different from the other so i had to differentiate the 2 installs by changing this in _advanced.php.

/**
 * Short name of this system (will be used for cookies and notification emails).
 *
 * Change this only if you install mutliple b2evolution instances on the same server or same domain.
 *
 * WARNING: don't play with this or you'll have tons of cookies sent away and your users will have issues!
 *
 * @global string Default: 'b2evo'
 */
$instance_name = 'blog2evo'; // MUST BE A SINGLE WORD! NO SPACES!!

6 Dec 31, 2023 19:28

in response to: New Installation Multible Problems

no need for hurry. but its cracy by the way i have updated my production db to utf8mb4 for thsi change i had to change
evo_i18n_translated_string.itst_standard
evo_i18n_translated_string.itst_custom
varchar to text but its working great as you can see.

8 Dec 31, 2023 19:18

in response to: New Installation Multible Problems

Exact b2evolution version :7.2.5-stable
Exact PHP version :7.4.33
MySQL/MariaDB version :11.2.2-MariaDB-1:11.2.2+maria~deb12

yes is my own debian 12 install

on ten same server also an update version is running.
www.disconnected-by-peer.at

an parallel i am trying to set up a new installation that owuld replace the old one sometimes in the furue.
blog.disconnected-by-peer.at

the install finished when i set no demo data ...
but then i am unable to login with the admin account with the nice errror from abouth.

11 Jun 21, 2023 16:22

in response to: RSS Feed - Change Sorting Order

Hello @amoun,
thanks for your reply.

I think this is part of core b2e. It seems that RSS Feeds (also ATOM) follow the sorting order of the startpage.
I found a workaround: There is a way to build an RSS Feed to special Categories.
/?tempskin=_rss2&cat=ID
Now I list every new post also in a category named "Newest Posts" and built an RSS Feed of this Category. That works.

Hope you are well. And again, thank you for taking care of this forum so consistently and helpfully!

Regards, Will

12 Jun 17, 2023 10:06

in response to: RSS Feed - Change Sorting Order

  1. Never used RSS but will have a look . . . .
  1. Start with the /skins/_rss2 maybe to see what is 'pulls' in and from where etc.
  1. Seems to use /xmlsrv/ where there is
    rss.php and rss2.php . . . which do very little it seems

Nope I didn't find anything there :(

So is that the output you get is in the same order as 'any' and all other skins use and hence the order of listing has to make an exception for RSS?

So is this RSS looking at your own feeds or those of incoming third parties

16 Feb 24, 2023 20:20

in response to: Export

Hi @nomad. I haven't decided yet. But I think I'll put all the comments on a "history page" and try to import them in the future.

At the moment, from what I've researched, there isn't a ready way to import comments to the respective post, without getting into programming.

Unfortunately!

PS: I have already imported about 1000 blog entries. I haven't done the redirect yet (but I've tested it using htaccess and it worked).
Old blog: https://sfl.pro.br/blogs/index.php/sergio-blog/
New blog: https://sfl.pro.br/blog/

@nomad wrote earlier:

Hi @oigreslima thanks a lot! I was wondering about export options as well. How does the import of comments work? And usernames? (I have lots of comments that I don't want to miss)


It remember vaguely there was an export option to Movable Type format for b2evolution 7.0.2 or so which than can be used to import it to Wordpress (I read it somewhere but don't remember where).


As b2evolution doesn't support php8 and php7.4 is no longer supported and will be phased out by the hosters, we need a way to migrate.


EDIT: Export to xml (7.0.2) https://b2evolution.net/man/export-xml-zip


EDIT2 Francois moved his English blog to Hugo https://fplanque.com

17 Feb 24, 2023 20:06

in response to: Export

Oh, that's true, there is only 7.0.1.

What are your plans, @amoun ? Are you going to migrate? If yes, how? Or is somebody working on php 8 compatibility?

18 Feb 24, 2023 19:51

in response to: Export

Hi
Have you seen my note, that the newer downloads I have do not have that option and there is no 7.0.2 ?

19 Feb 24, 2023 15:27

in response to: Export

Hi @oigreslima thanks a lot! I was wondering about export options as well. How does the import of comments work? And usernames? (I have lots of comments that I don't want to miss)

It remember vaguely there was an export option to Movable Type format for b2evolution 7.0.2 or so which than can be used to import it to Wordpress (I read it somewhere but don't remember where).

As b2evolution doesn't support php8 and php7.4 is no longer supported and will be phased out by the hosters, we need a way to migrate.

EDIT: Export to xml (7.0.2) https://b2evolution.net/man/export-xml-zip

EDIT2 Francois moved his English blog to Hugo https://fplanque.com

20 Feb 18, 2023 18:26

in response to: Export

Hello everyone, sharing here a possible path for those who want to migrate their blog from b2evolution to a static system. (2023)

I chose pelican (https://docs.getpelican.com/) because it has native rss import support. I won't go into details (sorry, you'll have to read the documentation). But in short, follow these steps:
1) Install, on your server, pelican and the dependencies for the importer (generally a simple task on debian like systems with root access)
2) Generate blog rss every year (for blogs with many entries) http://yourblogaddress/year/?tempskin=_rss2
Save the file in a directory on the server that will receive the file

3) run the importer on this file: Unfortunately it puts the categories as tags. Either manually edit each general file or (if you know it, not my case) a script can automate it.

4) Generate the static pages in pelican

As I don't know programming, I'm going to migrate, little by little, from the most recent posts to the oldest ones!