PDA

Zobacz pełną wersję : błąd forum kunena



Areks
20-04-2010, 13:01
po próbie wgrania zdjec rang na forum kuneena wyswietla się błąd nie wiem co poradzic ... nie chcę instalować całego forum od nowa bo szkoda mojej pracy
oto błąd :

Warning: require_once(/virtual/v/i/visvitalis.ugu.pl/components/com_mypms/class.mypms.php) [function.require-once]: failed to open stream: No such file or directory in /virtual/v/i/visvitalis.ugu.pl/components/com_kunena/kunena.php on line 189

Fatal error: require_once() [function.require]: Failed opening required '/virtual/v/i/visvitalis.ugu.pl/components/com_mypms/class.mypms.php' (include_path='.:/usr/share/php:/usr/share/pear') in /virtual/v/i/visvitalis.ugu.pl/components/com_kunena/kunena.php on line 189
adres strony to http://visvitalis.ugu.pl strona działa bez błędu dopuki nie klikniemy na forum ... z góry bardzo dziękuję proszę bardzo o szybką pomoc

Dylek
20-04-2010, 14:35
A masz ten plik class.mypms.php we wskazanej sciezce?

Areks
20-04-2010, 14:39
nie nie posiadam go ... stworzyłem ten plik ale nie wiem co ma się w nim znajdować :(
gdyby ktoś udostępnił ten plik to może by poszło ...
hmm ...
.... Pomoze ktoś jeszcze ?
edit


po stworzeniu pustego pliku class.mypms.php
uruchomieniu ponownym forum wyskskuje komunikat
Fatal error: Class 'ClexusPMConfig' not found in /virtual/v/i/visvitalis.ugu.pl/components/com_kunena/kunena.php on line 190

oto log z pliku kunena.php

<?php
/**
* @version $Id: kunena.php 831 2009-06-11 06:55:51Z mahagr $
* Kunena Component
* @package Kunena
*
* @Copyright (C) 2008 - 2009 Kunena Team All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.kunena.com
*
* Based on FireBoard Component
* @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.bestofjoomla.com
*
* Based on Joomlaboard Component
* @copyright (C) 2000 - 2004 TSMF / Jan de Graaff / All Rights Reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author TSMF & Jan de Graaff
**/

// Dont allow direct linking
defined( '_JEXEC' ) or die('Restricted access');

// Just for debugging and performance analysis
$mtime = explode(" ", microtime());
$tstart = $mtime[1] + $mtime[0];

// Kunena wide defines
require_once (JPATH_BASE .DS. 'components' .DS. 'com_kunena' .DS. 'lib' .DS. 'kunena.defines.php');

global $fbIcons;
global $is_Moderator;

// ERROR: global scope mix
global $message;

// Get all the variables we need and strip them in case
$action = JRequest::getVar('action', '');
$catid = JRequest::getInt('catid', 0);
$contentURL = JRequest::getVar('contentURL', '');
$do = JRequest::getVar('do', '');
$email = JRequest::getVar('email', '');
$favoriteMe = JRequest::getVar('favoriteMe', '');
$fb_authorname = JRequest::getVar('fb_authorname', '');
$fb_thread = JRequest::getInt('fb_thread', 0);
$func = strtolower(JRequest::getVar('func', ''));
$id = JRequest::getVar('id', '');
$limit = JRequest::getInt('limit', 0);
$limitstart = JRequest::getInt('limitstart', 0);
$markaction = JRequest::getVar('markaction', '');
$message = JRequest::getVar('message', '');
$page = JRequest::getInt('page', 0);
$parentid = JRequest::getInt('parentid', 0);
$pid = JRequest::getInt('pid', 0);
$replyto = JRequest::getInt('replyto', 0);
$resubject = JRequest::getVar('resubject', '');
$return = JRequest::getVar('return', '');
$rowid = JRequest::getInt('rowid', 0);
$rowItemid = JRequest::getInt('rowItemid', 0);
$sel = JRequest::getVar('sel', '');
$subject = JRequest::getVar('subject', '');
$subscribeMe = JRequest::getVar('subscribeMe', '');
$thread = JRequest::getInt('thread', 0);
$topic_emoticon = JRequest::getVar('topic_emoticon', '');
$userid = JRequest::getInt('userid', 0);
$view = JRequest::getVar('view', '');
$msgpreview = JRequest::getVar('msgpreview', '');
$no_html = JRequest::getBool('no_html', 0);

// Redirect Forum Jump
if (isset($_POST['func']) && $func == "showcat")
{
global $Itemid;
header("HTTP/1.1 303 See Other");
header("Location: " . htmlspecialchars_decode(JRoute::_('index.php?optio n=com_kunena&amp;Itemid=' . $Itemid . '&amp;func=showcat&amp;catid=' . $catid)));
$app->close();
}

$app =& JFactory::getApplication();

// Image does not work if there are included files (extra characters), so we will do it now:
if ($func == "showcaptcha") {
include (JPATH_ROOT . '/components/com_kunena/template/default/plugin/captcha/randomImage.php');
$app->close();
}

// Debug helpers
include_once (KUNENA_PATH_LIB .DS. "kunena.debug.php");

// get Kunenas configuration params in
require_once (KUNENA_PATH_LIB .DS. "kunena.config.class.php");

// Get CKunanaUser and CKunenaUsers
require_once (KUNENA_PATH_LIB .DS. "kunena.user.class.php");

global $fbConfig, $kunenaProfile;

// Get data about the current user - its ok to not have a userid = guest
$kunena_my = &JFactory::getUser();
$KunenaUser = new CKunenaUser($kunena_my->id);
// Load configuration and personal settings for current user
$fbConfig =& CKunenaConfig::getInstance();

// get right Language file
if (file_exists(KUNENA_FILE_LANGUAGE)) {
include_once (KUNENA_FILE_LANGUAGE);
} else {
include_once (KUNENA_FILE_LANGUAGE_DEFAULT);
}

$kn_tables =& CKunenaTables::getInstance();
if ($kn_tables->installed() === false) {
$fbConfig->board_offline = 1;
}

// Permissions: Check for administrators and moderators
global $aro_group;
$kunena_acl = &JFactory::getACL();
if ($kunena_my->id != 0)
{
$aro_group = $kunena_acl->getAroGroup($kunena_my->id);
$aro_group->id = $aro_group->id;
$is_admin = (strtolower($aro_group->name) == 'super administrator' || strtolower($aro_group->name) == 'administrator');
}
else
{
$aro_group = new StdClass();
$aro_group->id = 0;
$is_admin = 0;
}

//Get the userid; sometimes the new var works whilst $kunena_my->id doesn't..?!?
$my_id = $kunena_my->id;

// Check if we only allow registered users
if ($fbConfig->regonly && !$my_id)
{
echo '<div>' . _FORUM_UNAUTHORIZIED . '</div>';
echo '<div>' . _FORUM_UNAUTHORIZIED2 . '</div>';
}
// or if the board is offline
else if ($fbConfig->board_offline && !$is_admin)
{
echo stripslashes($fbConfig->offline_message);
}
else
{
// ================================================== =====================================
// Forum is online:

global $lang, $fbIcons;
global $is_Moderator;

// ERROR: global scope mix
global $message;

// Central Location for all internal links
require_once (KUNENA_PATH_LIB .DS. "kunena.link.class.php");

// Class structure should be used after this and all the common task should be moved to this class
require_once (KUNENA_PATH .DS. "class.kunena.php");

if (file_exists(KUNENA_ABSTMPLTPATH .DS. 'smile.class.php'))
{
require_once (KUNENA_ABSTMPLTPATH .DS. 'smile.class.php');
}
else
{
require_once (KUNENA_PATH_TEMPLATE_DEFAULT .DS. 'smile.class.php');
}

//intercept the RSS request; we should stop afterwards
if ($func == 'fb_rss')
{
include (KUNENA_PATH_LIB .DS. 'kunena.rss.php');
$app->close();
}

if ($func == 'fb_pdf')
{
include (KUNENA_PATH_LIB .DS. 'kunena.pdf.php');
$app->close();
}

// Include Clexus PM class file
if ($fbConfig->pm_component == "clexuspm")
{
require_once (KUNENA_ROOT_PATH .DS. 'components/com_mypms/class.mypms.php');
$ClexusPMconfig = new ClexusPMConfig();
}

//time format
include_once (KUNENA_PATH_LIB .DS. 'kunena.timeformat.class.php');

$systime = time() + $fbConfig->board_ofset * KUNENA_SECONDS_IN_HOUR;

// Retrieve current cookie data for session handling
$settings = !empty($_COOKIE['fboard_settings'])?$_COOKIE['fboard_settings']:'';

$board_title = $fbConfig->board_title;
$fromBot = 0;
$prefview = $fbConfig->default_view;

// JOOMLA STYLE CHECK
if ($fbConfig->joomlastyle < 1) {
$boardclass = "fb_";
}

// Include preview here before inclusion of other files
if ($func == "getpreview")
{
$message = utf8_urldecode(utf8_decode(stripslashes($msgprevie w)));

$smileyList = smile::getEmoticons(1);
$msgbody = smile::smileReplace( $message , 0, $fbConfig->disemoticons, $smileyList);
$msgbody = nl2br($msgbody);
$msgbody = str_replace("__FBTAB__", "\t", $msgbody);
$msgbody = CKunenaTools::prepareContent($msgbody);
// $msgbody = ereg_replace('%u0([[:alnum:]]{3})', '&#x1;',$msgbody);

$msgbody = smile::htmlwrap($msgbody, $fbConfig->wrap);
header("Content-Type: text/html; charset=utf-8");
echo $msgbody;
$app->close();
}

if ($no_html == 0) {
$document =& JFactory::getDocument();

// inline jscript with image location
$document->addCustomTag('<script type="text/javascript">jr_expandImg_url = "' . KUNENA_URLIMAGESPATH . '";</script>');

if (is_object($kunenaProfile) && $kunenaProfile->useProfileIntegration())
{
if (defined('KUNENA_COREJSURL'))
{
global $_CB_framework;
$_CB_framework->addJQueryPlugin( 'kunena_tmpl', KUNENA_COREJSPATH );
$_CB_framework->outputCbJQuery( '', 'kunena_tmpl' );
}
}
else
{
// Add required header tags
if (defined('KUNENA_JQURL') && !defined('J_JQUERY_LOADED'))
{
define('J_JQUERY_LOADED', 1);
if (!defined('C_ASSET_JQUERY')) define('C_ASSET_JQUERY', 1);
$document->addCustomTag('<script type="text/javascript" src="' . KUNENA_JQURL . '"></script>');
}

Dylek
20-04-2010, 15:18
Pewnie wypadaloby zainstalowac MyPMS skoro go nie masz, albo wylaczyc integracje z tym w panelu admina Kuneny