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: 1542 Canada

Hi!

Sorry about that. It was fixed in 5.1 for certain configurations, but it's still problematic in 5.3 for certain other configurations.

It will be fixed in 5.4

Can you update your .php files ?

Can you try the following?
http://doc.tiki.org/Understanding+Encoding#Tiki_5.2_or_5.3

Thanks!

M ;-)

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: 1542 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: 1542 Canada

Montréal.

You should meet up with Pascal in Ottawa:
http://www.pascalstjean.com/

There will likely be a TikiFest with BigBlueButton soon in Ottawa.

M ;-)


posts: 3623 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