close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Images do not upload

Thread began 12/07/2009 2:51 pm by randall390915 | Last modified 12/10/2009 2:12 pm by randall390915 | 2752 views | 8 replies |

randall390915

Images do not upload

My form does not upload images, nor the image names to my database. It was working fine on my local server and when I went to go live, it no longer uploads anything. I dont get any error messages there is just nothing. I have uploaded my file.

Attached Files
addPet.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

To troubleshoot the problem, temporarily remove the insert record server behavior from the page so that you only have the upload server behavior applied. Then On the bindings tab, expand the WA Upload File Global Status group and drag the debug info binding to your page. post back the debug info that is displayed after you try uploading an image.

Sign in to reply to this post

randall390915

OK. here is what I get when I take out the insert recordset info. It seems there is an issue with permissions. I am using go daddy for hosting and for some reason I am not allowed to change the permissions of files only folders.

here is the error:

Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: mkdir() [function.mkdir]: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: move_uploaded_file(\images\petsLarge\c6523e1fbc3d263c8d57c10214b1f63c_tmp.png) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 96

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Temp\php\phpE73C.tmp' to '\images\petsLarge\c6523e1fbc3d263c8d57c10214b1f63c_tmp.png' in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 96

Warning: copy(\images\petsLarge\c6523e1fbc3d263c8d57c10214b1f63c_tmp.png) [function.copy]: failed to open stream: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 98

Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: mkdir() [function.mkdir]: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: copy(\images\petsLarge\c6523e1fbc3d263c8d57c10214b1f63c_tmp.png) [function.copy]: failed to open stream: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 98

and here is the debug info:

Status object: WA_UploadResult1
statusCode : -1
errorMessage :
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
WA_UploadResult1_2:
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileSize : -1
imageWidth : -1
imageHeight : -1

Sign in to reply to this post

Jason ByrnesWebAssist

The error is saying that the images/petsLarge/ and images/petsThumb/ directories do not exist on the host, and the permission level is not allowing the script to create those directories.

Make sure that the upload folders have been created on the server, also make sure that they are given Read and Write permission for all users.

Sign in to reply to this post

randall390915

I am hosting at go daddy and they are saying that I need to write a php.ini file to change the permissions (a total pain in the ass). I don't know how to do this. Do you know of one I can use as a basic one to customize?

Sign in to reply to this post

Jason ByrnesWebAssist

you should not need to change permissions through a PHP.ini file.




the error you are reporting:
Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPH P.php on line 30


is saying that the permissions are not sufficient to make the upload director. DFP will only try to create the upload directory if it does not already exist.

If you create the upload directory on the server before trying to upload the images, you will not get this error. Please make sure the upload directories are created on the server before you try uploading images.

Sign in to reply to this post

randall390915

the folders are in the directories stated and are set to read and write. I am at a loss. Your other products seem to work smooth but this product I have problems with a lot.

this is getting frustrating.

Sign in to reply to this post

Jason ByrnesWebAssist

are you still getting the same errors? Or different ones?


Please post back the currant errors you the when trying to upload.

Sign in to reply to this post

randall390915

here are the error messages:
Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: mkdir() [function.mkdir]: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: move_uploaded_file(\images\petsLarge\11df0513f15d601cbefb6a72695552c9_tmp.png) [function.move-uploaded-file]: failed to open stream: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 96

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Temp\php\phpA10D.tmp' to '\images\petsLarge\11df0513f15d601cbefb6a72695552c9_tmp.png' in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 96

Warning: copy(\images\petsLarge\11df0513f15d601cbefb6a72695552c9_tmp.png) [function.copy]: failed to open stream: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 98

Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: mkdir() [function.mkdir]: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 30

Warning: copy(\images\petsLarge\11df0513f15d601cbefb6a72695552c9_tmp.png) [function.copy]: failed to open stream: No such file or directory in D:\Hosting\5320810\html\WA_DigitalFilePro\HelperPHP.php on line 98

and the general info:

Status object: WA_UploadResult1
statusCode : -1
errorMessage :
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
WA_UploadResult1_2:
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileSize : -1
imageWidth : -1
imageHeight : -1

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