Stumbling while getting started

5 messages Options
Embed this post
Permalink
Bob Easton () Stumbling while getting started
Reply Threaded More More options
Print post
Permalink
I've read a lot of the getting started problems and haven't seen this situation.

I installed FirePHPCore directly in a directory from which I intend to use it. (website on a shared server)
Then, I created a very simple test script:

<?php
require_once('FirePHPCore/FirePHP.class.php');
$firephp = FirePHP::getInstance(true);
FB::log("Firebug ready");
?>

Executing it fetches the following parse error:
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/.alla/bobeaston/bob-easton.com/wp_acc/wp-admin/includes/FirePHPCore/FirePHP.class.php on line 65

Yes, I'm a novice php user. I tried many variants of that simple test script, but always came to the same parse error.

TIA, Bob
Christoph Dorn () Re: Stumbling while getting started
Reply Threaded More More options
Print post
Permalink
Double-check your PHP version and download the FirePHPCore library (for the correct version) again to ensure you did not get a corrupted file for some reason.
Bob Easton () Re: Stumbling while getting started
Reply Threaded More More options
Print post
Permalink
DOH!  The shared servers at Dreamhost are still running PHP 4.49.

Thank You twice Christoph. Once for helping me get started, second for an awesome debug tool.
Christoph Dorn () Re: Stumbling while getting started
Reply Threaded More More options
Print post
Permalink
Bob Easton wrote:
Thank You twice Christoph. Once for helping me get started, second for an awesome debug tool.
Can I use that as a reference with your name attached?
Bob Easton () Re: Stumbling while getting started
Reply Threaded More More options
Print post
Permalink
Christoph asked: Can I use that as a reference with your name attached?

Certainly! And, if you please, you might refer to my Accessibilty blog: http://access-matters.com