<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Ajaxchat for error</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 15 Apr 2026 07:46:13 -0000</pubDate>

		<item>
			<title>Spuner</title>
			<description><![CDATA[have an error:<br />
<pre class="code">Warning: require_once(./system/xtemplate.class.php) &#091;function.require-once&#093;: failed to open stream: No such file or directory in S:\home\revolution-pk.ru\www\system\functions.php on line 4769
Fatal error: require_once() &#091;function.require&#093;: Failed opening required './system/xtemplate.class.php' (include_path='.;/usr/local/php5/PEAR') in S:\home\revolution-pk.ru\www\system\functions.php on line 4769</pre>
when I go to <a href="http://revolution-pk.ru/chat/" rel="nofollow">http://revolution-pk.ru/chat/</a><br />
What it's just need to do to have correct work of this plugin?]]></description>
			<pubDate>Do, 09 Jul 2009 23:52:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=2707&d=0#post13968]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Your loading Config.php last, it needs to be loaded before functions.php]]></description>
			<pubDate>Fr, 08 Mai 2009 20:13:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=2707&d=0#post12254]]></link>
		</item>
		<item>
			<title>fedai</title>
			<description><![CDATA[problem:<div class="highlight"><pre class="php">&lt;?php
/*
 * @package AJAX_Chat
 * @author Sebastian Tschan
 * @copyright (c) Sebastian Tschan
 * @license GNU Affero General Public License
 * @link <a href="https://blueimp.net/ajax/" rel="nofollow">https://blueimp.net/ajax/</a>
 */


define('SED_CODE', TRUE);

require('../system/functions.php');
require('../system/xtemplate.class.php');
require('../datas/config.php');

// START - common.php

/* ======== First... ======== */

set_magic_quotes_runtime(0);
define('MQGPC', get_magic_quotes_gpc());
error_reporting(E_ALL ^ E_NOTICE);

/* ======== Connect to the SQL DB======== */

require('../system/database.'.$cfg&#091;'sqldb'&#093;.'.php');
sed_sql_connect($cfg&#091;'mysqlhost'&#093;, $cfg&#091;'mysqluser'&#093;, $cfg&#091;'mysqlpassword'&#093;, $cfg&#091;'mysqldb'&#093;);
unset($cfg&#091;'mysqlhost'&#093;, $cfg&#091;'mysqluser'&#093;, $cfg&#091;'mysqlpassword'&#093;);

/* ======== Check the banlist ======== */

$userip = explode('.', $usr&#091;'ip'&#093;);
$ipmasks = &quot;('&quot;.$userip&#091;0&#093;.&quot;.&quot;.$userip&#091;1&#093;.&quot;.&quot;.$userip&#091;2&#093;.&quot;.&quot;.$userip&#091;3&#093;.&quot;','&quot;.$userip&#091;0&#093;.&quot;.&quot;.$userip&#091;1&#093;.&quot;.&quot;.$userip&#091;2&#093;.&quot;.*','&quot;.$userip&#091;0&#093;.&quot;.&quot;.$userip&#091;1&#093;.&quot;.*.*','&quot;.$userip&#091;0&#093;.&quot;.*.*.*')&quot;;

$sql = sed_sql_query(&quot;SELECT banlist_id, banlist_ip, banlist_reason, banlist_expire FROM $db_banlist WHERE banlist_ip IN &quot;.$ipmasks, 'Common/banlist/check');

If (sed_sql_numrows($sql)&gt;0)
	{
	$row=sed_sql_fetcharray($sql);
	if ($sys&#091;'now'&#093;&gt;$row&#091;'banlist_expire'&#093; &amp;&amp; $row&#091;'banlist_expire'&#093;&gt;0)
		{
		$sql = sed_sql_query(&quot;DELETE FROM $db_banlist WHERE banlist_id='&quot;.$row&#091;'banlist_id'&#093;.&quot;' LIMIT 1&quot;);
		}
	else
		{
		$disp = &quot;Your IP is banned.&lt;br /&gt;Reason: &quot;.$row&#091;'banlist_reason'&#093;.&quot;&lt;br /&gt;Until: &quot;;
		$disp .= ($row&#091;'banlist_expire'&#093;&gt;0) ? @date($cfg&#091;'dateformat'&#093;, $row&#091;'banlist_expire'&#093;).&quot; GMT&quot; : &quot;Never expire.&quot;;
		sed_diefatal($disp);
		}
	}

/* ======== Groups ======== */

if (!$sed_groups )
	{
	$sql = sed_sql_query(&quot;SELECT * FROM $db_groups WHERE grp_disabled=0 ORDER BY grp_level DESC&quot;);

	if (sed_sql_numrows($sql)&gt;0)
		{
		while ($row = sed_sql_fetcharray($sql))
			{
			$sed_groups&#091;$row&#091;'grp_id'&#093;&#093; = array (
				'id' =&gt; $row&#091;'grp_id'&#093;,
				'alias' =&gt; $row&#091;'grp_alias'&#093;,
				'level' =&gt; $row&#091;'grp_level'&#093;,
   				'disabled' =&gt; $row&#091;'grp_disabled'&#093;,
   				'hidden' =&gt; $row&#091;'grp_hidden'&#093;,
				'state' =&gt; $row&#091;'grp_state'&#093;,
				'title' =&gt; sed_cc($row&#091;'grp_title'&#093;),
				'desc' =&gt; sed_cc($row&#091;'grp_desc'&#093;),
				'icon' =&gt; $row&#091;'grp_icon'&#093;,
				'pfs_maxfile' =&gt; $row&#091;'grp_pfs_maxfile'&#093;,
				'pfs_maxtotal' =&gt; $row&#091;'grp_pfs_maxtotal'&#093;,
				'ownerid' =&gt; $row&#091;'grp_ownerid'&#093;
					);
			}
		}
	else
		{ sed_diefatal('No groups found.'); }

	sed_cache_store('sed_groups',$sed_groups,3600);
	}

/* ======== User/Guest ======== */

if ($cfg&#091;'authmode'&#093;==2 || $cfg&#091;'authmode'&#093;==3)
	{ session_start(); }

if (isset($_SESSION&#091;'rsedition'&#093;) &amp;&amp; ($cfg&#091;'authmode'&#093;==2 || $cfg&#091;'authmode'&#093;==3))
	{
	$rsedition = $_SESSION&#091;'rsedition'&#093;;
	$rseditiop = $_SESSION&#091;'rseditiop'&#093;;
	$rseditios = $_SESSION&#091;'rseditios'&#093;;
	}
elseif (isset($_COOKIE&#091;'SEDITIO'&#093;) &amp;&amp; ($cfg&#091;'authmode'&#093;==1 || $cfg&#091;'authmode'&#093;==3))
	{
	$u = base64_decode($_COOKIE&#091;'SEDITIO'&#093;);
	$u = explode(':_:',$u);
	$rsedition = sed_import($u&#091;0&#093;,'D','INT');
	$rseditiop = sed_import($u&#091;1&#093;,'D','PSW');
	$rseditios = sed_import($u&#091;2&#093;,'D','ALP');
	}

if ($rsedition&gt;0 &amp;&amp; $cfg&#091;'authmode'&#093;&gt;0)
	{

	$sql = sed_sql_query(&quot;SELECT * FROM $db_users WHERE user_id='$rsedition' AND user_password='$rseditiop'&quot;);

	if ($row = sed_sql_fetcharray($sql))
		{
		if ($row&#091;'user_maingrp'&#093;&gt;3)
			{
			$usr&#091;'id'&#093; = $row&#091;'user_id'&#093;;
			$usr&#091;'name'&#093; = $row&#091;'user_name'&#093;;
			$usr&#091;'lang'&#093; = ($cfg&#091;'forcedefaultlang'&#093;) ? $cfg&#091;'defaultlang'&#093; : $row&#091;'user_lang'&#093;;
			$usr&#091;'maingrp'&#093; = $row&#091;'user_maingrp'&#093;;
			$usr&#091;'level'&#093; = $sed_groups&#091;$usr&#091;'maingrp'&#093;&#093;&#091;'level'&#093;;
			}
		}
	}


/* ======== Language ======== */
$usr&#091;'lang'&#093; = (empty($_COOKIE&#091;'deflang'&#093;)) ? $cfg&#091;'defaultlang'&#093; : $_COOKIE&#091;'deflang'&#093;;


// END - common.php

?&gt;</pre></div>]]></description>
			<pubDate>Fr, 08 Mai 2009 19:58:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=2707&d=0#post12252]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[The only version we had where we orginaly combined the file was in 0.0.1, 0.0.2/0.0.3/0.0.4 all have this file<br />
<br />
<pre class="code">Notice: Undefined index: system_dir in /home/xxx/public_html/system/functions.php on line 4564
</pre>
<br />
Indicates your problem, this is a minor notice, and not a techincal error its saying $cfg['system_dir'] is  not defined. Please compare your config file, with that of the config-sample.php<br />
<br />
It would appear your missing these configs.]]></description>
			<pubDate>Fr, 08 Mai 2009 05:22:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=2707&d=0#post12225]]></link>
		</item>
		<item>
			<title>fedai</title>
			<description><![CDATA[I try but it didn't]]></description>
			<pubDate>Fr, 08 Mai 2009 05:03:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=2707&d=0#post12219]]></link>
		</item>
		<item>
			<title>aiwass</title>
			<description><![CDATA[Try if xtemplate.class.php instead of templates.php since there is no such thing in Cotonti.]]></description>
			<pubDate>Fr, 08 Mai 2009 03:30:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=2707&d=0#post12217]]></link>
		</item>
		<item>
			<title>fedai</title>
			<description><![CDATA[Hi guys,<br />
<br />
Ajaxchat system integrated to seditio<br />
<br />
Neocrome.ru forum topic:<br />
<a href="http://www.neocrome.ru/forums.php?m=posts&amp;q=2800" rel="nofollow">http://www.neocrome.ru/forums.php?m=posts&amp;q=2800</a><br />
Ajaxchat system website:<br />
<a href="https://blueimp.net/ajax/" rel="nofollow">https://blueimp.net/ajax/</a><br />
<br />
Download ajaxchat integrated to seditio:<br />
<a href="http://slil.ru/27514551" rel="nofollow">http://slil.ru/27514551</a><br />
<br />
Mywebsite install error:<br />
<pre class="code">
Notice: Undefined index: system_dir in /home/xxx/public_html/system/functions.php on line 4564

Warning: require_once() &#091;function.require-once&#093;: Unable to access /xtemplate.class.php in /home/xxx/public_html/system/functions.php on line 4564

Warning: require_once(/xtemplate.class.php) &#091;function.require-once&#093;: failed to open stream: No such file or directory in /home/xxx/public_html/system/functions.php on line 4564

Fatal error: require_once() &#091;function.require&#093;: Failed opening required '/xtemplate.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/system/functions.php on line 4564</pre>
<br />
<br />
chat/lib/custom.php:<br />
<pre class="code">require('../system/functions.php');
require('../system/templates.php');
require('../datas/config.php');</pre>
<br />
Cotonti for system/templates.php Not Found]]></description>
			<pubDate>Fr, 08 Mai 2009 02:45:14 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=2707&d=0#post12208]]></link>
		</item>
	</channel>
</rss>