Search the Community
Showing results for tags 'netbeans'.
-
I have managed to get PHPUnit to work with NetBeans, but I'm experiencing a problem when I go to create a test of the back of a class as described in the documents https://netbeans.org/kb/docs/php/phpunit.html It throws out an error in the output area, PHPUnit Skeleton Generator 1.2.1 by Sebastian Bergmann. Warning: require_once(..\..\file.php): failed to open stream: No such file or directory in C:\Server\www\myserver.dev\public_html\site\Classes\subFolder\class.php on line 5 Fatal error: require_once(): Failed opening required '.\.\constants.php' (include_path='.;C:\Server\PHP\pear') in C:\Server\www\myserver.dev\public_html\site\Classes\subFolder\class.php on line 5 When I look at a page that is calling the class and put a die within file.php, say "test" I see the output. So i'm not entirely sure what is going on, anyone got any ideas? Just to note I'm running a WAMP environment rather than a LAMP.
-
Hi Guys I am totally new to php and need to write a few sites for a couple of clients including one for a private company I started with a friend. I have successfully installed XAMP and tested the http://localhost address and it works, however I created a new test project in Netbeans 7.1 and I got the error below: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
-
Hello all, I've recently installed PHP 5 on my system and am trying to use NetBeans as an IDE, however when I try to configure NetBeans for the PHP 5 Interpreter my system fails to find anything. I've searched through my install directories, and also downloaded and searched the source files but cannot find it anywhere. I've searched google for the file or for answers and cannot find anything that solves the problem, its always some other problem where php pages load fine once, then something happens and they don't load any more. My situation is that they wont' load from the get go, and i cannot find the php interpreter. I've also since then tried to re install php using EasyPHP WAMP. It says that everything was installed successfully but when i try to load the pages from the local host it failes to load because it doesn't have a php interpreter selected... i don't know why either of these IDE's and setups would not install the interpreter or maybe i'm just not getting it.. perhaps it could be as simple as renaming a file and moving it.. i'm not sure and i can't seem to find any help trolling google.. I hope that someone out there can help shed some light on this subject for me, any effort will be greately appreciated. Thanks, Matt