close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Basic error uploading images

Thread begun 5/11/2010 2:05 am by ffiguerola395137 | Last modified 5/24/2010 11:49 pm by ffiguerola395137 | 2906 views | 6 replies |

ffiguerola395137

Basic error uploading images

After following your instructions (Geting started with Digital File Pro 2) I'v had this error always when I try to upload a file.

"The requested document was not found on this server. "

¿Can someone explain what happens?
Thanks

I have the following php code in my php page:

<?php require_once("../WA_DigitalFilePro/HelperPHP.php"); ?>
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../images/",
'FileName' => "".((isset($_FILES["Uploadfile"]))?"Uploadfile":"") ."",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["submit"])){
WA_DFP_UploadFiles("WA_UploadResult1", "Uploadfile", "0", "", "false", $WA_UploadResult1_Params);
}
?>
<?php require_once('../Connections/fundacion.php'); ?>

Sign in to reply to this post

Jason ByrnesWebAssist

change:
'FileName' => "".((isset($_FILES["Uploadfile"]))?"Uploadfile":"") ."",


to:
'FileName' => "[FileName]",

Sign in to reply to this post

ffiguerola395137

Originally Said By: Jason Byrnes
  change:
'FileName' => "".((isset($_FILES["Uploadfile"]))?"Uploadfile":"") ."",


to:
'FileName' => "[FileName]",  




************** DONE **********
******* SAME ERROR APPEARS ****

Not Found
The requested document was not found on this server.
Web Server at fondoaliciapueyo.org

Sign in to reply to this post

Jason ByrnesWebAssist

please post a copy of the php page in a zip archive so I can examine the entire page, also provide a link.

Sign in to reply to this post

ffiguerola395137

documents you asked for

The address of the page is :

Gestfiles.php

Sign in to reply to this post

Jason ByrnesWebAssist

the problem is caused by the form tag.

change:
<form action="submit" enctype="multipart/form-data" name="form1" class="form1">



to:
<form action="" enctype="multipart/form-data" name="form1" class="form1" method="post" >

Sign in to reply to this post

ffiguerola395137

Thanks

Thank you very much. The problem is solved.

I think the form's (the tag) code should be defined or helped by the utility of Webassist. It's only a suggestion.

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