Archived

This topic is now archived and is closed to further replies.

Configuring cforms plugin

4 posts in this topic

Posted · Report post

Hi i know cforms is a separate co. but i think its prob an easy fix, and cforms site did not have the solution i was looking for, so hopefully you can help. I cant get cforms to attach files when sending a message. It has to do with the setting the absolute path and relative path/url. Ive tried setting the path to cforms/attachments folder but not working.. can you tell me what I'm doing wrong and suggest the paths i should be filling in?? Here is the error messages im getting: Warning: move_uploaded_file(/14-Naghman_Chaudry_Resum.doc) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/username/public_html/mywebsite/wp-content/plugins/cforms/lib_aux.php on line 304 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpkkrX0V' to '/14-Naghman_Chaudry_Resum.doc' in /home/username/public_html/mywebsite/wp-content/plugins/cforms/lib_aux.php on line 304 ("username" and "mywebsite" are replacements)

Share this post


Link to post
Share on other sites

Posted · Report post

I'm gonna test this on my comp and get back to you.

Share this post


Link to post
Share on other sites

Posted · Report post

OK thanks

Share this post


Link to post
Share on other sites

Posted · Report post

A few things you can check: - does this path exist on your server? `//home/username/public_html/mywebsite/` - Do you have the file `/plugins/cform/abspath.php` And its content should be something like: `<?php $abspath = '/home/username/public_html/mywebsite/'; ?>` This should be the local path on the server up to the base of the WordPress installation (everything before `wp-content/`). - Check the permissions of the default upload dir `attachments` (777)

Share this post


Link to post
Share on other sites