Loading...
 
Skip to main content

Migrate wiki attachement failed when upgrading a Tiki25 to Tiki26

Status
Closed
Subject
Migrate wiki attachement failed when upgrading a Tiki25 to Tiki26
Version
26.x
Category
  • Bug
Feature
Wiki (page view, edit, history, rename, etc)
Resolution status
Out of Date
Submitted by
Bernard Sfez / Tiki Specialist
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

I upgraded a Tiki25 to Tiki26.
When login as admin I had a warning that console command attachments:migrate has not been executed.

On execution I had the following error.

Copy to clipboard
/public_html$ php console.php attachments:migrate Processing page mydomain Website Pages, attachment 15 apagename.html... Undefined variable $galleryId on line 58 of /home/mydomain/public_html/lib/core/Tiki/FileGallery/Manipulator/Validator.php PDOStatement::execute(): SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'comment' at row 1 on line 114 of /home/mydomain/public_html/lib/core/TikiDb/Pdo.php A error was encountered while running a command Data too long for column 'comment' at row 1 on line 17 of /home/mydomain/public_html/lib/core/TikiDb/Exception.php
Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8596
Reviewed by Wishlist Team On
10 Feb 26 08:39 UTC
Created
Tuesday 20 February, 2024 21:00:50 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Wednesday 11 February, 2026 10:00:18 UTC


Show PHP error messages