19.09.2013, 16:57
Now i installed the xampp and i'm waiting your fix
Uncaught TypeError: Cannot read property 'documentElement' of null index.php:103
14
Uncaught TypeError: Cannot read property 'documentElement' of null index.php:103
You can do what you want... i want to use it on my UCP and just the admins will be able to send message from the chat and rest of users will be able just to see what others type.
Take a look here: http://sa-sf.comuv.com/index.php [ i can't see any errors in the Chrome's Console - Connection to database it's ok ] |
<!-- SQL Chat - Live server chat using MySQL Created by Sinner / 10-09-2013 http://forum.sa-mp.com/member.php?u=1030...2.91015780 You are free to modify these pages any way you want but please leave the credits intact. --><?xml version="1.0"?><chatbox><row><user>Sinner</user><message>Test test</message><timestamp>01:35</timestamp><type>1</type></row><row><user>lel</user><message>test</message><timestamp>11:05</timestamp><type>1</type></row><row><user>TestServer</user><message>test ?</message><timestamp>08:56</timestamp><type>1</type></row><row><user>TestServer</user><message>gonna test it now</message><timestamp>08:54</timestamp><type>1</type></row><row><user>TestServer</user><message>server test</message><timestamp>08:53</timestamp><type>1</type></row><row><user>TestServer</user><message>test</message><timestamp>08:53</timestamp><type>1</type></row><row><user>TestServer</user><message>seems to be ok this message</message><timestamp>08:51</timestamp><type>1</type></row><row><user>TestServer</user><message>test</message><timestamp>08:51</timestamp><type>1</type></row></chatbox> <!-- Hosting24 Analytics Code --> <script type="text/javascript" src="http://stats.hosting24.com/count.php"></script> <!-- End Of Analytics Code -->
<?xml version="1.0"?><chatbox><row><user>Sinner</user><message>Test test</message><timestamp>01:35</timestamp><type>1</type></row><row><user>lel</user><message>test</message><timestamp>11:05</timestamp><type>1</type></row><row><user>TestServer</user><message>test ?</message><timestamp>08:56</timestamp><type>1</type></row><row><user>TestServer</user><message>gonna test it now</message><timestamp>08:54</timestamp><type>1</type></row><row><user>TestServer</user><message>server test</message><timestamp>08:53</timestamp><type>1</type></row><row><user>TestServer</user><message>test</message><timestamp>08:53</timestamp><type>1</type></row><row><user>TestServer</user><message>seems to be ok this message</message><timestamp>08:51</timestamp><type>1</type></row><row><user>TestServer</user><message>test</message><timestamp>08:51</timestamp><type>1</type></row></chatbox>
I found the problem. But i have some problems with the message send by the website to server. When i send it to the server, the message get showed by 19-20 times ...
RESULT: http://rse-ro.com/?page=chat When i run the website on my computer everything it's ok but when i use it on my webhost... http://rse-ro.com/screen/sa-mp-016.png |