Help
Discuss anything regarding coding in here (PHP, mySQL, HTML, CSS, etc)
User avatar
pablinho
Free
 
Posts: 1
Joined: 22 Sep 2014, 04:11

 

by pablinho 18 Jan 2015, 00:47

Hello

i've a website where I installed arrowchat ver 1.7.2, I installed it in the root of the site, so in http://www.mysite.com/arrowchat/, now i need to let arrowchat working correctly also in a sub folder ex http://www.mysite.com/arrowchat/sub/ to do it I added in header:
Code: Select all
<script type="text/javascript" src="../arrowchat/includes/js/jquery.js"></script>
<script type="text/javascript" src="../arrowchat/includes/js/jquery-ui.js"></script>
<link type="text/css" rel="stylesheet" id="arrowchat_css" media="all" href="../arrowchat/external.php?type=css" charset="utf-8" />

in the footer:
Code: Select all
<script type="text/javascript" src="../arrowchat/external.php?type=djs" charset="utf-8"></script>
<script type="text/javascript" src="../arrowchat/external.php?type=js" charset="utf-8"></script>

so I added "../" before the src I used in the pages where in the root.
Now the problem is that in the pages inside /sub/ I can see the arrowchat bar but the list of user is not updated [Chat(0)].
Seams like there is something that is not updating my presence on the website.
What I can do to solve?