Jump to content


R Muthusamy

Member Since 12 Dec 2011
Offline Last Active Jan 25 2012 06:26 AM
-----

Topics I've Started

Error in unittest

18 January 2012 - 01:40 PM

Hi All,

I am getting this error while i am running unit test in zurmo application.  If you have any solution to this, kindly let me know.


-----------------------------------------------------------------------------------------------

C:\xampp\htdocs\zurmo\app\protected\tests\unit>phpunit TestSuite.php AccountTest
--no-freeze
PHP Warning:  require_once(PHP/CodeCoverage/Filter.php): failed to open stream:
No such file or directory in C:\xampp\php\phpunit on line 38
PHP Stack trace:
PHP   1. {main}() C:\xampp\php\phpunit:0

Warning: require_once(PHP/CodeCoverage/Filter.php): failed to open stream: No su
ch file or directory in C:\xampp\php\phpunit on line 38

Call Stack:
    0.0004 327480   1. {main}() C:\xampp\php\phpunit:0

PHP Fatal error:  require_once(): Failed opening required 'PHP/CodeCoverage/Filt
er.php' (include_path='.;C:\php\pear') in C:\xampp\php\phpunit on line 38
PHP Stack trace:
PHP   1. {main}() C:\xampp\php\phpunit:0

Fatal error: require_once(): Failed opening required 'PHP/CodeCoverage/Filter.ph
p' (include_path='.;C:\php\pear') in C:\xampp\php\phpunit on line 38

Call Stack:
    0.0004 327480   1. {main}() C:\xampp\php\phpunit:0
-----------------------------------------------------------------------------------------------------


Thanks,

errors in phpunit

02 January 2012 - 08:05 AM

Hi All,

I am getting this error, while i tried to run unit test classes in zurmo.   I have properly installed phpunit in this path c:\xampp\php\pear\

But, still i am getting this error, anyone could help me to resolve this issue.
----------------------------------------------------------------------------------------------------------

C:\xampp\htdocs\zurmo\app\protected\modules\zurmo\tests\unit>phpunit UnitTest Ad
dressTest.php
PHP Warning:  require_once(File/Iterator/Autoload.php): failed to open stream: N
o such file or directory in C:\xampp\php\pear\PHPUnit\Autoload.php on line 45
PHP Stack trace:
PHP   1. {main}() C:\xampp\php\phpunit:0
PHP   2. require() C:\xampp\php\phpunit:41

Warning: require_once(File/Iterator/Autoload.php): failed to open stream: No suc
h file or directory in C:\xampp\php\pear\PHPUnit\Autoload.php on line 45

Call Stack:
    0.0116 325128   1. {main}() C:\xampp\php\phpunit:0
    0.0539 365696   2. require('C:\xampp\php\pear\PHPUnit\Autoload.php') C:\
xampp\php\phpunit:41

PHP Fatal error:  require_once(): Failed opening required 'File/Iterator/Autoloa
d.php' (include_path='.;C:\php\pear') in C:\xampp\php\pear\PHPUnit\Autoload.php
on line 45
PHP Stack trace:
PHP   1. {main}() C:\xampp\php\phpunit:0
PHP   2. require() C:\xampp\php\phpunit:41

Fatal error: require_once(): Failed opening required 'File/Iterator/Autoload.php
' (include_path='.;C:\php\pear') in C:\xampp\php\pear\PHPUnit\Autoload.php on li
ne 45

Call Stack:
    0.0116 325128   1. {main}() C:\xampp\php\phpunit:0
    0.0539 365696   2. require('C:\xampp\php\pear\PHPUnit\Autoload.php') C:\
xampp\php\phpunit:41


C:\xampp\htdocs\zurmo\app\protected\modules\zurmo\tests\unit>
------------------------------------------------------------------------------------------------------------------------


Thanks,

memcache error while run/load zurmo application in my machine...

29 December 2011 - 09:30 AM

Hi All,

I am facing this error while i run/load zurmo in my localhost.  I installed zurmo in my pc 10 days back, that day onwards, i am getting this following issue everytime.

---------------------
An error has occurred. Please click here to continue to the home page. If the error persists please contact your administrator.
Memcache::get() [<a href='memcache.get'>memcache.get</a>]: send of 38 bytes failed with errno=10054 An existing connection was forcibly closed by the remote host.
Load time: 1.916 seconds.
----------------------

Solution i found:

if i start/run memcached.exe in command prompt, then i could able to load/run zurmo without any issues.  please someone

or do we need to start/run memcached.exe everytime restarting pc.  

someone, please help me to resolve this issue without start memcached.exe everytime.


Thanks,
R. Muthusamy