This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Support & discussion of released scripts, and announcements of new releases.
pstruh
Voice
Posts: 11 Joined: Fri Mar 04, 2005 6:34 am
Post
by pstruh » Thu May 11, 2006 6:34 am
Hi I have problem with tcl script.
If I try to use command etc. !tv in eggdrop party line displayed me:
Tcl error [tv]: couldn't execute "php": no such file or directory
Cau you help me fix it?
thanks
De Kus
Revered One
Posts: 1361 Joined: Sun Dec 15, 2002 11:41 am
Location: Germany
Post
by De Kus » Thu May 11, 2006 7:33 am
have you read the install instructions? I am sure you are missing a php command line tool within the search path or something like that.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under
The MIT License
Love hurts, love strengthens...
pstruh
Voice
Posts: 11 Joined: Fri Mar 04, 2005 6:34 am
Post
by pstruh » Thu May 11, 2006 7:58 am
De Kus wrote: have you read the install instructions? I am sure you are missing a php command line tool within the search path or something like that.
Problem is, in few days ago all working perfect, no error messages, but If I reboot server then this error was alert.
lines of script
set script_home "/home/cha/eggdrop/scripts"
set results [split [exec php $script_home/tvprog.php "$arg"] "\n"]
dwickie
Halfop
Posts: 76 Joined: Sat Aug 21, 2004 8:53 am
Location: /pub/beer
Post
by dwickie » Thu May 11, 2006 10:49 am
try replace "php" in [exec php $script_home/tvprog.php "$arg"] with full path (eg. /usr/bin/php)
pstruh
Voice
Posts: 11 Joined: Fri Mar 04, 2005 6:34 am
Post
by pstruh » Thu May 11, 2006 2:45 pm
dwickie wrote: try replace "php" in [exec php $script_home/tvprog.php "$arg"] with full path (eg. /usr/bin/php)
Yes, Now its working perfect
thanks man
De Kus
Revered One
Posts: 1361 Joined: Sun Dec 15, 2002 11:41 am
Location: Germany
Post
by De Kus » Fri May 12, 2006 4:57 am
you alternately should be able to solve by adding /usr/bin to export PATH in ~/.bash_profile. Type 'export | grep PATH' to see current paths. A healthy PATH should contain at least "/usr/local/bin:/usr/bin:/bin"; /sbin, /usr/sbin, /usr/local/sbin and ~/bin might also be a good choice, if avaible.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under
The MIT License
Love hurts, love strengthens...