cotonti.com : Php require https://www.cotonti.com Neueste Themenbeiträge Cotonti en Sun, 12 Oct 2025 21:44:52 -0000 Dave So, 09 Aug 2009 16:55:32 -0000 marshall700
Also thanks kilandorit worked a treat!]]>
Fr, 07 Aug 2009 16:16:03 -0000
Dave Mo, 27 Jul 2009 14:41:56 -0000 Kilandor
So you need to change the path to require($cfg['plugins_dir'].'/your_plugin_name/inc/init.inc.php');

just replace the your_plugin_name with the plugin "code" name

The problem with tags not found is it means, its opening the file looking for the data to load the file as a plugin, such as a hook or standalone or setup. Specificaly its looking for the "[BEGIN_SED_EXTPLUGIN]" block in the file.

If you notice my path above I gave you I included /inc/ if you place the extra files, the non plugin files in it then you won't see those errors. So any files without that block should go in there.]]>
Mo, 27 Jul 2009 14:26:48 -0000
marshall700
require ('init.inc.php');

ive been able to sucessfully use it out of the plugin but i cant get cotoniti to use it. It doesnt find the file. Anyone got any ideas?
Also when i install the plugin i get alot of "Warning: No tags found in..." i dont know what this means anyone?

Here is the error i keep getting:
Warning: require(init.php) [function.require]: failed to open stream: No such file or directory in /home/marshall/public_html/cms/plugins/rcon/rcon.admin.php on line 28
Warning: require(init.php) [function.require]: failed to open stream: No such file or directory in /home/marshall/public_html/cms/plugins/rcon/rcon.admin.php on line 28

Fatal error: require() [function.require]: Failed opening required 'init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/marshall/public_html/cms/plugins/rcon/rcon.admin.php on line 28
Thanks Marshall]]>
Mo, 27 Jul 2009 07:51:12 -0000