close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

File Upload Behavior Not Woking

Thread began 3/29/2013 8:50 am by salaroche | Last modified 3/29/2013 11:22 am by salaroche | 461 views | 2 replies |

salaroche

File Upload Behavior Not Woking

Hi:

It's been a few days since I started trying to solve this issue. I got in contact with my Hosting service and explained the problem to them and this is what they replied a few hours ago:

-thank you for your patience. I would like to let you know that according to our system administrators the ActivityTimeout in fastcgi configs for php 5.2.17 was increased from 90 to 300 and RequestTimeout from 60 to 200 seconds. After this 22Mb file was uploaded successfully-

But the upload page just failed again to upload a 4.5 MB audio file (Please note: The "Web images Only" button is NOT clicked in the Upload Wizard dialogue box)

Clarification: It's actually all of the data in the page that doesn't upload, not just the audio file.

Attached please find a copy of the page in question

Jason: If you wished to the see the problem live, please use the same Login parameters I posted in the previous ticket (thanks for your help on that one)

Sign in to reply to this post

Jason ByrnesWebAssist

at line 105 - 120, you have the following validation code:

php:
<?php 

if (isset($_POST["Insert_x"]))  {
  
$WAFV_Redirect "";
  
$_SESSION['WAVT_musicInsert_357_Errors'] = "";
  if (
$WAFV_Redirect == "")  {
    
$WAFV_Redirect $_SERVER["PHP_SELF"];
  }
  
$WAFV_Errors "";
  
$WAFV_Errors .= WAValidateRQ($WA_DFP_UploadStatus["WA_UploadResult1"]["WA_UploadResult1_1"]["serverFileName"] . "",true,2);

  if (
$WAFV_Errors != "")  {
    
PostResult($WAFV_Redirect,$WAFV_Errors,"musicInsert_357");
  }
}
?>



the is validating that the file has been uploaded by the upload file server behavior.

this is failing because the upload doesn't take place till line 176. Since no file is uploaded, the validation fails.

Sign in to reply to this post

salaroche

Jason:

OK. I deleted and reinserted de Server Validation and the whole page upload is now working fine. For whatever reason, the validation bahavior had been inserted twice.

Many thanks for your attention

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