close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

mkdir() Issue with Form Upload

Thread began 2/08/2012 10:36 pm by jyotimarshall435194 | Last modified 2/10/2012 9:16 am by Jason Byrnes | 2070 views | 6 replies |

jyotimarshall435194

mkdir() Issue with Form Upload

Hello!

I am having a hard time figuring out what is wrong with the form I just created using Form Builder. I built a simple form with file upload and added to a blank PHP page. Filled everything out (like when it asks where to save files) but when I test it online, get a list of errors:

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\bsq\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: No such file or directory in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 30

Warning: mkdir() [function.mkdir]: Invalid argument in D:\Hosting\2431357\html\bsq\webassist\file_manipulation\helperphp.php on line 30

Warning: move_uploaded_file(D:\Hosting\2431357\html\b) [function.move-uploaded-file]: failed to open stream: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 96

Warning: copy(D:\Hosting\2431357\html\53a2f69c8109264a5928f919260d706c_tmp.JPG) [function.copy]: failed to open stream: Invalid argument in D:\Hosting\2431357\html\webassist\file_manipulation\helperphp.php on line 98

Warning: require(Blank_3.php) [function.require]: failed to open stream: No such file or directory in D:\Hosting\2431357\html\webassist\email\mailformatting_php.php on line 142

Fatal error: require() [function.require]: Failed opening required 'Blank_3.php' (include_path='.;C:\php5\pear') in D:\Hosting\2431357\html\webassist\email\mailformatting_php.php on line 142

I can't seem to figure out what is wrong.

Thanks ahead of time.

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of your page please in a zip archive so I can inspect the code.

Sign in to reply to this post

jyotimarshall435194

Files

The index.php is the main file but I attatched the file_manipulation folder as well since it appears that there is something wrong with the helperphp.php file.

Thanks

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

Jason ByrnesWebAssist

the problem is the upload folder setting.

at line 28:

php:
'UploadFolder' => "file:///C|/Users/Yohan/Documents/Websites/Testing/",



this should not use a file system path, it should be a document relative path:

php:
'UploadFolder' => "Testing/",
Sign in to reply to this post

jyotimarshall435194

Ok thanks i will try that...the funny thing is that I used the Form Builder extension to select a folder...

Sign in to reply to this post

jyotimarshall435194

Error

Thanks so much! That worked.
However, I have run into another problem now...In the upload options menu when I try to check the box for "Web images only," an error message pops up. Maybe I need to reinstall extension? I am not sure.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

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