GreenMeteor / discordapp

Discord Module for Humhub
https://www.humhub.org/en/marketplace/details?id=31
11 stars 5 forks source link

This module literally broke my humhub. #9

Closed xSynthx closed 7 years ago

xSynthx commented 7 years ago

I am using humhub version 1.2.2 and upon install of this module, my humhub just constantly shows a page that says "An internal server error occurred." I tried deleting the folder from the modules folder, and it still says ^ I cant go to my admin panel, or nothing.

xSynthx commented 7 years ago

I changed the correct file, but I feel like I might have changed the wrong part. You should make the 1st step more detailed, as in the file it says

<iframe src="<?php Url::to(['https://discordapp.com/widget?id=', 'id' => Url::to($this->context->route)]); ?>">
    <?php $this->render($view); ?>
</iframe>

Are we supposed to put our id after the widget?id=idhere or where it says 'id'? I put it after the widget?id= the first time, and thats when the error occurred, I then put the id where it says 'id' and it didnt fix the error.

Felli commented 7 years ago

Please note that this module is under development, and is in no way to be used without knowing how to implement the Server ID, and I don't have the time to document how to use this module in it's current state.

xSynthx commented 7 years ago

If anyone has this same issue, please check here: https://github.com/humhub/humhub/issues/2729

Felli commented 7 years ago

The module should now be fully operational.