Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-12-04 17:11:27

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,349

Re: Mysql fatal error on setup

The patch worked to resolve the issue that OP reported (on my setup, at leas), and we’ve also squashed another bug as a result of this thread. This happens at the end of the install process on PHP 8.0.0. The install does complete OK, these are just warnings, but it’s not pretty.

anotherday: hopefully the patch that Bloke made will solve your issue. If you’re not comfortable patching it yourself. we’ll be releasing 4.8.5 soon when we’ve taken care of a few other bits and pieces, so if you’re happy to hold off for a while we can improve the PHP 8.0.0 experience further for you.

Offline

#12 2020-12-04 18:01:22

anotherday
New Member
Registered: 2020-12-03
Posts: 6

Re: Mysql fatal error on setup

Bloke wrote #327261:

This patch should fix the installation issues. As I don’t have a PHP 8 environment to hand, please would you be able to test it and report if it works or not? Thank you.

Good afternoon Bloke!

In a way – success!

I’ve updated the file with the patch and here it goes:

During the online setup, at the end of Step 4 (Go!), I got the following:

Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 100
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 128
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 100
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 128
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 100
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 128
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 100
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 128
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 100
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 128
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 100
Deprecated: Function libxml_disable_entity_loader() is deprecated in /var/www/otg/textpattern/vendors/Textpattern/Import/TxpXML.php on line 128

That went well! […]

At this point, I was able to complete the setup successfully.

—————

On the first login, a pop-up like message appears stating Warning "Undefined array key "skin_delete_from_database"".
After this, the Textpattern console under “Write” appears with no errors.

On the second login, no warning messages (maybe I was already logged in?)
On the third login, the same warning message appears again.
On the fourth login (and after playing around with creating, updating articles, and changing articles’ status), I received a pop-up like message: Warning "Undefined array key "article_sort_column""., with a checkbox asking Prevent this page from creating additional dialogues.

—————

At this point, I will be testing around. I think the application is very usable and may require adjustment for the new php version (I’m really assuming here).
Visually, TextPattern is snappy, simple, and good looking. Outside deprecated and warning messages, I have yet to find critical issues with the fix.

Lastly, I get permission related errors, in which case I will adjust my files/folders permissions.

If you wish so, I will keep testing and report back.

This makes my day btw. Thank you very much!

Offline

#13 2020-12-04 18:02:26

anotherday
New Member
Registered: 2020-12-03
Posts: 6

Re: Mysql fatal error on setup

gaekwad wrote #327268:

The patch worked to resolve the issue that OP reported (on my setup, at leas), and we’ve also squashed another bug as a result of this thread. This happens at the end of the install process on PHP 8.0.0. The install does complete OK, these are just warnings, but it’s not pretty.

anotherday: hopefully the patch that Bloke made will solve your issue. If you’re not comfortable patching it yourself. we’ll be releasing 4.8.5 soon when we’ve taken care of a few other bits and pieces, so if you’re happy to hold off for a while we can improve the PHP 8.0.0 experience further for you.

Understood gaekwad, and thanks again.

Offline

#14 2020-12-04 18:21:26

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,349

Re: Mysql fatal error on setup

Function libxml_disable_entity_loader()

Yeah, I got that too – fixed with github.com/textpattern/textpattern/commit/c48b9c3d8e361d4654d311d48bd8e66a75313029

The other stuff…we’re working on it: see github.com/textpattern/textpattern/issues/1596 and github.com/textpattern/textpattern/issues/1597 for the details.

Offline

#15 2020-12-04 21:50:29

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,994
Website

Re: Mysql fatal error on setup

anotherday wrote #327270:

On the fourth login (and after playing around with creating, updating articles, and changing articles’ status), I received a pop-up like message: Warning "Undefined array key "article_sort_column"".

Thank you for battle testing and bearing with us. Thought we’d squashed all this stuff in PHP 8.0 but it seems some gremlins crept in with their more stringent parser. Apologies for the hiccup.

As Pete says, we’ve identified most of the ones you mention. The ‘article_sort_column’ is a new one and I suspect there may be others. We’ll raise issues for those to track them.

I think the application is very usable and may require adjustment for the new php version

Yes, that’s all it is. Some PHP 8 teething problems. It’ll run smoothly on PHP 7.4.

Lastly, I get permission related errors, in which case I will adjust my files/folders permissions.

Yeah, depending on the way hosts are set up, sometimes you need to widen the write permissions on:

  • /files
  • /images
  • /themes
  • /textpattern/plugins

If you wish so, I will keep testing and report back.

Yes please. Anything you find that we haven’t already caught in our issue queue would be most welcome so we can squash it.

Thanks again for your help and understanding with this. And so glad you’re enjoying Textpattern.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

Board footer

Powered by FluxBB