Twitter daemon generating fatal error

It looks as though the constant INSTALLDIR is not being set and is instead being treated as a string. When I run startdaemons.sh I get this:

Fatal error: require_once(): Failed opening required 'Console/Getopt.php' (include_path='INSTALLDIR/extlib/:.:/[my-dirpath]/php5/lib/php') in /[my-dirpath]/status.smscotten.com/scripts/commandline.inc on line 45

I tried adding

define('INSTALLDIR','/[my-dirpath]/status.smscotten.com');

but then the script couldn't find common.lib observe:

Fatal error: require_once(): Failed opening required '/[my-dirpath]/status.smscotten.com/lib/common.php' (include_path='/[my-dirpath]/status.smscotten.com/extlib/:.:/[my-dirpath]/php5/lib/php') in /[my-dirpath]/status.smscotten.com/scripts/commandline.inc on line 123

I'm trying to find common.php but so far have come up empty. Besides, hardcoding these paths is not what was intended, I'm sure.

Comments

  • @smscotten crazy dreamhost php evn, well its nice that you are digging so deep, thanks.

    @brionv I can't say I know how to fix this.
  • Hey, just more info about this issue. I'm *pretty* sure that this has to do with PHP4 being the default on Dreamhost's shell. In any case, the result of running scripts/stopdaemons.sh is that common.lib gets deleted. Henceforth, common.lib cannot be found.

    I'm pretty sure that is not the intended behavior. :-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID