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

Image upload not working

Thread began 4/06/2012 2:04 pm by turbo.sarajevo416658 | Last modified 4/09/2012 12:35 pm by turbo.sarajevo416658 | 1668 views | 11 replies

Jason ByrnesWebAssist

so in the files array:
array
'path' =>
array
'name' => string 'IMG_1114.jpg' (length=12)
'type' => string '' (length=0)
'tmp_name' => string '' (length=0)
'error' => int 1
'size' => int 0

it is showing the error:
'error' => int 1


with a value of 1

according to this page on the php site:
features.file-upload.errors.php


the error value of 1 means that it exceeds the upload_max_filesize

  UPLOAD_ERR_INI_SIZE
Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.  






if you look at the page i linked to before carefully:
wap_upload.asp?page=php2

it says the the upload_max_filesize should be set in bytes, but you are using:
upload_max_filesize = 100M

which is not correct. change that to;


upload_max_filesize = 104857600

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