Dateiupload auf Mac

Deutsches Benutzerforum

Dateiupload auf Mac

Postby tubedesign » Mon Aug 27, 2012 9:47 am

Hallo
Ich habe auf dem Mac Probleme mit dem Dateiupload. (Safari/Chrome/Firefox)
Wenn ichs mit Parallels auf Windows7 (Explorer9) versuche, klappt es.
Firefox auf Windows klappt auch nicht.

Wo könnte das Problem liegen?
php-Einstellungen und Berechtigungen sind ok.

Danke für einen Hinweis.
tubedesign
 
Posts: 14
Joined: Tue Apr 24, 2012 3:46 pm

Re: Dateiupload auf Mac

Postby ph_il » Tue Aug 28, 2012 11:02 am

was genau passiert da bei dir? screenshots und/oder ausschnitte aus den logfiles wären hier von vorteil.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.tine20.net (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3513
Joined: Fri Mar 07, 2008 11:41 am

Re: Dateiupload auf Mac

Postby tubedesign » Wed Sep 05, 2012 2:59 pm

Hallo Phil

Das Log meint:

bd473 -- none -- - 2012-09-05T12:56:31+00:00 INFO (6): Tinebase_Core::setupLogger::481 Logger initialized
bd473 -- none -- - 2012-09-05T12:56:31+00:00 INFO (6): Tinebase_Core::setupCache::547 cache of backend type 'File' enabled
bd473 -- none -- - 2012-09-05T12:56:31+00:00 INFO (6): Tinebase_Core::setSessionBackend::761 Session of backend type 'File' configured.
bd473 USER - 2012-09-05T12:56:31+00:00 INFO (6): Tinebase_Core::setupUserLocale::947 Setting user locale: de
bd473 USER - 2012-09-05T12:56:31+00:00 INFO (6): Tinebase_Core::setExecutionLifeTime::1028 setting execution life time to: 0
bd473 USER - 2012-09-05T12:56:31+00:00 INFO (6): Tinebase_User::setBackendType::236 Setting backend type to Sql
bd473 USER - 2012-09-05T12:56:31+00:00 INFO (6): Tinebase_Server_Json::_handle::96 is JSON request. method: Filemanager.createNodes
bd473 USER - 2012-09-05T12:56:32+00:00 INFO (6): Tinebase_FileSystem::_updateFileObject::260 finfo_open() is not available: Could not get file information.
bd473 USER - 2012-09-05T12:56:32+00:00 INFO (6): Tinebase_User::factory::197 Created user backend of type Sql
bd473 USER - 2012-09-05T12:56:32+00:00 INFO (6): index.php (75) TIME: 1.1358060836792 seconds MEMORY: 17.5 MBytes REALPATHCACHESIZE: unknown


Es kommt immer die Meldung dass das File zu gross ist. Aber das ist es nicht. Es sieht irgendwie so aus, als könnte mozilla die Fileinfos nicht herauslesen.
Attachments
Screenshot 2012-09-05 um 13.51.38.jpg
Screenshot auf Safari.
Screenshot 2012-09-05 um 13.51.38.jpg (122.42 KiB) Viewed 663 times
tubedesign
 
Posts: 14
Joined: Tue Apr 24, 2012 3:46 pm

Re: Dateiupload auf Mac

Postby ph_il » Fri Sep 07, 2012 12:49 pm

magst du das loglevel mal auf debug (7) stellen? da fehlen mir noch ein paar infos.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.tine20.net (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3513
Joined: Fri Mar 07, 2008 11:41 am

Re: Dateiupload auf Mac

Postby tubedesign » Mon Sep 10, 2012 9:54 am

Aber gerne doch:


d8891 -- none -- - 2012-09-10T07:53:03+00:00 INFO (6): Tinebase_Core::setupLogger::481 Logger initialized
d8891 -- none -- - 2012-09-10T07:53:03+00:00 INFO (6): Tinebase_Core::setupCache::547 cache of backend type 'File' enabled
d8891 -- none -- - 2012-09-10T07:53:03+00:00 INFO (6): Tinebase_Core::setSessionBackend::761 Session of backend type 'File' configured.
d8891 USER - 2012-09-10T07:53:03+00:00 DEBUG (7): Tinebase_Auth_CredentialCache::setCacheAdapter::96 Using credential cache apapter: Tinebase_Auth_CredentialCache_Adapter_Cookie
d8891 USER - 2012-09-10T07:53:03+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::908 given localeString 'auto'
d8891 USER - 2012-09-10T07:53:03+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::917 session value: de
d8891 USER - 2012-09-10T07:53:03+00:00 INFO (6): Tinebase_Core::setupUserLocale::947 Setting user locale: de
d8891 USER - 2012-09-10T07:53:03+00:00 INFO (6): Tinebase_Core::setExecutionLifeTime::1028 setting execution life time to: 0
d8891 USER - 2012-09-10T07:53:03+00:00 INFO (6): Tinebase_User::setBackendType::236 Setting backend type to Sql
d8891 USER - 2012-09-10T07:53:03+00:00 DEBUG (7): Tinebase_Group::getInstance::71 groups backend: Sql
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::959 Setting CTYPE locale from "C" to "en_US.UTF8".
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Tinebase_Server_Json::handle::65 is JSON request. rawdata: Array
(
[0] => Array
(
[jsonrpc] => 2.0
[method] => Timetracker.searchTimesheets
[params] => Array
(
[filter] => Array
(
[0] => Array
(
[condition] => OR
[filters] => Array
(
[0] => Array
(
[condition] => AND
[filters] => Array
(
[0] => Array
(
[field] => start_date
[operator] => within
[value] => weekThis
[id] => ext-record-2
)

[1] => Array
(
[field] => account_id
[operator] => equals
[value] => c4cd523e521789a5acd611781f80f92a0ff0c959
[id] => ext-record-3
)

)

[id] => ext-comp-1086
[label] => Stundenzettel
)

)

)

)

[paging] => Array
(
[sort] => start_date
[dir] => DESC
[start] => 0
[limit] => 50
)

)

[id] => 14
)

)

d8891 USER - 2012-09-10T07:53:04+00:00 INFO (6): Tinebase_Server_Json::_handle::96 is JSON request. method: Timetracker.searchTimesheets
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Timetracker_Model_TimesheetFilter::_appendAclSqlFilter::156 No ACL filter for MANAGE_TIMEACCOUNTS right!
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Timetracker_Model_TimesheetFilter::_appendAclSqlFilter::150 No ACL filter for OR condition!
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Timetracker_Model_TimesheetFilter::_appendAclSqlFilter::156 No ACL filter for MANAGE_TIMEACCOUNTS right!
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Tinebase_Model_Filter_Date::_getDateValues::95 Setting "within" filter: weekThis
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Tinebase_Model_Filter_Date::_getDateValues::96 Timezone: UTC
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Timetracker_Model_TimesheetFilter::_appendAclSqlFilter::156 No ACL filter for MANAGE_TIMEACCOUNTS right!
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Timetracker_Model_TimesheetFilter::_appendAclSqlFilter::150 No ACL filter for OR condition!
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Timetracker_Model_TimesheetFilter::_appendAclSqlFilter::156 No ACL filter for MANAGE_TIMEACCOUNTS right!
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Tinebase_Model_Filter_Date::_getDateValues::95 Setting "within" filter: weekThis
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Tinebase_Model_Filter_Date::_getDateValues::96 Timezone: UTC
d8891 USER - 2012-09-10T07:53:04+00:00 DEBUG (7): Tinebase_User::getInstance::139 accounts backend: Sql
d8891 USER - 2012-09-10T07:53:04+00:00 INFO (6): Tinebase_User::factory::197 Created user backend of type Sql
d8891 USER - 2012-09-10T07:53:04+00:00 INFO (6): index.php (75) TIME: 0.39358305931091 seconds MEMORY: 15 MBytes REALPATHCACHESIZE: unknown
557a3 -- none -- - 2012-09-10T07:53:14+00:00 INFO (6): Tinebase_Core::setupLogger::481 Logger initialized
557a3 -- none -- - 2012-09-10T07:53:14+00:00 INFO (6): Tinebase_Core::setupCache::547 cache of backend type 'File' enabled
557a3 -- none -- - 2012-09-10T07:53:14+00:00 INFO (6): Tinebase_Core::setSessionBackend::761 Session of backend type 'File' configured.
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Auth_CredentialCache::setCacheAdapter::96 Using credential cache apapter: Tinebase_Auth_CredentialCache_Adapter_Cookie
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::908 given localeString 'auto'
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::917 session value: de
557a3 USER - 2012-09-10T07:53:14+00:00 INFO (6): Tinebase_Core::setupUserLocale::947 Setting user locale: de
557a3 USER - 2012-09-10T07:53:14+00:00 INFO (6): Tinebase_Core::setExecutionLifeTime::1028 setting execution life time to: 0
557a3 USER - 2012-09-10T07:53:14+00:00 INFO (6): Tinebase_User::setBackendType::236 Setting backend type to Sql
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Group::getInstance::71 groups backend: Sql
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::959 Setting CTYPE locale from "C" to "en_US.UTF8".
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Server_Json::handle::65 is JSON request. rawdata: Array
(
[0] => Array
(
[jsonrpc] => 2.0
[method] => Filemanager.createNodes
[params] => Array
(
[filenames] => Array
(
[0] => /shared/Ordner/ams_Logo_Claim_dark.jpg
)

[type] => file
[tempFileIds] => Array
(
)

[forceOverwrite] =>
)

[id] => 15
)

)

557a3 USER - 2012-09-10T07:53:14+00:00 INFO (6): Tinebase_Server_Json::_handle::96 is JSON request. method: Filemanager.createNodes
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Model_Tree_Node_Path::_parsePath::187 Parsing path: /25b8df32a7a6bb37f870fc2ea3c22eda04309950/folders/shared/Ordner/ams_Logo_Claim_dark.jpg
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Model_Tree_Node_Path::_getStatPath::359 Path to stat: /25b8df32a7a6bb37f870fc2ea3c22eda04309950/folders/shared/48/ams_Logo_Claim_dark.jpg
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Model_Tree_Node_Path::_parsePath::187 Parsing path: /25b8df32a7a6bb37f870fc2ea3c22eda04309950/folders/shared/Ordner
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Tinebase_Model_Tree_Node_Path::_getStatPath::359 Path to stat: /25b8df32a7a6bb37f870fc2ea3c22eda04309950/folders/shared/48
557a3 USER - 2012-09-10T07:53:14+00:00 DEBUG (7): Filemanager_Controller_Node::_createNodeInBackend::452 Creating new path /25b8df32a7a6bb37f870fc2ea3c22eda04309950/folders/shared/48/ams_Logo_Claim_dark.jpg of type file
557a3 USER - 2012-09-10T07:53:15+00:00 INFO (6): Tinebase_FileSystem::_updateFileObject::260 finfo_open() is not available: Could not get file information.
557a3 USER - 2012-09-10T07:53:15+00:00 DEBUG (7): Tinebase_User::getInstance::139 accounts backend: Sql
557a3 USER - 2012-09-10T07:53:15+00:00 INFO (6): Tinebase_User::factory::197 Created user backend of type Sql
557a3 USER - 2012-09-10T07:53:15+00:00 INFO (6): index.php (75) TIME: 0.8542149066925 seconds MEMORY: 17.5 MBytes REALPATHCACHESIZE: unknown
tubedesign
 
Posts: 14
Joined: Tue Apr 24, 2012 3:46 pm

Re: Dateiupload auf Mac

Postby ph_il » Mon Sep 10, 2012 12:35 pm

hm, ich glaube nicht, dass das fileinfo das problem ist.

der eigentliche request, der schiefgeht, ist ja der HTML upload. leider taucht der nicht im tine logfile auf.

vielleicht steht aber was im webserver error log oder du müsstest mal (z.b. mit der developer console in chrome) den request und die response im browser anschauen.
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.tine20.net (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3513
Joined: Fri Mar 07, 2008 11:41 am

Re: Dateiupload auf Mac

Postby tubedesign » Tue Sep 11, 2012 11:36 am

Hallo Phil

In der Chrome console bekomme ich die Meldung:
...tine./index.php?method=Tinebase.uploadTempFile 406 (Not Acceptable)

Im Server-Log:
[Tue Sep 11 11:32:14 2012] [error] [client 213.193.66.86] mod_security: Access denied with code 406. Invalid character detected in POST payload [0] [severity "EMERGENCY"] [hostname "identimmo.ch"] [uri "/tine/index.php?method=Tinebase.uploadTempFile"]

Der Filename ist:
ams_Logo_Claim_dark.jpg (keine ungewöhnlichen Zeichen im Filename)

Danke und Gruss Martin
tubedesign
 
Posts: 14
Joined: Tue Apr 24, 2012 3:46 pm

Re: Dateiupload auf Mac

Postby tubedesign » Fri Sep 14, 2012 9:23 am

Hat hier jemand eine Idee?
tubedesign
 
Posts: 14
Joined: Tue Apr 24, 2012 3:46 pm

Re: Dateiupload auf Mac

Postby ph_il » Mon Sep 17, 2012 12:34 pm

ah, das problem mit mod_security hatten wir schonmal. das scannt alles was per POST reinkommt und verhindert dann manchmal den upload von dateien.

gibt es die möglichkeit, das auszuschalten? eventuell kann man das mod ja auch etwas entschärfen.

siehe auch: viewtopic.php?f=12&t=10756
Philipp Schüle
Tine 2.0 Core Developer

Visit http://www.tine20.com (commercial support, consulting and development)
Visit http://www.tine20.net (Tine 2.0 hosting)
User avatar
ph_il
Tine 2.0 Core Developer
 
Posts: 3513
Joined: Fri Mar 07, 2008 11:41 am

Re: Dateiupload auf Mac

Postby tubedesign » Mon Sep 17, 2012 3:13 pm

Hallo Phil
Vielen Dank, das war der entscheidende Hinweis.
Jetzt klappst auch mit Mozilla.
tubedesign
 
Posts: 14
Joined: Tue Apr 24, 2012 3:46 pm


Return to Deutsch [German]

Who is online

Users browsing this forum: Google [Bot], Solivagus, splinter03 and 23 guests

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »