close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Prior Version error after updating to DFP 2.04

Thread began 12/04/2011 8:19 pm by eric284736 | Last modified 5/14/2012 4:32 pm by eric284736 | 1044 views | 7 replies

sandy170299

Jason, I'm having the same problem, except that I'm also getting additional code errors. I DID delete and reinstall everything, according to the instructions, but I am still getting errors.

This is my code on the insert page:

<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../p7lsm_img_1/fullsize/",
'FileName' => "".$WA_DFP_UploadStatus["WA_UploadResult1"]["serverFileName"] ."",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "600",
'ResizeHeight' => "",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 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' => "../p7lsm_img_1/thumbs/",
'FileName' => "".$WA_DFP_UploadStatus["WA_UploadResult2"]["serverFileName"] ."",
'DefaultFileName' => "",
'ResizeType' => "3",
'ResizeWidth' => "120",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult2_1 End
// WA_UploadResult2 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Insert_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "picFile", "0", "", "true", $WA_UploadResult1_Params);
}?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
if(isset($_POST["Insert_x"])){
WA_DFP_UploadFiles("WA_UploadResult2", "thumb", "0", "", "true", $WA_UploadResult2_Params);
}
?>

These are the errors I'm receiving:
Notice: Undefined index: WA_UploadResult1 in C:\xampp\htdocs\wmapartments\admin\slideshowpics_Insert.php on line 63

Notice: Undefined index: WA_UploadResult2 in C:\xampp\htdocs\wmapartments\admin\slideshowpics_Insert.php on line 77

It's only local right now, so you can't browse it on a server anywhere. Thank you.

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