<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : my plugin doesnt work on live server</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sun, 19 Apr 2026 16:40:22 -0000</pubDate>

		<item>
			<title>tensh</title>
			<description><![CDATA[<p>
	Thanks :) Simple yet I would not learn it so easily. :)</p>
]]></description>
			<pubDate>Di, 05 Mrt 2013 12:34:15 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7366&d=0#post37161]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	This is simple. Hooks are just PHP includes as you know. And they have the Order property, but normally you use the default Order value. Hook handlers having the same Order value are executed in the order they were installed and you are likely to install plugins in a different order on different sites, or you might even use different sets of plugins. So to avoid such "surprises" you should always require the stuff you need explicity, or make sure something else requires it for you beforehand.</p>
]]></description>
			<pubDate>Di, 05 Mrt 2013 10:26:52 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7366&d=0#post37160]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[<p>
	Oh, can you explain me this mechanic, Trustmaster? It's interesting!</p>
]]></description>
			<pubDate>Di, 05 Mrt 2013 07:59:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7366&d=0#post37159]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<blockquote>
	<p>
		Edit: i solved the problem by adding cot_incfile to forms.php but i still wonder why it doesnt work on live but works on localhost</p>
</blockquote>
<p>
	It happens because on localhost it has a different order of plugin execution. Some other plugin already includes forms.php befor this plugin on localhost but not on live server.</p>
]]></description>
			<pubDate>Di, 05 Mrt 2013 05:23:50 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7366&d=0#post37157]]></link>
		</item>
		<item>
			<title>diablo</title>
			<description><![CDATA[<pre class="brush:php;">
&lt;?php
 
/* ====================
[BEGIN_COT_EXT]
Hooks=global
Tags=index.tpl:{ARAMA}
Order=99
[END_COT_EXT]
==================== */

$fieldsresss = $db-&gt;query($sql = "SELECT field_variants FROM $db_extra_fields WHERE field_name='semt'");
$rowss = $fieldsresss-&gt;fetch();
$semt = $rowss['field_variants'];
$fieldsresss = $db-&gt;query($sql = "SELECT * FROM $db_extra_fields WHERE field_name='oda'");
$rowss = $fieldsresss-&gt;fetch();
$oda = $rowss['field_variants'];

$semtler = cot_selectbox('', 'semt', $semt, '', true, 'id=semt');
$odalar = cot_selectbox('', 'oda', $oda, '1+0,1+1,2+0,2+1,3+1,4+1,5+1,6+1,2+2,3+2,4+2,5+2,6+2,7+1,7+2', true, 'id=oda');
$emlak = cot_selectbox_structure('page', '', 'cate', '', true);
$fiyat = cot_inputbox('text', 'fiyat1', '250', 'id=fiyat1')." - ".cot_inputbox('text', 'fiyat2', '1500', 'id=fiyat2');
$referans = cot_inputbox('text', 'ref', '', 'id=referans');
$metre = cot_inputbox('text', 'metre1', '75', 'id=metre1')." - ".cot_inputbox('text', 'metre2', '300', 'id=metre2');
?&gt;</pre>
<p>
	this is my plugin for a custom search i use on my project. it shows input and selectboxes and works perfectly on my localhost. today i wanted to go live and im getting an error</p>
<p>
	<b>Fatal error</b>: Call to undefined function cot_selectbox() in <b>/home/ppastelt/public_html/plugins/arama/arama.php</b> on line <b>18</b></p>
<p>
	<b>Edit: </b>i solved the problem by adding cot_incfile to forms.php but i still wonder why it doesnt work on live but works on localhost</p>
]]></description>
			<pubDate>Di, 05 Mrt 2013 02:13:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7366&d=0#post37156]]></link>
		</item>
	</channel>
</rss>