Do I need to download & install eclipse ?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
geddi
Forum Commoner
Posts: 39
Joined: Sun Feb 24, 2008 11:01 am

Do I need to download & install eclipse ?

Post by geddi »

Do I need to download & install eclipse ?

Well thts my question !

Sorry but you say I need to install simpletest - but when I go to the site from your link, there are 2 versions. I picked the one that was a .zip file which was is the eclipse plug-in.

I opened that up and it says that I need to install eclipse.

Have I got the wrong version ?

plaese advise what I need to do - ı am trying to run the tests.
Thanks
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: Do I need to download & install eclipse ?

Post by Weirdan »

No, you're not required to use eclipse to run your tests (though some prefer it that way, thus the plugin). Just get the simpletest from here: http://sourceforge.net/project/showfile ... e_id=77275
geddi
Forum Commoner
Posts: 39
Joined: Sun Feb 24, 2008 11:01 am

Re: Do I need to download & install eclipse ?

Post by geddi »

Just another quick question.

Might sound a bit silly but I am following the instructions:

The documentation says:
"You will notice that the directory is several megabytes in size. Obviously, you don’t need to upload all of this to your web server."
and then "Upload the lib directory via FTP or whatever facility your web host provi..."

Then the next set of instructions are about running the tests.

If I have followed the instructios above NOT uploaded the tests - how will the test programs be checking that my installation works ? or have I missed something ?

Thanks
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Do I need to download & install eclipse ?

Post by Chris Corbyn »

Sorry that's a bit of an oversight on my part. I guess I assumed most people run PHP servers on their computers for development and then upload to the server for production, but that's a bit of a wild assumption ;) I'm not likely to be fixing the v3 docs any more since I'm already writing v4 docs but I'll ensure that same conflict doesn't get copied to the new docs :) Thanks.
geddi
Forum Commoner
Posts: 39
Joined: Sun Feb 24, 2008 11:01 am

Re: Do I need to download & install eclipse ?

Post by geddi »

If it works ok
do I need to run the tests ?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Do I need to download & install eclipse ?

Post by Chris Corbyn »

geddi wrote:If it works ok
do I need to run the tests ?
You only need to run the tests if you're interested enough to bother with them. I've already done all the testing in development. The tests are only provided for those who want that peace of mind ;) In other words no, you don't need to run them.
geddi
Forum Commoner
Posts: 39
Joined: Sun Feb 24, 2008 11:01 am

Re: Do I need to download & install eclipse ?

Post by geddi »

Thanks for your answers:

When I run the script I get this error:

Fatal error: Uncaught exception 'Swift_ConnectionException' with message 'The SMTP connection failed to start [tls://smtp.gmail.com:465]: fsockopen returned Error Number 110 and Error String 'Connection timed out'' in /home/letsget/public_html/swift_lib/Swift/Connection/SMTP.php:309 Stack trace: #0 /home/letsget/public_html/swift_lib/Swift.php(216): Swift_Connection_SMTP->start() #1 /home/letsget/public_html/swift_lib/Swift.php(101): Swift->connect() #2 /home/letsget/public_html/b_email_act.php(94): Swift->__construct(Object(Swift_Connection_SMTP)) #3 /home/letsget/public_html/index.php(229): require_once('/home/letsget/p...') #4 {main} thrown in /home/letsget/public_html/swift_lib/Swift/Connection/SMTP.php on line 309

Is it something obvious ?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Do I need to download & install eclipse ?

Post by Chris Corbyn »

Your host are blocking the connection. What host are you with. 1and1 and GoDaddy are very harsh with their security rules for shared plans and will not work. Other hosts will also have the same issues if you're paying for cheap hosting ;)
geddi
Forum Commoner
Posts: 39
Joined: Sun Feb 24, 2008 11:01 am

Re: Do I need to download & install eclipse ?

Post by geddi »

Because this has gone off topic.
I have opened a neww thread entitled "Fatal Error..."
Hopefully it will also be more useful to others.
I answered "who am I hosting with?" on that one.

This thread can be closed (if you wish)
Thanks
Post Reply