The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Export Manager File Generation - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: Export Manager File Generation (/showthread.php?tid=1563) Pages:
1
2
|
RE: Export Manager File Generation - Ben - Aug 29th, 2011 Okay, let's try this one more time. Download 2.0.7 and give that a go. http://modules.formtools.org/export_manager/download.php Note: I had to make a small change to some javascript. I doctored the link to it to prevent caching, but it doesn't work on all browsers. To be safe, do a hard-refresh on the Submission Listing page to reload all the resources. Let me know how it goes! - Ben RE: Export Manager File Generation - tosuch - Aug 29th, 2011 Ben, Installed 2.0.7 and just ran the test as before and all is working well. Yeah! Correct files are being written both from single export types and grouped. Files are being written with 777 permission. Used FireFox 6.0 in this case. So looks like a good bug caught. I will not be able to reinstate my previous code into the Export Manager templates and do more browser testing until about the same time tomorrow - its late here - but will feedback results - I am sure they will all be positive. Thanks for the prompt attention to the problem. Sure you have loads of fish to fry. Ted RE: Export Manager File Generation - tosuch - Aug 30th, 2011 Ben, Put my Export manager code back and all of the files are being generated correctly whether single export types or multiple within a group. But, but, but but - the files I am generating are php files and once generated when I click on the "click here to view file link" I get a server error: ""The server encountered an internal error or misconfiguration and was unable to complete your request."" Anyway after a bit of research it seems that the new 777 setting that Export Manager is applyiing to the files does not allow the php file to be run on the server. If I manually go in and change the permissions to 755 all works well. Would be interetsted to know what your thoughts on this are and if there would be be any way to get around it - reseting the Export Manager to 755 (?). You're the man! And yes, I wish I wasn't writing this post... Ted RE: Export Manager File Generation - tosuch - Aug 30th, 2011 Ben, Ok I found where the permisions are set within the Export Manager. Have changed them (755) and all is well. If the current released version is working OK I am happy to look after my permissions requirement so there is no need to make a change to the module re the previous post unless you feel it benefits the mass audience. That's all. Thanks for your work. Ted RE: Export Manager File Generation - Ben - Sep 8th, 2011 Hi Ted, Sorry for not getting back to you sooner on this. Very strange that 777 isn't letting the PHP be run! That's the first time I've ever heard of that occurring - very strange indeed. Not sure if I mentioned it, but *not* setting files as 777 caused other problems with the Form Tools Core, way back in an early version of the 2.0.0 beta. So I'd updated it to set all uploaded files to 777. This has changed since, however. Hmm.. it would be nice to make this a configurable setting. Let me give this a little thought. I may just add it as an "advanced" setting to the module. - Ben RE: Export Manager File Generation - Sreejith - Nov 19th, 2014 RE: Export Manager File Generation Ben, as the topic is linked with export manger let me clarify my doubt which i encounterd, i been looking to generate a report in the form of pdf file. But it results in the 'File can not be opend or Corrupted' message when i open it. I am new to the form tools and smrty. Can you help me just to put a static 'hello world' pdf to be generated on all reports. |