Question Details

Browse

Warning :failed to open stream

By amira ragab - Aug. 13, 2009

i used simple test framework as the first time for me...here is the steps i made:-
1- create a folder "simpletest"
2- create 3 folders tests , classes , temp
3- create the tests/log_test.php that has the following:-

and the classes/log.php that contains:-

i have this 2 errors:

Warning: require_once(simpletest/unit_tester.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\simpletest\tests\log_test.php on line 5

Fatal error: require_once() [function.require]: Failed opening required 'simpletest/unit_tester.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\simpletest\tests\log_test.php on line 5

shall i upload unit_tester.php from somewhere.???

thanks in advance


Answers

Add Answer
  1. By James DSouza on Aug. 14, 2009

    Amira, your code is looking for unit_tester.php in a given location. See where it is being referenced from in log_test.php and upload the file there.


    0 Votes
Share your knowledge

Related Questions

Browse Get answers and share your expertise.