• 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

utChat Configuration Warning Invalid argument supplied for

Integration help for Joomla, Drupal, and Wordpress

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

Post a reply
3 posts • Page 1 of 1

Postby dragger » Sun Sep 21, 2008 7:09 pm

utChat version 1.0.5 with Joomla! Version 1.5.7 Legacy: 1.0
phpfreechat current version is 1.2

On the joomla backend for utChat on the configuration display I get the warning

Invalid argument supplied for foreach() in
... /administrator/components/com_utchat/admin.utchat.html.php on line 182

On the front end I get this error

Invalid argument supplied for foreach() in
... /components/com_utchat/utchat.php on line 26

phpFreeChat cannot be initialized, please correct these errors:

* 'serverid' parameter is mandatory by default use 'md5(__FILE__)' value

My first guess is that the pfc bundled with the component does use mysql container, the table should be created in the joomla db, and something didn't get created or possibly needs to be seeded ... (?)

Looks like my first guess is right:

JDatabaseMySQL::query: 1146 - Table 'database_name.jos_utchat' doesn't exist SQL=SELECT * FROM jos_utchat

Solution:
I got into phpMyAdmin for my joomla! database, and ran
SELECT VERSION( ) ;
to determine I am running mysql version 4.0.27-max-log

After editing line 17 in /com_utchat_1.0/install.utchat.php to read
Code: Select all
) ENGINE=MyISAM CHARSET=utf8;

and replacing all instances of "#_utchat" with "jos_utchat"

the sql file was able to create the jos_utchat table (using phpMyAdmin)

Seems between upon whatever mysql version utChat was developed, and version 4.0.27 there is a syntax option unavailable to earlier versions (line 17 edit) and the install failed silently.

So now I'm stuck about where Problem loading... by wenfi
describes, but it feels so great to have caught up!

I guess we're on our own now:
ACGSupport wrote:Bad news, I visited the Joomlagora.com forum and Syan has pulled the utChat extension from Joomla.org and closed the forum.
Last edited by dragger on Fri Sep 26, 2008 8:47 pm, edited 1 time in total.
dragger
Member
 
Posts: 18
Joined: Sat Feb 24, 2007 11:11 am
Location: Morro Bay, California
  • Website
Top

Postby ACGSupport » Tue Sep 23, 2008 3:48 pm

My install of the component worked out of the box. Although IE has problems, Firefox and Safari both worked. I am on Joomla 1.5.6 using MySQL as the backend DB, utChat 1.0.5, I also installed the "Who's Online" module.
ACGSupport
New member
 
Posts: 6
Joined: Sun Sep 21, 2008 2:22 am
Top

Postby dragger » Wed Sep 24, 2008 2:39 pm

My joomla! system info reports

Database Version: 4.0.27-max-log
Database Collation: N/A (mySQL < 4.1.2)
PHP Version: 4.3.11

This is how godaddy installs joomla.

Additionally, table types are MyISAM.

I could do a manual install and have the option of mysql 4.1 or 5,
however I am stuck with php 4.3.11.

Regarding godaddy's default install of standalone pfc (file container)
I was able to get demo 55 to work when after creating a 4.1 database I ran this sql

ALTER DATABASE database_name
DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;

One bit of advice: comment out the code in demo 55 that shows the source code, or the whole world will know your password!
Last edited by dragger on Wed Sep 24, 2008 2:41 pm, edited 1 time in total.
dragger
Member
 
Posts: 18
Joined: Sat Feb 24, 2007 11:11 am
Location: Morro Bay, California
  • Website
Top


Post a reply
3 posts • Page 1 of 1

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

Who is online

Users browsing this forum: No registered users and 1 guest

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