Topic RSS
10:19 pm
WordPress 2.0.10 set up IIS6 and PHP 4.4.6 on W2K3. I originally couldn't get the CForms adminstration page up on PHP5 – so I went down to PHP4 – thats when I saw the solution in the FAQ's to change a line of code in the the cforms.php, cforms-database.php, etc. to $plugindir = "contactforms";
I didn't see any instructions to put my own sitename in the same files but it made logical since to replace 'sitename' with my http://www.mysite.com then the CForms Administration page showed up – Finally. I was extremely happy to see that come up.
***NOW***
I can now go to the main WP page and register and a response states that the server sent me my password in an email. However no password is received, I do a netstat -n on the server and do not even see any IP Traffic showing it tried to resolve any MX records (no traffic to its primary DNS server).
I already tried:
(~line 425, cforms.php)
$value = mb_convert_encoding(utf8_decode($params ['field_' . $i]), get_option('blog_charset'));
replaced per http://www.deliciousdays.com/cforms-forum?forum=3&…..amp;page=1 with:
$value = $params ['field_' . $i];
To get email functionality to work do I need to further edit any of the cforms *.php files??? Do I need to replace 'Server_Name" with my actual server name (or did they make this a variable to retrieve the server name off the WordPress Host automatically?) How do I get email to work?
I do see the section "Email is not being sent or WP stalls!? " under the FAQ – but there is no text associated with that topic, the next
Thanks,
11:10 pm
OK – now I'm thinking that email in WordPress is not set up correctly?!?
I tried to follow the instructions at http://codex.wordpress.org/Blog_by_Email but still not having any luck. Ths is all new to me so I'm guessing I'm just getting my teeth cut alittle the first time.
8:03 am
March 6, 2005
OfflineMark,
The inital mb_convert_encoding issues and $plugindir = "contactforms"; should actually be fully resolved with v4.0, you should not have had to make any manual adjustments in those areas.
To see if you have a general email issue, first thing would be to force WP send you an email, e.g. when a new comment is made, a new subscriber registers with your blog etc. If all those WP admin emails make it, then we need to take a look at why cforms doesn't send any emails.
You can also test with or w/o Ajax turned on for a given form and if you're using Firefox, take a look at the Javascript Error Console.
Can you post a URL to look at?
7:48 pm
Hi, is there any way of using smtp mail server instead, for example Plugin: wpPHPMailer?
Thanks for help :)
9:49 pm
March 6, 2005
OfflineIf I'm not mistaken, wpPHPMailer replaces the wp_mail command, while being fully compliant, isn't it? Yes, there should be no reason for cforms to not work with wpPHPMailer.
11:22 pm
Oliver, thanks for your quick reply.
I am more confident with ASP./NET then with PHP however I have found a solution. I had to edit manually cforms.php where I replaced @mail( string with @wp_mail(. Now I get emails from web forms.
But another task has popped up. Specific Central European characters are not displayed correctly. I am going to research further
BTW my form is at http://www-webhosting.cz/kontakt/.
11:31 pm
March 6, 2005
OfflineSince you're blog runs on UTF-8 there shouldn't be any issues with special characters at all. I've been seeing quite a few deployments in Central and Eastern European contexts.
When (before, during or after form submission) and what characters are not being displayed correctly?
Does it make a difference, if you disable the Ajax support per form?
1:09 pm
Admin pages work alright. With ajax enabled the characters in success/failure message were corrupted. After disabling ajax it went ok.
Now the only issue is when I get email with strange characters. Isn't it connected to using of wpPHPmailer instead of default mail function?
1:17 pm
March 6, 2005
OfflineDo you not get the strange characters in email when using the defulat @mail command?
It really should matter whether you run @mail or @wp_mail, what does the email header say? UTF-8? Or could it be that wp_mail hard codes it to something else?
And while I'm glad the form works when Ajax is disabled, it still should work when enabled. The current error msg is:
Prosím vyplňte všechna požadovaná pole.
What did it look like with Ajax enabled?
2:24 pm
I do not get any email when using @mail command.
Good idea to check the email header:
Content-Type: text/plain; charset="iso-8859-1"
So here we are. It could be the reason. I will take a look at the wp_mail code to find out more.
Regarding Ajax, I tried to enable it but no email has arrived however the response message like "Prosím vyplňte všechna požadovaná pole" (=fill in all the reqired fields) was ok.
Most Users Ever Online: 959
Currently Online:
71 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: 3548
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5157
Posts: 18385
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote










