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

Missing argument 1 for phpfreechat_menu()

Integration help for Joomla, Drupal, and Wordpress

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

Post a reply
5 posts • Page 1 of 1

Postby cperg » Fri Jan 23, 2009 6:03 pm

Just installed the chat on our test Drupal site. Got this message. Wondering if it is someone knows what to do?

The var in question is $may_cache from line 21 of the file phpfreechat.module. I looked at the includes and other files for the install, but as of yet have not been able to locate the var declaration or use other than in this line of code and a couple lines down.

function phpfreechat_menu($may_cache) {
Last edited by cperg on Fri Jan 23, 2009 6:04 pm, edited 1 time in total.
cperg
New member
 
Posts: 4
Joined: Fri Jan 23, 2009 5:54 pm
Top

Postby cperg » Fri Jan 23, 2009 8:13 pm

Well I guess this stuff is self healing with a little attention. I got a notice that I needed to update the version 1.2 with version 1.0 so I did it - at that point it could not have hurt anything. I unchecked to module and updated. I then uninstalled from that tab and updated. ran cron and then downloaded and up loaded 1.0 checked the module and updated. I then got a notice that there was an update to 1.0 rather 1.1 and went through the same process as above. Now there is not a notice.... If someone did something to an automated repository thanks if not praise be to "he".
cperg
New member
 
Posts: 4
Joined: Fri Jan 23, 2009 5:54 pm
Top

Postby cperg » Fri Jan 23, 2009 8:22 pm

I waited few minutes then went and tried to makes the settings in PHPFreeChat. The current error is now

The second argument is not an array in /home/acsdinc/drupal/modules/syslog/syslog.module on line 106.

The code on line 106 is

$message .= '|'. $entry['ip'];


Still on version 1.1....
cperg
New member
 
Posts: 4
Joined: Fri Jan 23, 2009 5:54 pm
Top

Postby cperg » Fri Jan 23, 2009 8:53 pm

It really pays to read the installation text files. Just got the core technology from here placed it there and now it works. Couldn't be simpler. Now I will set about to making it work for our needs. Thanks for the good work, technology and the forum here...

One additional question? Should I now upgrade to version 1.2?
cperg
New member
 
Posts: 4
Joined: Fri Jan 23, 2009 5:54 pm
Top

Postby phpfreechat » Fri Jan 23, 2009 11:18 pm

1.2 fixes a major security hole, upgrade is highly recommended
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top


Post a reply
5 posts • Page 1 of 1

Return to Joomla, Drupal, and Wordpress (v1.x)

Who is online

Users browsing this forum: No registered users and 2 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