Swift SMOKE test problems

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
tbailey
Forum Newbie
Posts: 2
Joined: Tue Jun 12, 2007 3:49 pm

Swift SMOKE test problems

Post by tbailey »

Hi....

Thanks in advance for your help.

Am new to Swift. Have a Win2K3 server, IIS4. Installed Swiftmailer because we could never get php mail() working.

SMTP works fine.

Here's the error I get when I try to run any of the smoke tests:

Warning: main(h:\HTMLDocs\mailer\swift\tests/../lib/Swift.php): failed to open stream: No such file or directory in h:\HTMLDocs\mailer\swift\tests\smokes\components\Runner.php on line 7

Fatal error: main(): Failed opening required 'h:\HTMLDocs\mailer\swift\tests/../lib/Swift.php' (include_path='.;c:\php4\pear') in h:\HTMLDocs\mailer\swift\tests\smokes\components\Runner.php on line 7

Help please?!? Thanks!

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

Post by Chris Corbyn »

Have you moved any of the files? Namely, have you moved the "tests" directory outside of the "Swift-xxx-php4" directory? The error is because PHP cannot find the file it's looking for. If you have moved the tests, you'll need to set the absolute path to Swift at the top of the TestConfiguration.php file.
tbailey
Forum Newbie
Posts: 2
Joined: Tue Jun 12, 2007 3:49 pm

Post by tbailey »

Thanks very much. I uploaded the directory structure again.... worked this time.

Not sure where I went wrong the first time ?!?!

No matter. Thanks again.
Post Reply