close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Upload not working

Thread began 9/15/2010 8:57 am by nickj | Last modified 9/15/2010 5:19 pm by Jason Byrnes | 2950 views | 12 replies |

nickj

Upload not working

I've built this page five times and still can't get the file upload(s) to work at all. Please look this over and advise.
I' m on a tight deadline and would appreciate help.

I can give you a login to the site offline.

Nick

see attached

Attached Files
Nick.zip
Sign in to reply to this post

Jason ByrnesWebAssist

to trouble shoot, find this line:

php:
$WA_redirectURL = "Mem_Detail.php?id=".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"")  ."";



and change it to :

php:
//$WA_redirectURL = "Mem_Detail.php?id=".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"")  ."";

$WA_redirectURL = "";





then add this code at line 1:

php:
<?php 

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>




and this code after the body tag:

php:
<?php if($_SERVER["REQUEST_METHOD"] == "POST") echo WA_DFP_AllUploadsDebug(); ?>




and post back the results after trying to test the uplaod.

Sign in to reply to this post

nickj

Here is what I get when the page loads.

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /services2/webpages/b/r/breastsurgeons.org/public/admin/Membership/Mem_UpdateA.php:5) in /services2/webpages/b/r/breastsurgeons.org/public/webassist/file_manipulation/helperphp.php on line 70

Sign in to reply to this post

nickj

Note: I did set the recordset filter to POST, which works, because the security of putting the userid in the url is not a good idea.

Sign in to reply to this post

Jason ByrnesWebAssist

most likely you have a blank space at the end of line 4 causing that error.


"?> "


make sure there is no blank space after the closing php tag.

Sign in to reply to this post

nickj

Missed the last bit of code, this is what was producted.
Status object: WA_UploadResult1
statusCode : 0
errorMessage : No file uploaded
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed :
fileSize : -1
isImage :
imageWidth : -1
imageHeight : -1
WA_UploadResult1_1:
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileSize : -1
imageWidth : -1
imageHeight : -1
statusCode : 0
errorMessage : No file uploaded
Status object: WA_UploadResult2
statusCode : -1
errorMessage :
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed :
fileSize : -1
isImage :
imageWidth : -1
imageHeight : -1
WA_UploadResult2_1:
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileSize : -1
imageWidth : -1
imageHeight : -1
Update Record A

If the problem is corrupted files, which should be replace and what is the best way to do it?

Sign in to reply to this post

nickj

It looks like the file upload is failing?

Sign in to reply to this post

nickj

In this version, which is one of the previous ones I get an unusual message at the top, highlight to view!

This is the page formatted the way we need it but I know there are some java-script problems with the datepicker.
users_Update2a.php?id=2443036

Nick

Sign in to reply to this post

nickj

to view file fields click on a membership category

Sign in to reply to this post

nickj

I would like to purchase support on this issue. Open a ticket and we can work out the details.

Nick

Sign in to reply to this post
loading

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