Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Problems with FirePHP

Posted on 2012-04-01
2
Medium Priority
?
730 Views
Last Modified: 2012-04-05
I am trying to use FirePHP to debug a web page.   I cannot get FirePHP to load properly.  When I try to use the FirePHP, I get the following error:

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

I am developing on Ubuntu 11.04 using apache.  My code is in: /var/www

Here's more info
$ls /usr/share/php
    This matches the path in my error message.
    FirePHPCore lives here

$sudo /etc/init.d/apache2 restart
    Apache restarts fine but the I still get the error.
    Clearing the browser history doesn't help.

I don't know what to do next.

How do I fix this problem?
0
Comment
Question by:tmonteit
2 Comments
 
LVL 12

Expert Comment

by:larsrohr
ID: 37794620
Do the permissions on your FirePHPCore directory allow the apache user read and execute/transverse (rx) access?  Perhaps the apache user simply cannot access your FirePHP files.
0
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 2000 total points
ID: 37795668
In /var/www create a phpinfo.php file  

<?php phpinfo(); ?>

Execute it and ensure your include path has the /usr/share/php directory in it.

If it does then look at file permissions as was suggested above.

Check file names for proper case.  PHP is case-sensitive and personally I haven't seen many files called filename.PHP.  It is usually a lower-case .php.  Not familiar with FirePHP, though.

Hope that helps...
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question