Loading...
 
Skip to main content

After upgrade from 1.9.7 to 2.4, unable to upload files to file galleries

Status
Closed
Subject
After upgrade from 1.9.7 to 2.4, unable to upload files to file galleries
Version
2.x
Category
  • Error
  • Usability
  • Support request
Feature
File Gallery (elFinder or standard UI)
Resolution status
Out of Date
Submitted by
pcoppola
Lastmod by
Marc Laporte
Rating
(0)
Description

I did a version upgrade from 1.9.7 to 2.4
I have problems with file galleries.
When I try to upload a file I receive the following error:

An error occured in a database query!

Context:
File tiki-upload_file.php
Url tiki-upload_file.php
Query:
insert into `tiki_files`(`galleryId`,`name`,`description`,`filename`,`filesize`,`filetype`,`data`,`user`,`created`,`hits`,`path`,`hash`,`search_data`,`lastModif`,`lastModifUser`, `comment`, `author`, `lockedby`) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
Values:
(then a lot of values follows)
.....

Message:
Built query was probably:

nsert into `tiki_files`(`galleryId`,`name`,`description`,`filename`,`filesize`,`filetype`,`data`,`user`,`created`,`hits`,`path`,`hash`,`search_data`,`lastModif`,`lastModifUser`, `comment`, `author`, `lockedby`) values('21',,,'Ten Conf Caballeros Orientales 131.pdf','27400','application/pdf','%PDF-1.4 %�쏢 5 0 obj <</Length 6 0 R/Filter /FlateDecode>> stream k��5$~t���E�sm�S�xn��P�@�T��.\0��9�X��>��ͤ�oÚšp1O&}�+'admin'R���Qb�/O#�,bg�j�ӱ�G�s�y`�RY:����xa#���\0�$O\'R�̨�Ù“tL(e].....binary data continues......,%%EOF ',?,?,?,?,?,?,?,?,?,?,?)

Please I thank you for a solution, because I have my site without this functionallity that is very important to my users

Pablo

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2439
Created
Saturday 18 April, 2009 21:13:37 UTC
by Unknown
LastModif
Thursday 14 January, 2010 20:06:03 UTC


Show PHP error messages