Solved

Problems with FirePHP

Posted on 2012-04-01
2
709 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 500 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

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
The viewer will learn how to count occurrences of each item in an array.

630 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