Raised This Month: $51 Target: $400
 12% 

Web Live Chat v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 03-11-2014 , 19:45   Re: Web Live Chat v1.3
Reply With Quote #31

So, how are things? You try add UTF-8 support?
Phant is online now
Send a message via ICQ to Phant
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 03-11-2014 , 20:58   Re: Web Live Chat v1.3
Reply With Quote #32

Quote:
Originally Posted by Phant View Post
So, how are things? You try add UTF-8 support?
Not yet, I haven't enought time. I will try to work on this next week.
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Eckat
Junior Member
Join Date: Jun 2013
Old 03-14-2014 , 04:47   Re: Web Live Chat v1.3
Reply With Quote #33

I am struggling a bit, setting this up. Both, the index.html and the chat.php just display blank pages.

I will keep watching this thread for updates.
Eckat is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 03-14-2014 , 08:44   Re: Web Live Chat v1.3
Reply With Quote #34

Quote:
Originally Posted by Eckat View Post
I am struggling a bit, setting this up. Both, the index.html and the chat.php just display blank pages.

I will keep watching this thread for updates.
Open chat.php and write ini_set("display_errors", 1); after session_start;

Then reload chat.php and post here the log messages you got. If you don't get any message, check your MySQL credentials on line 30 (I guess it's 30 ).
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Eckat
Junior Member
Join Date: Jun 2013
Old 03-14-2014 , 09:31   Re: Web Live Chat v1.3
Reply With Quote #35

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
Open chat.php and write ini_set("display_errors", 1); after session_start;

Then reload chat.php and post here the log messages you got. If you don't get any message, check your MySQL credentials on line 30 (I guess it's 30 ).
This error message is now returned by the browser window. Seen it in the apache log-file earlier also.

Code:
Fatal error: Call to a member function execute() on a non-object in /var/www/chat/chat.php on line 52
Eckat is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 03-14-2014 , 09:44   Re: Web Live Chat v1.3
Reply With Quote #36

Please run this query manually in your MySQL Server.
Code:
SELECT id, pj, msg, date FROM cs_chat ORDER BY id DESC LIMIT 10
PS: You can remove the line you added, it just was to know what was happening.
__________________

Last edited by Neeeeeeeeeel.-; 03-14-2014 at 09:45.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Eckat
Junior Member
Join Date: Jun 2013
Old 03-14-2014 , 10:12   Re: Web Live Chat v1.3
Reply With Quote #37

The query is successful but returns with an empty result, because there's is not data in the respective table there, yet.

The output now, when calling chat.php from the browser directly is:
Code:
[]
Eckat is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 03-14-2014 , 10:21   Re: Web Live Chat v1.3
Reply With Quote #38

Quote:
Originally Posted by Eckat View Post
The query is successful but returns with an empty result, because there's is not data in the respective table there, yet.

The output now, when calling chat.php from the browser directly is:
Code:
[]
That's right... because it's an empty json array.

Did you install & try the plugin? If you didn't just install it, then open your index.php with a browser and write something in CS chat, it should appear with 1sec delay or less in the browser.
__________________

Last edited by Neeeeeeeeeel.-; 03-14-2014 at 10:22.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Eckat
Junior Member
Join Date: Jun 2013
Old 03-14-2014 , 10:36   Re: Web Live Chat v1.3
Reply With Quote #39

Thanks a lot for your support Neeeeeeeeeel.-

Have it up and running now. A series of circumstances were causing this. First, the database was not created. Then I had put the web-files into a subdirectory of the local web server, which led the requests into nowhere. Got both now linked to each other.

Thanks again!

Eckat
Eckat is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 03-14-2014 , 10:41   Re: Web Live Chat v1.3
Reply With Quote #40

Quote:
Originally Posted by Eckat View Post
Thanks a lot for your support Neeeeeeeeeel.-

Have it up and running now. A series of circumstances were causing this. First, the database was not created. Then I had put the web-files into a subdirectory of the local web server, which led the requests into nowhere. Got both now linked to each other.

Thanks again!

Eckat
You still can put the files into subdirectory, but you must specify it in amx_chat_phpfile like
Code:
amx_chat_phpfile "subdirectory/chat.php"
If you use amx_chat_host it won't work.

I didn't tested this but should work. Let me know if worked or not.
__________________

Last edited by Neeeeeeeeeel.-; 03-14-2014 at 10:42.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode