Feng Forum

Support => Older versions => : gman August 21, 2009, 06:25:18 PM

: Cannot upload files in workspaces
: gman August 21, 2009, 06:25:18 PM
I upgraded to 1.5.2 and now get the following message when trying to upload a file:

Error:

Query failed with message 'Incorrect string value: '\x92s pri...' for column 'content' at row 1'

This is a very serious error. Is there a way to downgrade to 1.5.1. If file uploads do not work, OpenGoo is rendered essentially usable.

: Re: Cannot upload files in workspaces
: ignacio August 24, 2009, 04:08:46 PM
To downgrade to 1.5.1 just extract the OpenGoo 1.5.1 zip file. If this doesn't solve it then the problem was not introduced in OpenGoo 1.5.2
: Re: Cannot upload files in workspaces
: alvarotm01 August 24, 2009, 07:04:54 PM
Hi,
The problem may be that the encoding of the file (or filename) you want to upload is not utf-8.
Try adding this code before line 91 of "/application/models/ApplicationDataObject.class.php"
:
if (get_class($this->manager()) == 'ProjectFiles') {
$content = utf8_encode($content);
}
please let us know if this does not work.