{"action":"created","issue":{"url":"https://api.github.com/repos/jmcameron/attachments/issues/4","labels_url":"https://api.github.com/repos/jmcameron/attachments/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jmcameron/attachments/issues/4/comments","events_url":"https://api.github.com/repos/jmcameron/attachments/issues/4/events","html_url":"https://github.com/jmcameron/attachments/issues/4","id":108504730,"number":4,"title":"Attachments problems after Joomla updated to 3.4.4","user":{"login":"Klipper","id":3924467,"avatar_url":"https://avatars.githubusercontent.com/u/3924467?v=3","gravatar_id":"","url":"https://api.github.com/users/Klipper","html_url":"https://github.com/Klipper","followers_url":"https://api.github.com/users/Klipper/followers","following_url":"https://api.github.com/users/Klipper/following{/other_user}","gists_url":"https://api.github.com/users/Klipper/gists{/gist_id}","starred_url":"https://api.github.com/users/Klipper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Klipper/subscriptions","organizations_url":"https://api.github.com/users/Klipper/orgs","repos_url":"https://api.github.com/users/Klipper/repos","events_url":"https://api.github.com/users/Klipper/events{/privacy}","received_events_url":"https://api.github.com/users/Klipper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-27T00:31:57Z","updated_at":"2015-09-27T15:13:58Z","closed_at":null,"body":"Hi,\r\nSince the update of Joomla 3.4.4 we have problems with attachments extension.\r\n\r\n1.) Adding a new attachment fails from within the article editor screen (button below JCE). The button is present. Pushing the button shows the 'add attachments form', in which you can enter all properties and file to upload. Pushing the upload button, closes the page in the modal box, but no attachment appears below the article. When I look within the directory structure: after pushing the upload button, a directory with the name of the articleID has been created, but no uploaded files is in the directory (except the index.html).\r\nSo something goes wrong with uploading of the attachment from within the article editor. Same problem when trying to upload from the category editor. Directory gets created, but no uploaded files in the directory.\r\nThe only way I manage to add attachments to articles or categories is by opening the attachments componentscreen and choose the new button. Pushing the uploadbutton in the presented upload-form finally add the attachment to the chosen article or category.\r\n\r\n2.) It seems there is a new safety feature within Joomla 3.4 which test uploaded files for malicious code. It test if the string '<?php' is within the file. When it's present the upload get canceled for security reasons. But the problem we have now that we cannot upload extensions as attachments anymore. Like a module or a plugin. Zips are extracted and the files are searched through and of course there are php files in an extensions .zip. I think we need a setting in attachments to overrule this security check. At least for administrators and super users from the backend.\r\n\r\n3.) When I load an article in my browser containing one or more attachments a piece of Jquery script is added to the head of the page:\r\n\t\tjQuery(function($) {\r\n\t\t\tSqueezeBox.initialize({});\r\n\t\t\tSqueezeBox.assign($('a.modal-button').get(), {\r\n\t\t\t\tparse: 'rel'\r\n\t\t\t});\r\n\t\t});\r\n\t\tfunction jModalClose() {\r\n\t\t\tSqueezeBox.close();\r\n\t\t}\r\n\r\nFirebug reports an error:\r\nReferenceError: SqueezeBox is not defined\r\n    SqueezeBox.initialize({});\r\n\r\nHope you can fix these issues,\r\nRegards,\r\nKlipper"},"comment":{"url":"https://api.github.com/repos/jmcameron/attachments/issues/comments/143566984","html_url":"https://github.com/jmcameron/attachments/issues/4#issuecomment-143566984","issue_url":"https://api.github.com/repos/jmcameron/attachments/issues/4","id":143566984,"user":{"login":"jmcameron","id":62145,"avatar_url":"https://avatars.githubusercontent.com/u/62145?v=3","gravatar_id":"","url":"https://api.github.com/users/jmcameron","html_url":"https://github.com/jmcameron","followers_url":"https://api.github.com/users/jmcameron/followers","following_url":"https://api.github.com/users/jmcameron/following{/other_user}","gists_url":"https://api.github.com/users/jmcameron/gists{/gist_id}","starred_url":"https://api.github.com/users/jmcameron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmcameron/subscriptions","organizations_url":"https://api.github.com/users/jmcameron/orgs","repos_url":"https://api.github.com/users/jmcameron/repos","events_url":"https://api.github.com/users/jmcameron/events{/privacy}","received_events_url":"https://api.github.com/users/jmcameron/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T15:13:58Z","updated_at":"2015-09-27T15:13:58Z","body":"Ok, I'll take a look.  My time for this is limited,so please be patient.\n\n-Jonathan\n\nOn Sun, Sep 27, 2015 at 7:42 AM, Klipper <notifications@github.com> wrote:\n\n> Unfortunately issue 2 and 3 I reported are not fixed with the install of\n> attachments-3.2.4-Beta4.zip. Also Issue 1 is still present on our online\n> website.\n> I tested the 3.2.3 version and after that the 3.2.4beta on my localhost\n> Xampp box (php 5.4.22) and on our online website, hosted at Siteground (php\n> 5.6.12).\n>\n> There was one new thing I discovered. The first issue only exist on our\n> online site at Siteground. Adding new attachments from the article editor\n> succeeded on my localhost version (= fresh backup from the online version)\n> with Atachments 3.2.3 and also with the 3.2.4beta. Then I tested if\n> lowering the php version at Siteground would solve the first issue. I\n> changed the php version of the online site from 5.6.12 to 5.4.44. Allas,\n> this php version change did not solve the first issue.\n>\n> So finally none of the issues online are solved. :-(\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/jmcameron/attachments/issues/4#issuecomment-143563521>\n> .\n>\n"}}