JQuery and ajax

Hey guys, i know this is partly a wordpress issue but i wanted to query it with you first.

I've set up my server on Debian 5.0 (everything in here and no less http://library.linode.com/lamp-guides/debian-5-lenny/) only thing i've added is XML support and CURL. I've also done an install of sendmail, which I think is badly broken but "works" (and fails to format emails correctly) but forgetting that, I always had a plugin on my website called contact form 7 which relies on ajax and jquery.

Basically you click the send button on here http://cardifftweetups.co.uk/?page_id=80 and the wheel spins. What should happen is a nice green, yellow or red box should magically emerge in to show up to the user whether the contact form went off successfully or not (a working example can be seen here (http://thelongmile.net/contact/) both of these are my sites so feel free to send crap information to test out and see it.

thelongmile.net, the one that works, is still on my old host, and cardifftweetups. my new site, is on the linode.

Have I missed installing something to get this working? is there something that needs to be enabled in Php.ini or apache2.conf to get this to work or is this a browser based thing?

the main reason i ask is that before the move, it worked, so I'm wondering if something went fubar or I've missed something….

also if anyone has a step by step dummies (and i do mean dummies) guide to getting sendmail to work properly and correctly or an alternative then please let me know as i've got a feeling it might be that sendmail Isnt reporting back to the query to say (mail sent)

If it's nothing of my fault i'll contact the developers

thanks for your help already people!

8 Replies

The logs are your friend. Ask them.

@mwalling:

The logs are your friend. Ask them.
I had a sudden vision of the Log Lady from Twin Peaks. Next time my Linode breaks, I'll ask my log.

Any specific reason you need to use sendmail? Postfix might be easier to deal with and end up less broken…

I'd agree with removing Sendmail and installing Postfix. I have successfully used these howtos for configuration:

http://wiki.centos.org/HowTos/postfix

http://wiki.centos.org/HowTos/postfix_restrictions

Don't let the CentOS bit scare you off; configuration is essentially the same on any distro.

You may also want to read about setting up a send-only mail system if you're not expecting to use your Linode to receive mail.

thanks all, im going to try the postfix solution, unfortunately there are no error logs to speak of, or no errors that i can see so im perplexed.

I'll report back with how well i got on with postfix.

btw, how do I REMOVE sendmail?

oh yes, as for the logs… i cannot see anything wrong… i'm just ….. stuck…

@thelongmile:

btw, how do I REMOVE sendmail?
I imagine apt-get purge sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda sendmail-doc will do it?

@Vance:

@thelongmile:

btw, how do I REMOVE sendmail?
I imagine apt-get purge sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda sendmail-doc will do it?
Installing Postfix should too. At least, it gets rid of exim…

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct