cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Upload directory problem
December 31, 2007
8:21 am
Ian
Guest

Please replace the ??? with your data!

  • Your URL: http://???
  • The browser used: ???
  • cforms version: ???
  • Your Wordpress version: ???

URL: http://www.wotdaily.com/upload/

Browser: Firefox 2.0.0.11

cforms version: 7.0

Wordpress: 2.3.1

 I am using a shared linux host service and have double checked the upload path with godaddy. I have also made sure the directory chmod is 777. I keep getting the error:

 "Can't find the specified Upload Directory ! Please verify that it exists!"

 I am out of ideas on how to solve this. Everything else is working perfectly. I would appreciate any advice that you can offer.

 

Thanks in advance!

 

 

December 31, 2007
10:28 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

When you run on an IIS (Windows) web server, the path naming format may have to be adjusted.

When you create a new form, what is the offered default path? Doesn't that one work?

Also, note that the actual directory path needs to be a local path, ie.

/server/home/users/xyz/…

 

January 1, 2008
9:40 pm
Nathan
Guest

I'm having the exact same issue with cforms v7, downloaded today.

 

I've set up multiple upload dirs both inside and outside the wp-content dir structure and no go.

 I've tried plowing through the source in cforms-options.php to see what the dir is and it seems that it's returning NULL?

 Thoughts?

January 1, 2008
10:21 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Nathan the PHP call file_exists() will return 0 in case it can't find the specified directory.

What do you mean by nogo? Do you get an error message when configuring the paths, or does cforms just not place the attachment in the specified dir?

January 1, 2008
10:31 pm
Ian
Guest

Oliver said:

When you create a new form, what is the offered default path? Doesn’t that one work?

Also, note that the actual directory path needs to be a local path, ie.

/server/home/users/xyz/…

 


I am on a linux server and the default path that cform selects is:

 /home/content/a/b/c/abcuser/html/wp-content/plugins/contactforms/attachments

I have confirmed with my hosting company that this path is correct and it is chmod 777 but I keep getting the directory not found error. 

January 2, 2008
6:00 am
Nathan
Guest

Oliver,

 Sorry about the "no go" comment. I just meant that things didn't appear to be working. After trying a few scenerios I've found something that works, however there is still an error message. Let me be specific.

 

I currently have the following values set in the "File Upload Settings" of a form.

Uploads Directory: "/home/myuser/mysite.com/blog/uploads" 

Uploads Directory URL: "http://www.mysite.com/blog/uploads" 

 

This works, i.e. I can upload to the "uploads" directory without any issues.  So, what is the issue then?  The following message appears in a blue box above the File Upload Settings 

"Can't find the specified Upload Directory ! Please verify that it exists!"

Any idea why everything works, but I have this error showing up in the config?

 

BTW, this is by far the most complete, well written plugin for wordpress I've ever had the pleasure to work with!

Nathan 

January 2, 2008
7:49 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Thanks for the kind feedback Nathan.

So the good news are that the actual upload works, yet an error message is being displayed on the admin page.

Could it have to do with directory permissions / ownership?

Any extra characters in the configured path (white space, tab)?

There is also another possibility I'll check into and will send you an updated file via email.

January 2, 2008
10:07 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Resolved. 

The error has been identified and the patch will go into v7.01 which I'll release as part of a mini maintenance release (also ensuring WP2.3.2 compatiblity) in the next couple of days or sooner.

January 2, 2008
6:44 pm
Ian
Guest

Thanks for the fast follow up Oliver. Great plugin!

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3750

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5349

Posts: 18720

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)