Not Solved JM - IRC php errror
#1
Not Solved
I upload in my serve: http://mods.mybb.com/view/jm-irc

But, if I opened the ACP and I open "Plugins" an error message appear.

This:

http://yugiohspirits.altervista.org/inc/...s/chat.php

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:') in /membri/yugiohspirits/inc/plugins/chat.php on line 30


The line 30 of "chat.php" file is:

require_once './global.php';

The complete code of chat.php is:

<?php
/**
 *  JM-IRC - Jordan Mussi
 *    Add a IRC chat page to your forum.
 *  ./chat.php
 *
 * @package    JM-IRC
 * @author     Jordan Mussi <http://jordanmussi.github.io>
 * @version    1
 * @license    GPL v3 <http://www.gnu.org/licenses/gpl-3.0.txt>
 *
 *  Copyright (C) 2014 Jordan Mussi
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

define('IN_MYBB', 1);

require_once './global.php';

if(empty($mybb->settings['jm_irc_page_action']))
{
	header('Location: misc.php?action=chat');
}
else
{
	header('Location: misc.php?action='.$mybb->settings['jm_irc_page_action']);
}


How resolve this bug? D:
Reply


Messages In This Thread
JM - IRC php errror - by The_Dark - 2014-10-02, 12:26 PM
RE: JM - IRC php errror - by .m. - 2014-10-02, 12:50 PM
RE: JM - IRC php errror - by The_Dark - 2014-10-02, 05:28 PM
RE: JM - IRC php errror - by .m. - 2014-10-02, 06:18 PM
RE: JM - IRC php errror - by The_Dark - 2014-10-02, 06:50 PM
RE: JM - IRC php errror - by Darth Apple - 2014-10-02, 07:01 PM
RE: JM - IRC php errror - by The_Dark - 2014-10-02, 07:06 PM
RE: JM - IRC php errror - by spork985 - 2014-10-02, 07:21 PM
RE: JM - IRC php errror - by The_Dark - 2014-10-02, 07:25 PM
RE: JM - IRC php errror - by spork985 - 2014-10-02, 07:53 PM
RE: JM - IRC php errror - by The_Dark - 2014-10-04, 11:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)