Problems with PHP8 - latest XAMPP Version

Having trouble installing serendipity?
Post Reply
tobisfr
Posts: 1
Joined: Thu Jan 14, 2021 11:26 am

Problems with PHP8 - latest XAMPP Version

Post by tobisfr »

Hi,

just trying to install with the latest XAMPP8 Version under Windows / PHP8.

Running a fresh copy of Version 2.3.5 shows a lot of errors "undefined array key"

An suggestions?

Regards,
Tobi

Code: Select all

Warning: Undefined array key "charset" in C:\xampp\htdocs\s9y\include\compat.inc.php on line 429

Warning: Undefined array key "charset" in C:\xampp\htdocs\s9y\include\compat.inc.php on line 429

Warning: Undefined array key "dbType" in C:\xampp\htdocs\s9y\include\db\db.inc.php on line 6

Warning: Undefined array key "is_iframe" in C:\xampp\htdocs\s9y\include\functions_config.inc.php on line 799

Warning: Undefined array key "serendipityAuthedUser" in C:\xampp\htdocs\s9y\include\functions_config.inc.php on line 675

Warning: Undefined array key "action" in C:\xampp\htdocs\s9y\serendipity_admin.php on line 81

Warning: Undefined array key "versionInstalled" in C:\xampp\htdocs\s9y\include\admin\installer.inc.php on line 31

Warning: Undefined array key "step" in C:\xampp\htdocs\s9y\include\admin\installer.inc.php on line 96

Warning: Undefined array key "step" in C:\xampp\htdocs\s9y\include\admin\installer.inc.php on line 98

Warning: Undefined variable $showWritableNote in C:\xampp\htdocs\s9y\include\admin\installer.inc.php on line 305

Warning: Undefined array key "smarty" in C:\xampp\htdocs\s9y\include\admin\installer.inc.php on line 358

Warning: Undefined array key "template" in C:\xampp\htdocs\s9y\include\functions_smarty.inc.php on line 893

Warning: Undefined array key "template" in C:\xampp\htdocs\s9y\include\serendipity_smarty_class.inc.php on line 126
onli
Regular
Posts: 2822
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Problems with PHP8 - latest XAMPP Version

Post by onli »

Serendipity is not ready for PHP 8 yet, sorry. Please stick to PHP 7 for now.
hbarel
Regular
Posts: 8
Joined: Sun Apr 25, 2021 7:22 pm

Re: Problems with PHP8 - latest XAMPP Version

Post by hbarel »

Any idea on if/when S9Y is to be made compatible with PHP 8.0?
I'd like to migrate into it, but there is no point doing so if the project is to be abandoned.
Thanks.
onli
Regular
Posts: 2822
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Problems with PHP8 - latest XAMPP Version

Post by onli »

Work is currently ongoing. We split a first PR into two parts, with the first already merged (https://github.com/s9y/Serendipity/pull/751) and the second will follow. I use s9y for my own blog and intend to continue doing so, the project will not be abandoned.
onli
Regular
Posts: 2822
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Problems with PHP8 - latest XAMPP Version

Post by onli »

Good news: The recently released 2.4-beta1 does work with PHP 8.0. See https://github.com/s9y/Serendipity/rele ... /2.4-beta1
MarcoAmara
Posts: 1
Joined: Sun Oct 31, 2021 3:05 pm

Re: Problems with PHP8 - latest XAMPP Version

Post by MarcoAmara »

Good news to hear that the new version can work with php.
Post Reply