Page 1 of 1

Swift SMOKE test problems

Posted: Tue Jun 12, 2007 3:53 pm
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

Posted: Tue Jun 12, 2007 4:50 pm
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.

Posted: Tue Jun 12, 2007 6:01 pm
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.