Keyword

Latest K2 update CRASH on Joomla 3 with PHP8 (from v2.10.3...)

  • Michael
  • Michael's Avatar Topic Author
  • Offline
  • New Member
More
1 week 5 days ago #180692 by Michael
This is weird!  I tested the update on our DEV server ( clone of our live server) and it updated 100% fine to 2.11
Joomla 3.10.11 on PHP 8.0.27

BUT, when I then went to update on our LIVE server, I got this error:

An error has occurred.
-1 Copy file failed

I can't find any trace of this in PHP error logs, or Joomla  
Any hints about where i might be able to see what files are failing and where permissions are out. ???
(Actually they should not be any different than the permissions on our DEV server, where the update worked...)

after the failed update, the K2 blogs all work fine in front end and back, unless i click on a link to the category.. then I get this:

 Error: 1176 - Key 'idx_item' doesn't exist in table 'i'

ouch!!

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #180695 by JoomlaWorks
Re-install K2 so it creates the needed index key.

To see a full log of what's wrong, set error reporting to maximum and ensure Joomla debugging is also enabled. I'm not sure if this was always the case, but with PHP 8 it seems to be.

Also switch to PHP 8.1 if you can and use the PDO MySQL database driver in Global Config. This is how we run the K2 demo site.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum