FreiChat related discussions
Chat window not getting displayed with Freichat V5.2

I have been using freichat from past few months. I upgraded to the new version. But now the chat window is not getting displayed.

URL: www.inknpost.com
Joomla Version: 1.5
Freichat Version : 5.2
Previous Freichat version: 5.1
Installation type: Module based.
Module Position: Left (Below login)
Problem : Chat window not getting displayed in any page

Log file entry:
July 2, 2011, 3:12 pm: main.php loaded
July 2, 2011, 3:12 pm: connected to database successfully
July 2, 2011, 3:12 pm: Inserted the user with the following data :: Username = admin And ID = 62 Default status = I am available

Kindly let me know what i can do ?

Thanks

I have been using freichat from past few months. I upgraded to the new version. But now the chat window is not getting displayed. URL: www.inknpost.com Joomla Version: 1.5 Freichat Version : 5.2 Previous Freichat version: 5.1 Installation type: Module based. Module Position: Left (Below login) Problem : Chat window not getting displayed in any page Log file entry: July 2, 2011, 3:12 pm: main.php loaded July 2, 2011, 3:12 pm: connected to database successfully July 2, 2011, 3:12 pm: Inserted the user with the following data :: Username = admin And ID = 62 Default status = I am available Kindly let me know what i can do ? Thanks

the best way to check errors is using the browser itself.
using chrome browser, right click on the page and click on inspect element, then click on console, you will all the errors that have occurred.

the error was caused because the time_zone is not set,
just add the below code at the beginning of freichat/server/freichat.php

date_default_timezone_set('America/Los_Angeles'); //you may also try other timezones

the best way to check errors is using the browser itself. using chrome browser, right click on the page and click on inspect element, then click on console, you will all the errors that have occurred. the error was caused because the time_zone is not set, just add the below code at the beginning of freichat/server/freichat.php <code> date_default_timezone_set('America/Los_Angeles'); //you may also try other timezones </code>
Necessity is the mother of all inventions!

I added the line of code you had suggested but i'm still getting this error in the console window :

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /home/inkntcom/public_html/freichat/define.php on line 49




Then i added

date_default_timezone_set('Asia/Calcutta');
to /freichat/define.php and it has started to get displayed.

Thanks for your help :)

I added the line of code you had suggested but i'm still getting this error in the console window : <b>Strict Standards</b>: date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Calcutta' for 'IST/5.0/no DST' instead in <b>/home/inkntcom/public_html/freichat/define.php</b> on line <b>49</b><br /> <br /> Then i added <code> date_default_timezone_set('Asia/Calcutta'); </code> to /freichat/define.php and it has started to get displayed. Thanks for your help :)
105
2
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft