close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Prior Version error after updating to DFP 2.04

Thread began 12/04/2011 5:19 pm by eric284736 | Last modified 5/14/2012 1:32 pm by sandy170299 | 2258 views | 7 replies |

eric284736

Prior Version error after updating to DFP 2.04

Hi,

I just upgraded to DFP 2.04 not realizing I already had the image functions in UE 4.

But when I added an upload to a DataAssist form I get the red exclaimation symbol and (prior version) in the Servers Behavior panel.

How do I remedy that?

thx
Eric

Sign in to reply to this post

Jason ByrnesWebAssist

Uninstall Universal Email and Digital File Pro from the extension manager, then re install Universal Email 4.

also delete the Dreamweaver Cache file from the users configuration folder:
common_installation_issues.pdf

after reinstalling UE4, you will need to edit the upload file behaviors that you added to update the code.

Sign in to reply to this post

eric284736

Thanks Jason!

Sign in to reply to this post

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.

Sign in to reply to this post

Jason ByrnesWebAssist

It looks like you have set the File Name to use the Server File Name variable, that wont work.


The Server File name variable is created after the image has been uploaded to the server. it is based on the File Name setting and the If File Exists on server settings.

Using the server file name variable for the file name setting is a chicken before the egg type of situation.


use the default "[FileName]" in the File Name setting of the upload behavior.

Sign in to reply to this post

sandy170299

Thanks, Jason. The only time I should use the 'server file name' reference is during updates and inserts. Is this correct?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is correct.

Sign in to reply to this post

sandy170299

Thank you!

Sign in to reply to this post

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