{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/10588","labels_url":"https://api.github.com/repos/owncloud/core/issues/10588/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/10588/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/10588/events","html_url":"https://github.com/owncloud/core/issues/10588","id":40889424,"number":10588,"title":"Share files/folder causes ","user":{"login":"check-ict","id":2199640,"avatar_url":"https://avatars.githubusercontent.com/u/2199640?v=3","gravatar_id":"","url":"https://api.github.com/users/check-ict","html_url":"https://github.com/check-ict","followers_url":"https://api.github.com/users/check-ict/followers","following_url":"https://api.github.com/users/check-ict/following{/other_user}","gists_url":"https://api.github.com/users/check-ict/gists{/gist_id}","starred_url":"https://api.github.com/users/check-ict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/check-ict/subscriptions","organizations_url":"https://api.github.com/users/check-ict/orgs","repos_url":"https://api.github.com/users/check-ict/repos","events_url":"https://api.github.com/users/check-ict/events{/privacy}","received_events_url":"https://api.github.com/users/check-ict/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/sev2-high","name":"sev2-high","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/Sharing","name":"Sharing","color":"e102d8"},{"url":"https://api.github.com/repos/owncloud/core/labels/showstopper","name":"showstopper","color":"FFD700"}],"state":"closed","locked":false,"assignee":{"login":"schiesbn","id":1589737,"avatar_url":"https://avatars.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiesbn","html_url":"https://github.com/schiesbn","followers_url":"https://api.github.com/users/schiesbn/followers","following_url":"https://api.github.com/users/schiesbn/following{/other_user}","gists_url":"https://api.github.com/users/schiesbn/gists{/gist_id}","starred_url":"https://api.github.com/users/schiesbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiesbn/subscriptions","organizations_url":"https://api.github.com/users/schiesbn/orgs","repos_url":"https://api.github.com/users/schiesbn/repos","events_url":"https://api.github.com/users/schiesbn/events{/privacy}","received_events_url":"https://api.github.com/users/schiesbn/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/25","labels_url":"https://api.github.com/repos/owncloud/core/milestones/25/labels","id":790524,"number":25,"title":"2014-sprint-05","description":null,"creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":37,"state":"closed","created_at":"2014-09-15T19:33:31Z","updated_at":"2014-10-12T21:13:34Z","due_on":"2014-10-10T21:00:00Z","closed_at":"2014-10-12T21:12:56Z"},"comments":35,"created_at":"2014-08-22T08:43:08Z","updated_at":"2015-02-19T20:29:46Z","closed_at":"2014-10-10T14:00:14Z","body":"### Steps to reproduce\r\n1. We created folders and shared them\r\n2. We uploaded about 400 GB of data and indexed all (it shows sizes, all is calculated)\r\n3. We try to share a new folder, the share option hangs/freezes the website\r\n4. Also existing folders and deeper folders/files are not showing anything when \"shared\" is clicked\r\n\r\n### Expected behaviour\r\nNormal share options shown\r\n\r\n### Actual behaviour\r\nShare does not expand and browser hangs, nothing is clickable anymore untill refresh or long wait time.\r\n\r\n### Server configuration\r\n**Operating system**:\r\nDebian 7 64 bit\r\n**Web server:**\r\nApache2\r\n**Database:**\r\nMySQL\r\n**PHP version:**\r\n5.4.4\r\n**ownCloud version:** (see ownCloud admin page)\r\n7.0.1\r\n**Updated from an older ownCloud or fresh install:**\r\nFresh install\r\n**List of activated apps:**\r\nOnly file share, disabled all others\r\n**The content of config/config.php:**\r\n```php\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => 'abcd',\r\n  'passwordsalt' => 'abcd',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => 'cloud.domain.nl',\r\n    1 => 'cloud.domain.nl:5000', // (https 443 was allready used)\r\n  ),\r\n  'datadirectory' => '/data/owncloud',\r\n  'dbtype' => 'mysql',\r\n  'version' => '7.0.1.1',\r\n  'dbname' => 'owncloud',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'abcd',\r\n  'dbpassword' => 'abcd',\r\n  'installed' => true,\r\n  'forcessl' => true,\r\n  'mail_smtpmode' => 'smtp',\r\n  'mail_from_address' => 'cloud',\r\n  'mail_domain' => 'domain.nl',\r\n  'mail_smtphost' => 'localhost',\r\n);\r\n```\r\n\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\nno\r\n**Are you using encryption:** yes/no\r\nno\r\n### Client configuration\r\n**Browser:**\r\nAny (firefox, ie, chrome, safari)\r\n**Operating system:**\r\nAny (iOS, Windows, Linux)\r\n### Logs\r\n#### Web server error log\r\nAllowed memory size of 2147483648 bytes exhausted (tried to allocate 72 bytes) at /var/www/owncloud/apps/files_sharing/lib/share/folder.php#41\r\n\r\n#### ownCloud log (data/owncloud.log)\r\n```\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: mimetype at \\/var\\/www\\/owncloud\\/lib\\/private\\/files\\/fileinfo.php#97\",\"level\":3,\"time\":\"2014-08-22T07:59:30+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: fileid at \\/var\\/www\\/owncloud\\/lib\\/private\\/files\\/fileinfo.php#90\",\"level\":3,\"time\":\"2014-08-22T07:59:30+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: mimetype at \\/var\\/www\\/owncloud\\/lib\\/private\\/files\\/fileinfo.php#97\",\"level\":3,\"time\":\"2014-08-22T07:59:50+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: fileid at \\/var\\/www\\/owncloud\\/lib\\/private\\/files\\/fileinfo.php#90\",\"level\":3,\"time\":\"2014-08-22T07:59:50+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Allowed memory size of 2147483648 bytes exhausted (tried to allocate 72 bytes) at \\/var\\/www\\/owncloud\\/apps\\/files_sharing\\/lib\\/share\\/folder.php#41\",\"level\":3,\"time\":\"2014-08-22T08:01:07+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Allowed memory size of 2147483648 bytes exhausted (tried to allocate 72 bytes) at \\/var\\/www\\/owncloud\\/apps\\/files_sharing\\/lib\\/share\\/folder.php#41\",\"level\":3,\"time\":\"2014-08-22T08:28:59+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Allowed memory size of 2147483648 bytes exhausted (tried to allocate 72 bytes) at \\/var\\/www\\/owncloud\\/3rdparty\\/doctrine\\/dbal\\/lib\\/Doctrine\\/DBAL\\/Statement.php#216\",\"level\":3,\"time\":\"2014-08-22T08:30:41+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: ocsid at \\/var\\/www\\/owncloud\\/lib\\/private\\/app.php#835\",\"level\":3,\"time\":\"2014-08-22T08:32:59+00:00\"}\r\n{\"app\":\"PHP\",\"message\":\"Undefined index: ocsid at \\/var\\/www\\/owncloud\\/lib\\/private\\/app.php#835\",\"level\":3,\"time\":\"2014-08-22T08:33:10+00:00\"}\r\n```\r\n\r\n#### Browser log\r\n```\r\nNetworkError: 500 Internal Server Error - https://cloud.domain.nl:5000/index.php/core/ajax/share.php?fetch=getItem&itemType=folder&itemSource=22649&checkReshare=true&checkShares=true\r\n```\r\n```\r\nTypeError: data.reshare is undefined\r\n...(data !== false && data.reshare !== false && data.reshare.uid_owner !== undefine...\r\n```\r\n### Extra info\r\nWe already tried to re-index manually, but it gives timeout. We changed the php_timeout and now it did it full run but no result.\r\nWe also rebooted and tried with normal HTTP instead of HTTPS.\r\n\r\nEdit by PVince81: added triple backquotes to logs for better readability"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/75129662","html_url":"https://github.com/owncloud/core/issues/10588#issuecomment-75129662","issue_url":"https://api.github.com/repos/owncloud/core/issues/10588","id":75129662,"user":{"login":"coh7eiqu8thaBu","id":5601674,"avatar_url":"https://avatars.githubusercontent.com/u/5601674?v=3","gravatar_id":"","url":"https://api.github.com/users/coh7eiqu8thaBu","html_url":"https://github.com/coh7eiqu8thaBu","followers_url":"https://api.github.com/users/coh7eiqu8thaBu/followers","following_url":"https://api.github.com/users/coh7eiqu8thaBu/following{/other_user}","gists_url":"https://api.github.com/users/coh7eiqu8thaBu/gists{/gist_id}","starred_url":"https://api.github.com/users/coh7eiqu8thaBu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coh7eiqu8thaBu/subscriptions","organizations_url":"https://api.github.com/users/coh7eiqu8thaBu/orgs","repos_url":"https://api.github.com/users/coh7eiqu8thaBu/repos","events_url":"https://api.github.com/users/coh7eiqu8thaBu/events{/privacy}","received_events_url":"https://api.github.com/users/coh7eiqu8thaBu/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T20:29:46Z","updated_at":"2015-02-19T20:29:46Z","body":"got the same bug.\r\n```\r\n$OC_Version = array(7,0,4,2);\r\n$OC_VersionString = '7.0.4';\r\n$OC_Build = '2014-12-08T18:35:45+00:00';\r\n```\r\n```\r\nApache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.6 OpenSSL/1.0.1f\r\n```\r\n```\r\n[Thu Feb 19 21:01:49.034700 2015] [:error] [pid 7658] [client 2a01:e35:ZZZZ:AAAA:BBBB:0000:XXXX:YYYY:XXXX] PHP Fatal error:  Call to undefined method OC_Share_Backend_Folder::getParents() in /var/www/owncloud/lib/private/share/share.php\r\non line 1580, referer: https://www.XXXX.com/owncloud/index.php/apps/files?dir=%2FDocuments\r\n```"}}