close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Multiple image upload

Thread began 10/31/2012 7:38 am by john70964 | Last modified 11/01/2012 10:14 am by john70964 | 2151 views | 7 replies

Jason ByrnesWebAssist

to help troubleshoot the problem, well need to make a few changes to the page to get some aditional information.

1) add the following code at line 1 to turn on error reporting:

php:
<?php
error_reporting
(E_ALL);
ini_set('display_errrors','on');
?>



2) remove the redirect URL. Change:

php:
$WA_redirectURL = "thankyou.php";



to:

php:
$WA_redirectURL = "";



3) Echo the insert SQL.

change the following code:

php:
$WA_Sql = "INSERT INTO `" . $WA_table . "` (" . $insertParamsObj->WA_tableValues . ") VALUES (" . $insertParamsObj->WA_dbValues . ")";
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());



to:

php:
$WA_Sql = "INSERT INTO `" . $WA_table . "` (" . $insertParamsObj->WA_tableValues . ") VALUES (" . $insertParamsObj->WA_dbValues . ")";
echo("SQL: ".$WA_Sql."<br />");
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());



4) output the files array to the page.

add the following code just before the </body> tag:

php:
<?php var_dump($_FILES); ?>



5) Add the debug info bindings. Go to the bindings panel and expand the WA Uploaded Files binding Global Status binding group and drag the debug info binding to the page.

this will add a bunch of information to the page after testing it again, post this information back please.

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...