-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQLSTATE[HY000] ... array breaks while filescan ? #223
Comments
http://php.net/manual/en/function.utf8-decode.php --- UTF-8 encoded, to ISO-8859-1 thats the problem mfg |
That could explain why there are no element detected in my folder mounted as a local storage. |
@icewind1991 is this still an issue? |
26-Feb-2013 16:38:47 UTC] PHP Notice: Undefined index: mimetype in W:\nginx\html\owncloud\lib\filecache.php on line 383 .... still ... |
and getting 2013/02/26 17:57:37 [error] 7104#6588: *69 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while reading response header from upstream, client: 11111, server: xy.xy, request: "POST /core/ajax/translations.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "111111:11", referrer: "http://xxxxxxx:111/?app=files" |
which version do you use? |
nginx-1.2.7 / php-5.4.11-nts-Win32-VC9-x86 / owncloud-4.5.7 server {
#_______________________________________________________________________/owncloud #_______________________________________________________________________php verteiler upstream php_verteiler { |
I’m closing this issue because it has been inactive for a few months. This probably means it’s not reproducible or it has been fixed in a newer version. Please reopen if the error still persists with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :) Thank you! |
Mounted a local folder as local mountpoint ... then this happend ...
[code][02-Nov-2012 19:23:50 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xE4chter' for column 'name' at row 1' in W:\nginx\html\owncloud\lib\db.php:736
Stack trace:
#0 W:\nginx\html\owncloud\lib\db.php(736): PDOStatement->execute(Array)
#1 W:\nginx\html\owncloud\lib\filecache.php(105): PDOStatementWrapper->execute(Array)
#2 W:\nginx\html\owncloud\lib\filecache.php(433): OC_FileCache::put('/Serien/Die W?c...', Array, false)
#3 W:\nginx\html\owncloud\lib\filecache.php(83): OC_FileCache::scanFile('/Serien/Die W?c...')
#4 W:\nginx\html\owncloud\lib\filecache.php(433): OC_FileCache::put('/Serien/Die W?c...', Array, false)
#5 W:\nginx\html\owncloud\lib\filecache\update.php(175): OC_FileCache::scanFile('/Serien/Die W?c...', false)
#6 W:\nginx\html\owncloud\lib\filecache\update.php(117): OC_FileCache_Update::update('/Serien/Die W?c...')
#7 [internal function]: OC_FileCache_Update::fileSystemWatcherWrite(Array)
#8 W:\nginx\html\owncloud\lib\hook.php(62): call_user_func(Array, Arra in W:\nginx\html\owncloud\lib\db.php on line 736
[02-Nov-2012 19:34:27 UTC] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xFCr das...' for column 'name' at row 1' in W:\nginx\html\owncloud\lib\db.php:736
Stack trace:
#0 W:\nginx\html\owncloud\lib\db.php(736): PDOStatement->execute(Array)
#1 W:\nginx\html\owncloud\lib\filecache.php(105): PDOStatementWrapper->execute(Array)
#2 W:\nginx\html\owncloud\lib\filecache.php(433): OC_FileCache::put('/Serien/Die Wae...', Array, false)
#3 W:\nginx\html\owncloud\lib\filecache\update.php(175): OC_FileCache::scanFile('/Serien/Die Wae...', false)
#4 W:\nginx\html\owncloud\lib\filecache\update.php(117): OC_FileCache_Update::update('/Serien/Die Wae...')
#5 [internal function]: OC_FileCache_Update::fileSystemWatcherWrite(Array)
#6 W:\nginx\html\owncloud\lib\hook.php(62): call_user_func(Array, Array)
#7 W:\nginx\html\owncloud\lib\filecache\update.php(91): OC_Hook::emit('OC_Filesystem', 'post_write', Array)
#8 W:\nginx\html\owncloud\lib\filecache\update.php(89): OC_FileCache_Update::updateF in W:\nginx\html\owncloud\lib\db.php on line 736[/code]
Folder Name is "Die Wächter"
filecache.php ... 105
[code]$result=$query->execute(array($parent,basename($fullpath),$fullpath,md5($fullpath),$data['size'],$data['mtime'],$data['ctime'],$data['mimetype'],$mimePart,$user,[/code]
So i figure its a translation problem from the filesystem in the array ...
I did rename all german ÄÖÜ int ae oe ue but didnt help ...
Filename is like "01.Unfaelle passieren"
so i renamend files to 001.avi and scanning was accepting that ... ^^
Still hangs at some files but not in cycles ...
So someting there is broken. plz fix it ^^
Sys: winx64 nginx mysql php ... db is utf8_general_ci owncloud 4.5.1
greets
The text was updated successfully, but these errors were encountered: