The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
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