Timeline for How to get the file ID using managed_file on custom form?
Current License: CC BY-SA 4.0
19 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 30 at 19:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 23 at 17:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 13 at 7:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 13, 2023 at 2:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 15, 2023 at 20:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 14, 2023 at 6:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 12, 2022 at 8:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 14, 2022 at 0:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 11, 2022 at 8:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 9, 2021 at 7:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 9, 2021 at 21:05 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 27, 2021 at 14:55 | answer | added | Simon Vart | timeline score: 0 | |
Jul 13, 2019 at 3:38 | comment | added | Micah | @Jaypan I can do that, but I'm not even able to get an fid or $file object in order to be able to set the first parameter. Also, just uploaded everything to a dev server and got the same issue. PHP 7.2 and 7.1 does same behavior. | |
Jul 13, 2019 at 3:28 | comment | added | Jaypan | You need to call fille_usage_add() I think | |
Jul 13, 2019 at 3:17 | comment | added | Micah | @sonfd Yes, actually the file gets uploaded successfullly to the directory that I specify and I can see it as a temp file at /admin/content/files. But it just says used in 0 places. | |
Jul 13, 2019 at 3:15 | comment | added | Micah | @Jaypan Thanks for looking. Nothing shows up in the logs. I have dblog enabled and it is empty. Nothing in apache/php/mysql logs either. I'm using a local MAMP server so I may try to upload to a "real" server and see if that makes a difference. | |
Jul 12, 2019 at 23:56 | comment | added | sonfd | does the directory exist and is writable? do you see any errors in your logs? | |
Jul 12, 2019 at 21:44 | comment | added | Jaypan | Your code looks correct. There is nothing wrong with it that I can see, and this is an area I've worked with a fair bit. This may indicate a deeper problem in your system. Try checking your logs and seeing if anything strange is popping up when you submit your form. This may give you a clue where to work backwards from. | |
Jul 12, 2019 at 20:56 | history | asked | Micah | CC BY-SA 4.0 |