close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Syntax Errors - MySQLi Insert Record + Upload Files - Page won't even load!

Thread began 2/03/2015 6:47 am by Nathon Jones Web Design | Last modified 2/11/2015 10:46 am by Nathon Jones Web Design | 4554 views | 24 replies

Nathon Jones Web Design

Server Validation Restrict Content
jQuery Styling
MySQLi Insert

These extensions don't work as they're supposed to and despite the issues having being raised and apparently "logged" no resolution arrives and we're left having to hand code workarounds every time we want to use them. It's slow going and isn't what we thought we'd paid for.

Regarding the original issue in this thread. The page is now going bananas and I just don't have the time to spend trying to figure out why the WebAssist extensions aren't working the way they're supposed to.

When we go back in to edit either of the File Upload behaviours, and then return to our page, they are showing as doubled up in our Bindings panel (see attached).

Here's the code though...

<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../property-for-sale/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "120",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1_2 Start
$WA_UploadResult1_Params["WA_UploadResult1_2"] = array(
'UploadFolder' => "../property-for-sale/thumbs/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "160",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_2 End
// WA_UploadResult1 Params End?>
<?php
// WA_UploadResult2 Params Start
$WA_UploadResult2_Params = array();
// WA_UploadResult2_1 Start
$WA_UploadResult2_Params["WA_UploadResult2_1"] = array(
'UploadFolder' => "../property-schedules/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult2_1 End
// WA_UploadResult2 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
if(isset($_POST["addpropBTN"]) || isset($_POST["addpropBTN_x"])){
WA_DFP_UploadFiles("WA_UploadResult2", "jbschedule", "2", "[NewFileName]_[Increment]", "false", $WA_UploadResult2_Params);
}
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["addpropBTN"]) || isset($_POST["addpropBTN_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "jbphoto", "2", "[NewFileName]_[Increment]", "true", $WA_UploadResult1_Params);
}
?>

When we attempt to test this form. None of the file names are being saved to database.

We also have a corresponding UPDATE form within this admin section and, surprise surprise, it's not doing what it's supposed to do either. No file names are being saved to database. Checking our server I can see that the files are being uploaded so what is the problem with the file names?

As well as getting that to work properly we'd like, for both forms, to know what the "Default file" option is for. We've tried the help page:
http://assets.webassist.com/html-help/261/digital_file_pro_upload_2.html

...but of course there is no mention of that so we aren't even able to help ourselves with this stuff. <sigh>
I thought 2015 was going to be better than last year but it's fast turning into more of the same.

Please can you resolve these bugs? They are slowing workflow and are causing nothing but resentment towards WebAssist with whom we've invested a significant amount of money.

Thank you
NJ

Attached Files
edit-property.php

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...