Solved

Problems with FirePHP

Posted on 2012-04-01
2
699 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

740 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