0 Пользователей и 1 Гость просматривают эту тему.
  • 2 Ответов
  • 3292 Просмотров
*

alex75300

  • Захожу иногда
  • 99
  • 5 / 0
  • Кому щас легко...
Помогите пожалуйста разобраться с этим модулем. Поставил а он мне такую ошибку выдает - Fatal error: Class 'mod_remositoryNewest' not found in /home/virtwww/w_finddriver-ru_7536458cf903f/http/modules/mod_remositorynewest.php on line 22

Код
defined( '_VALID_MOS' ) OR defined ( '_JEXEC' ) OR die( 'Direct Access to this location is not allowed.' );

$cmsapi_addon_topdir = 'mambots/plugins/modules';
$cmsapi_addon_tops = explode('/', $cmsapi_addon_topdir);
$cmsapi_mydir = array_reverse(explode('/', str_replace('\\', '/', __FILE__)));
do $cmsapi_shifted = array_shift($cmsapi_mydir); while (!in_array($cmsapi_shifted, $cmsapi_addon_tops));
$cmsapi_absolute_path = implode('/', array_reverse($cmsapi_mydir));

require_once($cmsapi_absolute_path.'/components/com_remository/remository.interface.php');

$mod_remositorynewest = new mod_remositoryNewest();
$mod_remositorynewest->showFileList(null, $content, null, $params);

Файлы хранятся на сервере ifolder.ru
Может кто сталкивался с такой проблемой?

[вложение удалено Администратором]
*

DCamer

  • Осваиваюсь на форуме
  • 36
  • 3 / 0
  • Windows XP SP3 - Forever!!!
Просто скачайте модуль с оф. сайта

аналогичная проблема. Модуль взят с оф. сайта, с ветки для Joomla 1.0.X (http://remository.com/downloads/softwarephp5/other-supported-cms/remository-modules-and-plugins/remository-newest-module/). Отличие только в XML:
Код
  <?xml version="1.0" encoding="utf-8" ?> 
- <install type="module" version="4.5.1">
супротив
Код
  <?xml version="1.0" encoding="iso-8859-1" ?> 
- <mosinstall type="module" version="4.5.1">
сам модуль очень маленький:
Код
<?php
/**
* FileName: mod_remositorynewest.php
* Date: April 2009
* License: GNU General Public License
* Script Version #: 3.50
* ReMOSitory Version #: 3.50 or above
* Author: Martin Brampton - martin@remository.com (http://remository.com)
* Copyright: Martin Brampton 2006-9
**/

defined( '_VALID_MOS' ) OR defined ( '_JEXEC' ) OR die( 'Direct Access to this location is not allowed.' );

$cmsapi_addon_topdir = 'mambots/plugins/modules';
$cmsapi_addon_tops = explode('/', $cmsapi_addon_topdir);
$cmsapi_mydir = array_reverse(explode('/', str_replace('\\', '/', __FILE__)));
do $cmsapi_shifted = array_shift($cmsapi_mydir); while (!in_array($cmsapi_shifted, $cmsapi_addon_tops));
$cmsapi_absolute_path = implode('/', array_reverse($cmsapi_mydir));

require_once($cmsapi_absolute_path.'/components/com_remository/remository.interface.php');

$mod_remositorynewest = new mod_remositoryNewest();
$mod_remositorynewest->showFileList(null, $content, null, $params);

При включении модуля появляется на его месте вывод ошибки:
Fatal error: Class 'mod_remositorynewest' not found in /home/www/XXX/public_html/modules/mod_remositorynewest.php on line 22
после чего генерация страницы заканчивается.
Этот модуль на Joostina работает у кого-то?
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться