The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Need help with formtools on Windows server - deadline looms large - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Need help with formtools on Windows server - deadline looms large (/showthread.php?tid=858) Pages:
1
2
|
RE: Need help with formtools on Windows server - deadline looms large - johnbleck2 - Apr 26th, 2013 Joe, Well, I've got a new wrinkle. 2 things: the uploads are getting to the upload folder - but - in the upload module I get the same permission error as before. I kinda ignored that since the files were actually uploading ... until I tried to edit and then delete the file through the form. No go. So two issues really 1) The upload module doesn't think files will upload to the directory (even though they do) 2) Can't delete files once on the review/edit page. From what I've read, with Php, uploads have to go to the "default" directory when using a windows server. From there you can move the files via php. That's fine, but the js either can't find the path or doesn't know it exists, or has the wrong path. the web page does error when I try to delete the file. I can't modify the upload module since it keeps telling me the folder is not read/write/permission errors. Can I change the path in the js or do you think that manual overwride would be overwritten at some point and start causing me issues again? Or is there something in the upload module I should be doing (which would probably be ideal) For the Upload manager: Upload folder path C:/inetpub/wwwroot/nextfolder/upload Am I using the wrong slashes? Do I need to go to the web root not the drive letter? ie: nextfolder/upload (which I have tried and get the same permission errors) or wwwroot/nextfolder/upload? John RE: Need help with formtools on Windows server - deadline looms large - Joe - Apr 29th, 2013 John, I believe Window folders are usually specified with a back slash: C:/inetpub/wwwroot/nextfolder/upload should be C:\inetpub\wwwroot\nextfolder\upload I would give that a try first. Cheers, Joe RE: Need help with formtools on Windows server - deadline looms large - johnbleck2 - Apr 29th, 2013 Joe, nope same problem. Permission errors according to the module. Copied it straight from Windows explorer to ensure syntax was exact. The "\" slash is an escape character for mysql... I tried \\ in place of "\" still same permission errors in the module. I changed the br_settings.file_upload_dir.setting_value to use the correct slashes (updated using two escape character slashes) and I still continue to have the permission errors. The javascript goes to that field to check for the file name and folder path correct? so in therory changing it in mySql should have worked. hmmm windows. erk. edit_submission.js does the deletion correct? of course \ is also an escape character in js. Using firebug, the error I am getting is "Type error: g.messages is undefined" so it will not show the popup window for confirmation probably due to the folder problem within the module. I'm not sure if one of the hooks need modification or if I can just change the js, but I'm not finding the folder path in the js. Any chance getting help finding where I can modify the js to override the folder path setting? Have you been dubbed for sainthood yet? Cause after helping me with this you probably should be. John |