The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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 array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
File Deletion (Windows Environment) - 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: File Deletion (Windows Environment) (/showthread.php?tid=1473)



File Deletion (Windows Environment) - Hannes - Jul 23rd, 2011

Hi Ben,

I am using different file settings in the forms than set as default.
Uploading and viewing files is working fine but when it comes to delete it is showing:
Code:
XError: Invalid JSON:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\mf\apps\xampplite\htdocs\formtools\global\code\fields.php on line 750
{ "success": "0", "message": "The file has not been deleted because it doesn't exist at the location expected. Click here to ignore this error message and just remove the reference from the database.(C:mfappsxamppliteformtoolsupload/sample.jpg)" , "target_message_id": "file_field_11_message_id", "field_id": "11" }
whereby "C:mfappsxamppliteformtoolsupload" is the default path without "\".

Best regards,
Hannes.
...as I already mentioned in my email, this message
Code:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\mf\apps\xampplite\htdocs\formtools\global\code\fields.php on line 750
...is alway appearing when viewing/editing a submission.


RE: File Deletion (Windows Environment) - Ben - Jul 23rd, 2011

Hi Hannes!

Sorry I haven't replied to your email yet - I'll reply today. Smile

And thanks for letting me know about this. I'll check it out, too. Possibly not today... I have to release a new module & do a bunch of other stuff. But I'll keep you posted!

- Ben