Loading...
 
Features / Usability

Features / Usability


Tk 5.3 and file gallery corruption

posts: 43 Canada

I've seen references to image corruption in early tk 5.0 versions on the forum. Apparently it was fixed in 5.1. I'm running 5.3 and I cannot upload any images without them being corrupt.

I've read that you can tweak your php.ini or change the encoding to latin1 as opposed to utf8 (or something like that). I don't have access to any of these options as I go through a hosting provider that doesn't give access to these sorts of things.

Was the fix done in 5.1 and up?

I'm using mysql 5.0.87 I believe. Would love to be able to use this gallery.

For the record, it works just fine on 4.3 on the same server 8~(]

posts: 43 Canada

That is exactly the link I needed. Yes, I can tweak the db/local.php file. I will give it a go tonight.

PS. Where are you in Canada? I'm Ottawa/Hull.

Tks

posts: 43 Canada

It hasn't worked for me.

I added:

$api_tiki='adodb';

to my db/local.php,


Do I have to restart the apache instance? I don't have access to that unfortunately.

posts: 43 Canada
For the record, I removed the entry referencing utf8 for client charset, and I can now upload without corruption. I uploaded all the images I needed then changed it back. Don't imagine it would be a good thing to change that.
posts: 1630 Canada

Can you also try the one line change I suggest?

M ;-)

posts: 43 Canada

"Can you also try the one line change I suggest?"

Not sure what you mean. Are you talking about the local.php entry? I have done that, and it didn't work. Only thing that did work as I said was removing the utf8 references (temporarily).

There is also a link to "apply commit 30522, which fixes it (and will be 5.4)" with new php code for tiki-db-pdo.php file. Is that what you are referring to? If so, I applied that patch as well. It didn't fix it either, drag. I was getting my hopes up.

Salut Marc.


posts: 3665 United States
note that if you use the file directory instead of the DB you can avoid this issue completely. see the release notes for details
posts: 43 Canada

For the record, the mysql db which is installed with latin1 encoding is now officially hosed. I guess I shouldn't have messed with the utf8 setting in the local.php file?

Dam, I wish my provider gave me the option for 4.3.

Cheers


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting