I am writing a web page that uses some php files. The php isn't working properly and I am trying to debug for things such as printing variables. I am new to php so this is all new territory.
I use firebug for other debugging and css alignment so I thought firephp might be a good way to begin.
I added firePHP into firefox and then following some tutorials I found I added this to my php file:
<?PHP
/* comment here down to line 15 */
require_once('FirePHPCore/FirePHP.class.PHP');
$firephp = FirePHP::getInstance(true);
The result I get when I load my page is:
Warning: require_once(FirePHPCore/FirePHP.class.PHP): failed to open stream: No such file or directory in /var/www/contactform.php on line 15 Fatal error: require_once(): Failed opening required 'FirePHPCore/FirePHP.class.PHP' (include_path='.:/usr/share/php') in /var/www/contactform.php on line 15
It seems like some more setup and library loading is required, but I am not sure what or how?
I am developing on Ubuntu using apache and /var/www/ as my local server.
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
Advice on how to get past this error?
You need to add the "FirePHPCore" folder to the same directory that this code is being run in