NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PhpED version 9 - Problems with PHPUnit integration


Joined: 17 Apr 2013
Posts: 1
Reply with quote
Hi,

I'm trying to install PHPUnit integration in my newly installed PhpED v. 9 (build 9047).

Here is the procedure i follow:

1. Install PhpED in dir C:\Program Files (x86)\NuSphere\PhpED
Code:
- PHP 5.4
- Application Files
- CVS Client 1.11.20
- PHP Documentor 2.0 (July 2012)
- CSE Validator v11 (lite)
- PHP Manual
- MySQL Manual
- PHP Smarty Manual


2. Load and enter license informations

3. Tools -> Settings -> External tools -> Check PEAR

4. Here it goes..
Code:
Error (-104) pear.bat file is not found - Install
[i]"** WARNING! Old version found at C:\Program Files (x86)\NuSphere\PhpED\php54, please remove it or be sure to use the new c:\program files (x86)\nusphere\phped\php54\pear.bat command
The 'pear' command is now at your service at c:\program files (x86)\nusphere\phped\php54\pear.bat

* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under C:\Program Files (x86)\NuSphere\PhpED\php54PEAR_ENV.reg
This file creates ENV variables for the current user. Double-click this file to add it to the current use r registry.[/i]

PHP PEAR is successfully installed.
PHP PEAR passed the test. Do you want to check phpUnit - YES!
phpUnit didn't pass - install? - YES!
Error: (-302) Unexpected output: "cannot download non-local package "C:\Program Files (x86)\NuSphere\PhpED\pear"    "install failed"
Error: (-302) Unexpected output: "phpUnit/PHPUnit require package "phpunit/PHPUnit_MockObject" (version >= 1.2.0, version = 1.1.0) No valid packages found install failed"
Error: (-302) Unexpected output: "phpunit/DbUnit requires package "phpunit/PHPUnit" (version >= 3.7.0) No valid packages found install failed"

And nothing more happends..

What is going on - and how can I fix this?

Redgards,

Martin
View user's profileFind all posts by MCCSend private message


Joined: 22 Apr 2013
Posts: 1
Reply with quote
I am having the same problem with exactly the same reported errors and it's not clear what to do to fix it.

The first error "Error: (-302) Unexpected output: "cannot download non-local package "C:\Program Files (x86)\NuSphere\PhpED\pear" "install failed"

I guess would need to be fixed, the referenced directory is full of zip files - is one missing maybe? Is there a lst of packages that should be in there?
View user's profileFind all posts by troywraySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
thansk for the report. We'll provide fresh pear+phpUnit modules in the next build

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
PhpED version 9 - Problems with PHPUnit integration
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic