rifaideen / humhub-modules-album

A group of images as memorable albums.
25 stars 12 forks source link

Problem with setup #17

Open jo1980 opened 8 years ago

jo1980 commented 8 years ago

Hi,

I downloaded the files to the modules directory of humhub but when I go into humhub to activate the album form do not see it. Where am I wrong?

rifaideen commented 8 years ago

can you try rifaideen/album with 'url' branch On 28 May 2016 14:05, "jo1980" notifications@github.com wrote:

Hi,

I downloaded the files to the modules directory of humhub but when I go into humhub to activate the album form do not see it. Where am I wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rifaideen/humhub-modules-album/issues/17, or mute the thread https://github.com/notifications/unsubscribe/AEfI1UeyOxU5L55O0y8ivmttUDwaCgSmks5qF_5UgaJpZM4IpBz- .

jo1980 commented 8 years ago

Thanks! Perfect installed, but does not work hum hub :(

`1. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Event.php at line 205 196197198199200201202203204205206207208209210211212213 [$class], class_parents($class, true), class_implements($class, true) );

    foreach ($classes as $class) {
        if (!empty(self::$_events[$name][$class])) {
            foreach (self::$_events[$name][$class] as $handler) {
                $event->data = $handler[1];
                call_user_func($handler[0], $event);
                if ($event->handled) {
                    return;
                }
            }
        }
    }
}

}

  1. yii\base\ErrorHandler::handleError(8192, 'call_user_func() expects paramet...', '/Applications/MAMP/htdocs/humhub...', 205, ...)
  2. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Event.php at line 205 – call_user_func(['humhub\modules\album\Module', 'onProfileMenuInit'], yii\base\Event)
  3. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Component.php at line 549 – yii\base\Event::trigger('humhub\modules\user\widgets\Prof...', 'init', yii\base\Event)
  4. in /Applications/MAMP/htdocs/humhub/protected/humhub/widgets/BaseMenu.php at line 51 – yii\base\Component::trigger('init') 45464748495051525354555657 public function init() { $this->addItemGroup(array( 'id' => '', 'label' => '' )); $this->trigger(self::EVENT_INIT); return parent::init(); }
/**
 * Adds new Item to the menu
 *
  1. in /Applications/MAMP/htdocs/humhub/protected/humhub/modules/user/widgets/ProfileMenu.php at line 53 – humhub\widgets\BaseMenu::init() 47484950515253545556575859 'url' => $this->user->createUrl('//user/profile/about'), 'sortOrder' => 300, 'isActive' => (Yii::$app->controller->id == "profile" && Yii::$app->controller->action->id == "about"), )); //}

    parent::init();

    }

    public function run() { if (Yii::$app->user->isGuest && $this->user->visibility != User::VISIBILITY_ALL) { return;

  2. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Object.php at line 107 – humhub\modules\user\widgets\ProfileMenu::init()
  3. yii\base\Object::__construct(['user' => humhub\modules\user\models\User])
  4. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/di/Container.php at line 374 – ReflectionClass::newInstanceArgs([['user' => humhub\modules\user\models\User]])
  5. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/di/Container.php at line 153 – yii\di\Container::build('humhub\modules\user\widgets\Prof...', [], ['user' => humhub\modules\user\models\User])
  6. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/BaseYii.php at line 344 – yii\di\Container::get('humhub\modules\user\widgets\Prof...', [], ['user' => humhub\modules\user\models\User])
  7. in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Widget.php at line 97 – yii\BaseYii::createObject(['user' => humhub\modules\user\models\User])
  8. in /Applications/MAMP/htdocs/humhub/protected/humhub/modules/user/views/profile/_layout.php at line 12 – yii\base\Widget::widget(['user' => humhub\modules\user\models\User, 'class' => 'humhub\modules\user\widgets\Prof...']) 6789101112131415161718

    <?= \humhub\modules\user\widgets\ProfileHeader::widget(['user' => $user]); ?>

$this->context->user]); ?>
``` context->hideSidebar) && $this->context->hideSidebar) : ?>
```
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 325 – require('/Applications/MAMP/htdocs/humhub...')
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 247 – yii\base\View::renderPhpFile('/Applications/MAMP/htdocs/humhub...', ['content' => ' <div class="panel panel-default...'])
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 149 – yii\base\View::renderFile('/Applications/MAMP/htdocs/humhub...', ['content' => ' <div class="panel panel-default...'], null)
  • in /Applications/MAMP/htdocs/humhub/protected/humhub/views/layouts/main.php at line 135 – yii\base\View::render('@humhub/modules/user/views/profi...', ['content' => ' <div class="panel panel-default...']) 129130131132133134135136137138139140141

    <?php echo \humhub\modules\tour\widgets\Tour::widget(); ?>

    <?php if (isset($this->context->subLayout) && $this->context->subLayout != "") : ?> <?php echo $this->render($this->context->subLayout, array('content' => $content)); ?> <?php else: ?> <?php echo $content; ?> <?php endif; ?>

  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 325 – require('/Applications/MAMP/htdocs/humhub...')
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/View.php at line 247 – yii\base\View::renderPhpFile('/Applications/MAMP/htdocs/humhub...', ['content' => ' <div class="panel panel-default...'])
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Controller.php at line 393 – yii\base\View::renderFile('/Applications/MAMP/htdocs/humhub...', ['content' => ' <div class="panel panel-default...'], humhub\modules\user\controllers\ProfileController)
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Controller.php at line 379 – yii\base\Controller::renderContent(' <div class="panel panel-default...')
  • in /Applications/MAMP/htdocs/humhub/protected/humhub/modules/user/controllers/ProfileController.php at line 56 – yii\base\Controller::render('index', ['user' => humhub\modules\user\models\User]) 50515253545556575859606162 ), ); }

    public function actionIndex() { return $this->render('index', ['user' => $this->contentContainer]); }

    public function actionAbout() { return $this->render('about', ['user' => $this->contentContainer]); }

  • humhub\modules\user\controllers\ProfileController::actionIndex()
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php at line 55 – call_user_func_array([humhub\modules\user\controllers\ProfileController, 'actionIndex'], [])
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Controller.php at line 154 – yii\base\InlineAction::runWithParams(['r' => 'user/profile', 'uguid' => '7628a758-7526-4939-8ee9-4fbfa950...'])
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Module.php at line 454 – yii\base\Controller::runAction('', ['r' => 'user/profile', 'uguid' => '7628a758-7526-4939-8ee9-4fbfa950...'])
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/web/Application.php at line 84 – yii\base\Module::runAction('user/profile', ['r' => 'user/profile', 'uguid' => '7628a758-7526-4939-8ee9-4fbfa950...'])
  • in /Applications/MAMP/htdocs/humhub/protected/vendor/yiisoft/yii2/base/Application.php at line 375 – yii\web\Application::handleRequest(humhub\components\Request)
  • in /Applications/MAMP/htdocs/humhub/index.php at line 25 – yii\base\Application::run() 19202122232425 require(DIR . '/protected/humhub/config/web.php'), (is_readable(DIR . '/protected/config/dynamic.php')) ? require(DIR . '/protected/config/dynamic.php') : [], require(DIR . '/protected/config/common.php'), require(DIR . '/protected/config/web.php') );
  • (new humhub\components\Application($config))->run(); $_GET = [ 'r' => 'user/profile', 'uguid' => '7628a758-7526-4939-8ee9-4fbfa950348e', ];

    $_COOKIE = [ 'pm_getting-started-panel' => 'expanded', 'pm_new-people-panel' => 'expanded', 'pm_new-spaces-panel' => 'expanded', 'pm_profile-follower-panel' => 'expanded', 'pm_share-panel' => 'expanded', 'pm_space-members-panel' => 'expanded', 'pm_user-spaces-panel' => 'expanded', 'pm_user-statistics-panel' => 'expanded', 'pm_user-tags-panel' => 'expanded', 'Elgg' => '2abf27524c6a3b869b39d44c0d526092', 'PHPSESSID' => 'c551d07fce7c8db80489aa36f1af1b95', 'SQLiteManager_currentLangue' => '6', '_csrf' => 'a0202eabb2294dd152648c07adaefafbe029843865a3edd712ea5ef1994ed8d7a:2:{i:0;s:5:"_csrf";i:1;s:32:"rc5oL899-JiJO-YokOxTJgVHRwdSZHSz";}', '_identity' => 'a8a5938a5b9afd21c004bf8a1ee9f87c155ec068ded624e85095c582fa014e8ea:2:{i:0;s:9:"_identity";i:1;s:50:"[1,"7628a758-7526-4939-8ee9-4fbfa950348e",2592000]";}', ];

    $_SESSION = [ 'flash' => [], 'id' => 1, ];`

    rifaideen commented 8 years ago

    have you configured your humhub as shown in readme? On 28 May 2016 14:05, "jo1980" notifications@github.com wrote:

    Hi,

    I downloaded the files to the modules directory of humhub but when I go into humhub to activate the album form do not see it. Where am I wrong?

    — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rifaideen/humhub-modules-album/issues/17, or mute the thread https://github.com/notifications/unsubscribe/AEfI1UeyOxU5L55O0y8ivmttUDwaCgSmks5qF_5UgaJpZM4IpBz- .