Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: JQuery and ajax
PostPosted: Thu Aug 27, 2009 7:25 pm 
Offline
Senior Newbie

Joined: Mon Aug 24, 2009 8:59 pm
Posts: 14
Website: http://thelongmile.net
Location: Wales, UK
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!


Top
   
 Post subject:
PostPosted: Thu Aug 27, 2009 10:05 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
The logs are your friend. Ask them.


Top
   
 Post subject:
PostPosted: Thu Aug 27, 2009 10:09 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
mwalling wrote:
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.

_________________
/ Peter


Top
   
 Post subject:
PostPosted: Fri Aug 28, 2009 2:16 am 
Offline
Senior Newbie
User avatar

Joined: Mon Mar 02, 2009 12:06 am
Posts: 13
Any specific reason you need to use sendmail? Postfix might be easier to deal with and end up less broken...


Top
   
 Post subject:
PostPosted: Fri Aug 28, 2009 2:26 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
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.


Top
   
 Post subject:
PostPosted: Fri Aug 28, 2009 7:29 pm 
Offline
Senior Newbie

Joined: Mon Aug 24, 2009 8:59 pm
Posts: 14
Website: http://thelongmile.net
Location: Wales, UK
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?


Top
   
 Post subject:
PostPosted: Fri Aug 28, 2009 7:59 pm 
Offline
Senior Newbie

Joined: Mon Aug 24, 2009 8:59 pm
Posts: 14
Website: http://thelongmile.net
Location: Wales, UK
oh yes, as for the logs... i cannot see anything wrong... i'm just ..... stuck...


Top
   
 Post subject:
PostPosted: Sat Aug 29, 2009 12:56 am 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
thelongmile wrote:
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?


Top
   
 Post subject:
PostPosted: Sat Aug 29, 2009 8:38 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
Vance wrote:
thelongmile wrote:
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...

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group