Loading...
 
Skip to main content

tiki-backup.php is completely broken. Do NOT use.

Status
Closed
Subject
tiki-backup.php is completely broken. Do NOT use.
Version
1.9.x
Category
  • Error
Feature
~Backup
Resolution status
Won't Fix
Submitted by
Marc Laporte
Volunteered to solve
Marc Laporte
Lastmod by
Marc Laporte
Rating
(0)
Description

On a clean install, I make a backup via tiki-backup.php All seems well.

However, when I try to restore:

Image
Copy to clipboard
Warning: mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '��I�!��m3.�ָb���J�:A�޷7�Y��|���C��O�' at line 1 in query: ��I�!��m3.�ָb���J�:A�޷7�Y��|���C��O� in lib/tikidblib.php on line 134


It seems to be caused by the special characters in the encryption of the .sql file


Broken site shows:

Image
Copy to clipboard
Notice: this site is currently unavailable. Please try again later or contact the admin.
Solution
Use TRIM
Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1287
Created
Friday 10 August, 2007 07:32:34 UTC
by Unknown
LastModif
Friday 15 January, 2010 04:41:51 UTC


Show PHP error messages