Loading...
 
Skip to main content

Features / Usability


Problem uploading pics in 1.9.2

posts: 96 United States

I've upgraded from Tiki 1.9 to 1.9.2 hoping that would fix my Image Gallery upload problem. It merely changed it. I now get the error messages below. What would cause this and how would I fix it? Both the file and the directory exist! I'm using gd2 and storing the files in the database, not a directory. The problem exists whether the file is a .jpg or a .gif.

Thanks in advance!


Warning: filesize(): Stat failed for C:\WINNT\TEMP/filename.jpg.tmp (errno=2 - No such file or directory) in c:\mypath\tiki-upload_image.php on line 179

Warning: fread(): Length parameter must be greater than 0. in c:\mypath\tiki-upload_image.php on line 179


The following error message is added to the above when the file is a .gif rather than a .jpg.


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 ')' at line 3 in query:

insert into `tiki_images_data`(`imageId`,`xsize`,`ysize`,
`type`,`filesize`,`filetype`,`filename`,`data`)
values (?,?,?,?,?,?,?,?)

in c:\mypath\lib\tikidblib.php on line 134

There are no comments at this time.