benturkia / zendframeworkstorefront

Automatically exported from code.google.com/p/zendframeworkstorefront
0 stars 0 forks source link

apche ant- phpunit build problem with session #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. copy code of ch3 to someplace on your web server
2. make sure apache ant and phpunit are installed
3. run a build

What is the expected output? What do you see instead?
the build should succeed! However an errror keeps coming up'Session must 
be started before any output has been sent to the browser.....'

What version of the product are you using? On what operating system?
win xp, phpunit 3.4.11, apache-ant 1.8.0, zendframework 1.9.7, xampp 1.7.3

Please provide any additional information below.
I think the issue arises as the build hits the AllTests.php script.

Original issue reported on code.google.com by jenstudi...@gmail.com on 3 Apr 2010 at 12:32

GoogleCodeExporter commented 8 years ago
Running into the same problem described by jenstudio06.

_Followed the procedures in chapter 3 of the book.
_Attempting to build results in same error message reported by jenstudio06
_OS X 10.6.3, Apache 2.2.15, PHP5.3.2, phpunit 3.4.12, ZF 1.10.4, ant 1.8.0 
(maybe 1.8.1)
_obtained all the latest code available for chapter 3
_output started in /opt/local/lib/php/PHPUnit/TextUI/TestRunner.php/536

If this issue can't be resolved, the book is pretty much useless unless 
alternatives to preparing the application.ini 
files is provided.

Original comment by do...@novato.net on 22 May 2010 at 3:39

GoogleCodeExporter commented 8 years ago
This is due to some updates to the phpunit library that have deprecated certain 
features used in the build, I have 
now fixed these in the trunk (r340). 

Original comment by mute.p...@googlemail.com on 22 May 2010 at 4:06