• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

custom commands placed in cmd_path not executed

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
2 posts • Page 1 of 1

Postby permutations » Sat May 17, 2008 1:22 pm

I wrote a custom "away" command. When I put it in the phpFreeChat commands directory, it's executed. When I put it in the cmd_path directory, it's not executed though the file is definitely found.

I know it's found because when it's not I get an "unknown command" error. I don't get this error when it's in the cmd_path directory (which is defined correctly) - it's just not executed.

One single change - moving it back to the phpFreeChat commands directory - and it's executed.
permutations
Member
 
Posts: 88
Joined: Thu Apr 24, 2008 1:09 pm
Top

Postby permutations » Mon Nov 24, 2008 3:41 pm

This ended up being a really dumb error on my part. I was using a relative path to include phpfreechat.class.php, and this became wrong when I moved the file. No bug here.
permutations
Member
 
Posts: 88
Joined: Thu Apr 24, 2008 1:09 pm
Top


Post a reply
2 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 4 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub