PHP Version: 5
Shared or Dedicated Hosting: Shared (Hostgator Reseller)
Link to your website: jagmediagroup.com/knock/
Are you able to reproduce the issue on the official demo (http://www.phpfreechat.net/demo)?
Yes, same issue.
Have you set any parameters?
If so, please include your entire code, using the [code ] and[/code ] tags (without the space).
- Code: Select all
<?php
require_once dirname(__FILE__)."/src/phpfreechat.class.php";
$params = array();
$params["title"] = "Knock Knock Command Center";
$params["nick"] = ""; // setup the initial nickname
$params['firstisadmin'] = false;
//$params["isadmin"] = false; // makes everybody admin: do not use it on production servers ;)
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$params["debug"] = false;
$params['admins'] = array('Raybe46' => '2knocks',
'WhiteRhino' => 'knock123');
$params[max_msg] = 5;
$params["timeout"] = 6000000;
$params['max_text_len'] = 400000;
$params['skip_proxies'] = array('noflood');
$chat = new phpFreeChat( $params );
?>
What is the issue you are experiencing in detail?
I am copying a text message from one site and pasting it into the chat message bar. When I submit the chat message, it cuts off the text after a short bit. (Not a text length setting issue). I thought there may be hidden code in the text, so I pasted it into notepad first, recopied it, re pasted it and same thing. I am hoping you may know what is causing this and a way to make it work. Its kind of important to us.
Here is the text of one sampe message causing an issue:
- Code: Select all
Scouting at (705,539)
Dec 14, 07:47 PM
Report No: 6666136
Scouting Report
Name Count
No Units
Name Count
Spiked Barrier 756
Building Levels
Farm 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Sawmill 7, 5, 5, 5, 5
Quarry 7, 6, 6
Mine 8, 7
Resource Quantity
Food 826,574
Wood 345,946
Stone 679,170
Ore 12,081
Research Levels
Fertilizer 9
Logging 6
Stoneworking 7
Mining 8
Geometry 7
Eagle Eyes 8
Poisoned Edge 8
Metal Alloys 8
Featherweight Powder 5
Magical Mapping 5
Alloy Horseshoes 8
Fletching 8
Shrinking Powder 6
Healing Potions 5
Giant's Strength 7
Battle Report - Victory
Attackers (Valkyrie2) - (208,2)Winner
Troops Fought Survived
Scout 1 1
Defenders (rsayloriii)
No Troops Defended
This is all that shows up in the chat:
- Code: Select all
Scouting at (705,539) Dec 14, 07:47 PM Report No: 6666136 Scouting Report
Are you seeing any error messages, such as javascript errors?
No error messages, just limited text in the message.
Thank you in advance for any help!
Greg