gallery's People
Forkers
felli solracsf buliwyfa humanized semir1212 sakurafarm utmostcreator t3social albiwe hagalaz kikketergallery's Issues
Add comment + like section to gallery modal view.
Add notification grouping
Humhub is creating a new notification and an event in "Last activities" for each uploaded image to the gallery. So if a person will upload 40 images at once, everybody will get 40 notifications about it and all the "latest activity" will basically be wiped out because of 40 new events.
It's very distracting if users are uploading a lot of images — all other notifications like new posts and comments are lost in never ending lists like this:
It would be much more convenient to have notifications like "User created a new Media test.jpg and 39 more" instead of "User created a new Media test1.jpg", "User created a new Media test2.jpg" and so on if images were uploaded to the same gallery at once.
But for now — is it possible to completely disable gallery upload notifications at all?
Gallery plugin cannot be deactivated
Hello there,
I've got a problem with this plugin.
At first, it seemed to work fine.
But somehow, a user uploaded pictures to a certain space using the Gallery module, causing pages which include the gallery, to not open at all anymore.
Opening the space causes this error:
Translation in short form: "Internal error occured".
The log says:
$_GET = [ 'r' => 'gallery/list' 'sguid' => '1e556be0-85f9-4e73-a609-27120864c1a0' ] $_SERVER = [ 'HTTPS' => 'on' 'SSL_TLS_SNI' => 'intra.mycompany.de' 'HTTP_HOST' => 'intra.mycompany.de' 'HTTP_CONNECTION' => 'keep-alive' 'HTTP_UPGRADE_INSECURE_REQUESTS' => '1' 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898' 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8' 'HTTP_REFERER' => 'https://intra.mycompany.de/index.php?r=calendar%2Fview%2Findex&sguid=1e556be0-85f9-4e73-a609-27120864c1a0' 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, sdch, br' 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.8' 'HTTP_COOKIE' => '__utma=139493682.1385203151.1480931311.1481107962.1493794986.4; __utmz=139493682.1480931311.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); language=4475f6b4f2e697c997636f021a854db7c5c3bb60d6dcf32735f7c9c1376952e0a%3A2%3A%7Bi%3A0%3Bs%3A8%3A%22language%22%3Bi%3A1%3Bs%3A2%3A%22de%22%3B%7D; PHPSESSID=j8e3kueh3a93l37rh3mg0c15q2; _csrf=ed784e9eb2fd7164289a6a024444b0a649f2258dd9df407df3c93bf07098b3f3a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22R%01%0F%C1%15%AE%BD%1B%0F%E8%EDV%F4%7B%E7%80%F7%10%FF%AA%D8%FE%11%AD%3C%1E8%9AG%AD-%82%22%3B%7D; pm_getting-started-panel=expanded; pm_new-people-panel=expanded; pm_user-statistics-panel=expanded; pm_custom-snippet-1=expanded; pm_space-members-panel=expanded; _identity=34c775f826d497f98364757feb1a95d629be179740ddc6f032d21e14be0eaa5da%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A50%3A%22%5B1%2C%220b0dd521-3546-4ccd-84fe-eb34d2f4d72e%22%2C2592000%5D%22%3B%7D' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' 'SERVER_SIGNATURE' => '
Apache/2.4.18 (Ubuntu) Server at intra.mycompany.de Port 443 ' 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)' 'SERVER_NAME' => 'intra.mycompany.de' 'SERVER_ADDR' => '192.168.246.43' 'SERVER_PORT' => '443' 'REMOTE_ADDR' => '10.9.0.193' 'DOCUMENT_ROOT' => '/var/www/html/' 'REQUEST_SCHEME' => 'https' 'CONTEXT_PREFIX' => '' 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/' 'SERVER_ADMIN' => '[no address given]' 'SCRIPT_FILENAME' => '/var/www/html/index.php' 'REMOTE_PORT' => '55789' 'GATEWAY_INTERFACE' => 'CGI/1.1' 'SERVER_PROTOCOL' => 'HTTP/1.1' 'REQUEST_METHOD' => 'GET' 'QUERY_STRING' => 'r=gallery%2Flist&sguid=1e556be0-85f9-4e73-a609-27120864c1a0' 'REQUEST_URI' => '/index.php?r=gallery%2Flist&sguid=1e556be0-85f9-4e73-a609-27120864c1a0' 'SCRIPT_NAME' => '/index.php' 'PHP_SELF' => '/index.php' 'REQUEST_TIME_FLOAT' => 1498640528.007 'REQUEST_TIME' => 1498640528 ]
The gallery-module itself seems to work fine with other spaces, though...
What i have tried:
- Removing the gallery-module from the space = Doesn't work, error code below:
$_GET = [ 'r' => 'space/manage/module/disable' 'moduleId' => 'gallery' 'sguid' => '1e556be0-85f9-4e73-a609-27120864c1a0' ] $_SERVER = [ 'HTTPS' => 'on' 'SSL_TLS_SNI' => 'intra.mycompany.de' 'HTTP_HOST' => 'intra.poet.de' 'HTTP_CONNECTION' => 'keep-alive' 'CONTENT_LENGTH' => '0' 'HTTP_ACCEPT' => 'application/json, text/javascript, /; q=0.01' 'HTTP_ORIGIN' => 'https://intra.mycompany.de' 'HTTP_X_CSRF_TOKEN' => 'YhBA5hdbuVT6rWWIKnTyaxgSkVxgbwPNB8dZV3iqUNowEU8nAvUET_VFiN7eDxXr7wJu9riREmA72WHNPwd9WA==' 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 OPR/45.0.2552.898' 'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest' 'HTTP_REFERER' => 'https://intra.mycompany.de/index.php?r=space%2Fmanage%2Fmodule&sguid=1e556be0-85f9-4e73-a609-27120864c1a0' 'HTTP_ACCEPT_ENCODING' => 'gzip, deflate, br' 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.8' 'HTTP_COOKIE' => '__utma=139493682.1385203151.1480931311.1481107962.1493794986.4; __utmz=139493682.1480931311.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); language=4475f6b4f2e697c997636f021a854db7c5c3bb60d6dcf32735f7c9c1376952e0a%3A2%3A%7Bi%3A0%3Bs%3A8%3A%22language%22%3Bi%3A1%3Bs%3A2%3A%22de%22%3B%7D; PHPSESSID=j8e3kueh3a93l37rh3mg0c15q2; _csrf=ed784e9eb2fd7164289a6a024444b0a649f2258dd9df407df3c93bf07098b3f3a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22R%01%0F%C1%15%AE%BD%1B%0F%E8%EDV%F4%7B%E7%80%F7%10%FF%AA%D8%FE%11%AD%3C%1E8%9AG%AD-%82%22%3B%7D; pm_getting-started-panel=expanded; pm_new-people-panel=expanded; pm_user-statistics-panel=expanded; pm_custom-snippet-1=expanded; pm_space-members-panel=expanded; pm_space-gallery-snippet=expanded; _identity=34c775f826d497f98364757feb1a95d629be179740ddc6f032d21e14be0eaa5da%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A50%3A%22%5B1%2C%220b0dd521-3546-4ccd-84fe-eb34d2f4d72e%22%2C2592000%5D%22%3B%7D' 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' 'SERVER_SIGNATURE' => '
Apache/2.4.18 (Ubuntu) Server at intra.mycompany.de Port 443 ' 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)' 'SERVER_NAME' => 'intra.mycompany.de' 'SERVER_ADDR' => '192.168.246.43' 'SERVER_PORT' => '443' 'REMOTE_ADDR' => '10.9.0.193' 'DOCUMENT_ROOT' => '/var/www/html/' 'REQUEST_SCHEME' => 'https' 'CONTEXT_PREFIX' => '' 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/' 'SERVER_ADMIN' => '[no address given]' 'SCRIPT_FILENAME' => '/var/www/html/index.php' 'REMOTE_PORT' => '57046' 'GATEWAY_INTERFACE' => 'CGI/1.1' 'SERVER_PROTOCOL' => 'HTTP/1.1' 'REQUEST_METHOD' => 'POST' 'QUERY_STRING' => 'r=space%2Fmanage%2Fmodule%2Fdisable&moduleId=gallery&sguid=1e556be0-85f9-4e73-a609-27120864c1a0' 'REQUEST_URI' => '/index.php?r=space%2Fmanage%2Fmodule%2Fdisable&moduleId=gallery&sguid=1e556be0-85f9-4e73-a609-27120864c1a0' 'SCRIPT_NAME' => '/index.php' 'PHP_SELF' => '/index.php' 'REQUEST_TIME_FLOAT' => 1498641334.001 'REQUEST_TIME' => 1498641334 ]
- Uninstalling it from the administration module = Same
- Removing it from the modules-directory = Causes ALL links and spaces to not work at all.
What else can i do beside restoring the whole VM?
Thanks in advance!
Cheers
poeticpenguin
Photo Tags
When adding photos to Gallery albums, I can later go back and add/edit the text description of the individual photo. I would like to have a practical way to tag users or topics as well.
I do see a Topics option for the connected post. But I haven't figured out any way to insert a user tag here.
Gallery do not support 'jpeg' format
When I try to upload pictures to the gallery modul from my Iphone 5 (pictures that I have saved on my phone) I get an error messages that the fil format is not supported. The file format is jpeg. The gallery module shuld support that. I hope you can add this soon.
[Bug] Edit doesn't work anymore
System
PHP V 7.3.17
HumHub 1.5.1
Firefox 76 and Win 8.1 for me
Gallery module version 1.1.0
Problem description
It isn't possible to edit a gallery anymore from the gallery overview. When I click it, a box opens to create an new gallery.
Expected behaviour
Show the gallery name and the already written description as can be seen here below
Request: Make galleries and images inside of galleries sortable
Best would probably be to let only a certain user group (moderators per default) sort them. The Permission "Gallery write access" should be used for it.
Request: Video content support
Supporting video files in either in own "video galleries" or together with image contents.
Support embedded videos. (Youtube, ...)
feature: picture / gallery download
An option to be able to download each file (in its original) and/or a zip/tar file of a complete gallery would be very useful.
DB-Error with max_user_connections
I use
- HumHub Version 1.5.1
- VirtualManagedServer with MySQL 5.6.19 and PHP 7.2
Procedure:
- Gallery module installed and activated (in an existing system with a lot of content)
- Module activated in a space with many contents
- Clicked on the "Gallery" menu item in the space navigation
=> System no longer responds.
After some time, "An internal server error occurred" appears in the frontend.
If I start e.g. "yii integrity/run
" via CLI, I get the following error message:
Exception 'yii\db\Exception' with message 'SQLSTATE[HY000] [1203] User db23***** already has more than 'max_user_connections' active connections'.
And in php error.log:
PDOException: SQLSTATE[HY000] [1203] User db236519_118 already has more than 'max_user_connections' active connections in /kunden/23*****/humhub/protected/vendor/yiisoft/yii2/db/Connection.php:703
max_user_connections is set to 150 (and unfortunately cannot be increased).
I think the module generates a lot of DB-queries without a limitation of the user_connections because of the already existing content.
show only one image on space
I installed the modules but I see that the module show every image as post, is it possible to show only one image in space and with open gallery and not to show every image as post, because now it show 2 images each one as post with open gallery and at the bottom, show more.
If it possible to show only one image as with open gallery.
Thank you
Request: User choosable gallery preview image from gallery content
Add a field to the media edit modal to choose this mediafile as the gallery thumbnail file.
Feature: Richtext descriptions
To be able to write richtext in gallery and file descriptions would be nice.
Since humhub 1.5.1 Galleries in old Space are broken
After Updating to humhub 1.5.1 opening a gallery in old (created before 1.5.1) Space results to a error:
"internal server error"
From logging I got this error message:
yii\base\UnknownPropertyException: Setting unknown property: humhub\modules\gallery\models\SquarePreviewImage::imageInfo in /srv/www/humhub/protected/vendor/yiisoft/yii2/base/BaseObject.php:163 Stack trace: #0 /srv/www/humhub/protected/modules/gallery/models/SquarePreviewImage.php(63): yii\base\BaseObject->__set('imageInfo', Array) #1 /srv/www/humhub/protected/humhub/modules/file/converter/BaseConverter.php(67): humhub\modules\gallery\models\SquarePreviewImage->convert('v93dd751f') #2 /srv/www/humhub/protected/humhub/modules/file/converter/BaseConverter.php(78): humhub\modules\file\converter\BaseConverter->getFilename() #3 /srv/www/humhub/protected/modules/gallery/models/SquarePreviewImage.php(79): humhub\modules\file\converter\BaseConverter->getUrl() #4 /srv/www/humhub/protected/modules/gallery/models/StreamGallery.php(51): humhub\modules\gallery\models\SquarePreviewImage::getSquarePreviewImageUrlFromFile(Object(humhub\modules\file\models\File)) #5 /srv/www/humhub/protected/modules/gallery/models/BaseGallery.php(117): humhub\modules\gallery\models\StreamGallery->getPreviewImageUrl() #6 /srv/www/humhub/protected/modules/gallery/models/StreamGallery.php(83): humhub\modules\gallery\models\BaseGallery->getMetaData() #7 /srv/www/humhub/protected/modules/gallery/widgets/GalleryListEntry.php(42): humhub\modules\gallery\models\StreamGallery->getMetaData() #8 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryListEntry->run() #9 /srv/www/humhub/protected/modules/gallery/widgets/views/galleryList.php(26): yii\base\Widget::widget(Array) #10 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/srv/www/humhub...') #11 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/srv/www/humhub...', Array) #12 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/srv/www/humhub...', Array, Object(humhub\modules\gallery\widgets\GalleryList)) #13 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(236): yii\base\View->render('galleryList', Array, Object(humhub\modules\gallery\widgets\GalleryList)) #14 /srv/www/humhub/protected/modules/gallery/widgets/GalleryList.php(30): yii\base\Widget->render('galleryList', Array) #15 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryList->run() #16 /srv/www/humhub/protected/modules/gallery/views/list/gallery_list.php(63): yii\base\Widget::widget(Array) #17 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/srv/www/humhub...') #18 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/srv/www/humhub...', Array) #19 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/srv/www/humhub...', Array, Object(humhub\modules\gallery\controllers\ListController)) #20 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render('/list/gallery_l...', Array, Object(humhub\modules\gallery\controllers\ListController)) #21 /srv/www/humhub/protected/modules/gallery/controllers/ListController.php(83): yii\base\Controller->render('/list/gallery_l...', Array) #22 /srv/www/humhub/protected/modules/gallery/controllers/ListController.php(36): humhub\modules\gallery\controllers\ListController->renderGallery() #23 [internal function]: humhub\modules\gallery\controllers\ListController->actionIndex() #24 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) #25 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) #26 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array) #27 /srv/www/humhub/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('gallery/list', Array) #28 /srv/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request)) #29 /srv/www/humhub/index.php(25): yii\base\Application->run() #30 {main}
Opening a gallery in a new (created with 1.5.1) space doesn't result to an error.
Removing gallery directly from BD will not be cleaned up properly by integrity check.
The yii console program integrity/run
is missing the relation from gallery to contained media files. The files won't be removed even if the gallery is gone.
DO NOT INSTALL
After installing, this module literally broke my database. Was even harder to uninstall, which broke my database even more. Been spending hours now trying to fix it but as of yet still no success.
If you want to save yourself a headache, avoid (for now)
Gallery Menu Doesn't Work on Android
If I go to any individual gallery using my phone, the gear icon for the menu is overlapped slightly by the "Back to overview" button and is unusable.
HumHub v1.3.14
Chrome 75
Android 8.1
Internal Server Error on large galleries?
Hello,
the module works fine. When I create a gallery looks good, too.
Now I have a gallery (in the space) with approx. 210 images (not the smallest one -> 2500px width).
When I open this gallery directly I can see the images. When I go back to the gallery-list (or click in the navigation on "gallery" I get a server error:
An internal server error occurred.Database Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away The SQL being executed was: SELECT id
FROM user_http_session
WHERE id
='xxx'
Is there any problem with big galleries?
Thanks for your help!
gallery bug - Settings gallery
No gallery settings available on User profiles
[Feature request] Arrange galleries via drag and drop
It would be comfortable to rearrange the existing arrangement of galleries itself as well as photos within galleries via drag and drop to create an ordering by priority.
Requested resource not found after updating the gallery module
I updated the gallery module to version 1.0.5 to day. When I try to add a picture to the gallery an error message appears. I try to click and drop files but nothing is working. At the particular space the permission for members on the Gallery write access module is set to allow.
If I set administrator permission on the user the error message does not appear and everything works fine.
The error message looks like this for user that not have the administrative permissions:
`Forespurt ressurs ble ikke fnnet.
{
"readyState": 4,
"responseText": "{"error":true,"message":""}",
"responseJSON": {
"error": true,
"message": ""
},
"status": 404,
"statusText": "Not Found"
}`
Add gallery should not have same icon add images
Please, change the icon add gallery and add image.
1st time users get really confuse about this,
Thanks
Public gallery problem
Hi,
It sems to be a problem when you make a public gallery it wont show up on gallery section, Only if you login you will see it but Public means it should show to everyone + guests.
Is there any fix for this?
Add snippet sort_order
traslation missing create gallery
On
humhub-modules-gallery/views/custom-gallery/modal_gallery_edit.php
Title and Description are cannot be translated.
Maximum number of allowable file uploads has been exceeded
This error outputs after upload all files, an error/warning should be triggered before like "You can only upload X files at the same time"
{
"readyState": 4,
"responseText": "<br />\n<b>Warning</b>: Maximum number of allowable file uploads has been exceeded in <b>Unknown</b> on line <b>0</b><br />\n<br />\n<b>Warning</b>: Maximum number of allowable file uploads has been exceeded in <b>Unknown</b> on line <b>0</b><br />\n<br />\n<b>Warning</b>: Maximum number of allowable file uploads has been exceeded in <b>Unknown</b> on line <b>0</b><br />\n<br />\n<b>Warning</b>: Maximum number of allowable file uploads has been exceeded in <b>Unknown</b> on line <b>0</b><br />
"status": 200,
"statusText": "OK"
}
Gallery of posted media files shows text from post
The loader does not work properly. It does not spin at all
Gallery commit(branch): 155bb02feaabd90dbe80e8196874467646ab4add (latest master for September 4th).
HumHub Version: 1.7.0-dev
.
HumHub video
From gallery web-page video
Tested in Chrome 85.0.4183.83; Chrome Canary Version 87.0.4254.2
gallery 1.0.17 does not work with 1.5.0-beta.1
After update to 1.5.0-beta.1. my humhub only showed my logo and a dot.
after deactive the gallery everythin works fine again.
reinstalled the gallery everything works; but after that i post the first picture humhub was down again
The SELECT would examine more than MAX_JOIN_SIZE rows;
Error Log
Fehler Thu, 30 Apr 2020 16:16:29 +0200 yii\db\Exception
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=\n
# if the SELECT is okay in /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Command.php:1293 Stack trace: \n
#0 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Command.php(1293): PDOStatement->execute() \n
#1 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Command.php(1159): yii\db\Command->internalExecute('SELECT `file`.`...') \n
#2 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Command.php(415): yii\db\Command->queryInternal('fetch', NULL) \n
#3 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Query.php(274): yii\db\Command->queryOne() \n
#4 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/ActiveQuery.php(304): yii\db\Query->one(NULL) \n
#5 /is/htdocs/xxx/www/humhub/protected/modules/gallery/models/StreamGallery.php(48): yii\db\ActiveQuery->one() \n
#6 /is/htdocs/xxx/www/humhub/protected/modules/gallery/models/BaseGallery.php(117): humhub\modules\gallery\models\StreamGallery->getPreviewImageUrl() \n
#7 /is/htdocs/xxx/www/humhub/protected/modules/gallery/models/StreamGallery.php(83): humhub\modules\gallery\models\BaseGallery->getMetaData() \n
#8 /is/htdocs/xxx/www/humhub/protected/modules/gallery/widgets/GalleryListEntry.php(42): humhub\modules\gallery\models\StreamGallery->getMetaData() \n
#9 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryListEntry->run() \n
#10 /is/htdocs/xxx/www/humhub/protected/modules/gallery/widgets/views/galleryList.php(26): yii\base\Widget::widget(Array) \n
#11 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/is/htdocs/wp12...') \n
#12 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/is/htdocs/wp12...', Array) \n
#13 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/is/htdocs/wp12...', Array, Object(humhub\modules\gallery\widgets\GalleryList)) \n
#14 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(236): yii\base\View->render('galleryList', Array, Object(humhub\modules\gallery\widgets\GalleryList)) \n
#15 /is/htdocs/xxx/www/humhub/protected/modules/gallery/widgets/GalleryList.php(30): yii\base\Widget->render('galleryList', Array) \n
#16 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryList->run() \n
#17 /is/htdocs/xxx/www/humhub/protected/modules/gallery/views/list/gallery_list.php(63): yii\base\Widget::widget(Array) \n
#18 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/is/htdocs/wp12...') \n
#19 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/is/htdocs/wp12...', Array) \n
#20 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/is/htdocs/wp12...', Array, Object(humhub\modules\gallery\controllers\ListController)) \n
#21 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render('/list/gallery_l...', Array, Object(humhub\modules\gallery\controllers\ListController)) \n
#22 /is/htdocs/xxx/www/humhub/protected/modules/gallery/controllers/ListController.php(83): yii\base\Controller->render('/list/gallery_l...', Array) \n
#23 /is/htdocs/xxx/www/humhub/protected/modules/gallery/controllers/ListController.php(36): humhub\modules\gallery\controllers\ListController->renderGallery() \n
#24 [internal function]: humhub\modules\gallery\controllers\ListController->actionIndex() \n
#25 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) \n
#26 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) \n
#27 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array) \n
#28 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('gallery/list', Array) \n
#29 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request)) \n
#30 /is/htdocs/xxx/www/humhub/index.php(25): yii\base\Application->run() \n
#31 {main} Next yii\db\Exception: SQLSTATE[42000]: Syntax error or access violation: 1104 The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=\n
# if the SELECT is okay The SQL being executed was: SELECT `file`.`id` FROM `post` LEFT JOIN `content` ON `post`.`id` = `content`.`object_id` LEFT JOIN `contentcontainer` ON `content`.`contentcontainer_id` = `contentcontainer`.`id` LEFT JOIN `user` ON `content`.`created_by` = `user`.`id` LEFT JOIN `space` ON contentcontainer.pk=space.id AND contentcontainer.class='humhub\\modules\\space\\models\\Space' LEFT JOIN `user` `cuser` ON contentcontainer.pk=cuser.id AND contentcontainer.class='humhub\\modules\\user\\models\\User' LEFT JOIN `space_membership` ON contentcontainer.pk=space_membership.space_id AND contentcontainer.class='humhub\\modules\\space\\models\\Space' AND space_membership.user_id=4 LEFT JOIN `user_friendship` `cff` ON cuser.id=cff.user_id AND cff.friend_user_id=4 LEFT JOIN `comment` ON (post.id=comment.object_id AND comment.object_model='humhub\\modules\\comment\\models\\Comment') RIGHT JOIN `file` ON ((post.id=file.object_id AND file.object_model='humhub\\modules\\post\\models\\Post') OR (comment.id=file.object_id AND file.object_model='humhub\\modules\\comment\\models\\Comment')) WHERE ((`contentcontainer`.`pk`=77) AND (`contentcontainer`.`class`='humhub\\modules\\space\\models\\Space')) AND (space.id IS NOT NULL AND ( (space_membership.status=3) OR (content.visibility=1 AND space.visibility != 0)) OR cuser.id IS NOT NULL AND ( (content.visibility = 1) OR (content.visibility = 0 AND content.contentcontainer_id=6) OR (content.visibility = 0 AND cff.id IS NOT NULL))OR content.created_by=4 OR content.contentcontainer_id IS NULL) AND (`file`.`mime_type` LIKE '%image/%') AND (`content`.`object_model`='humhub\\modules\\post\\models\\Post') AND (`content`.`object_model`='humhub\\modules\\post\\models\\Post') ORDER BY `content`.`updated_at` DESC in /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Schema.php:674 Stack trace: \n
#0 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Command.php(1298): yii\db\Schema->convertException(Object(PDOException), 'SELECT `file`.`...') \n
#1 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Command.php(1159): yii\db\Command->internalExecute('SELECT `file`.`...') \n
#2 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Command.php(415): yii\db\Command->queryInternal('fetch', NULL) \n
#3 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/Query.php(274): yii\db\Command->queryOne() \n
#4 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/db/ActiveQuery.php(304): yii\db\Query->one(NULL) \n
#5 /is/htdocs/xxx/www/humhub/protected/modules/gallery/models/StreamGallery.php(48): yii\db\ActiveQuery->one() \n
#6 /is/htdocs/xxx/www/humhub/protected/modules/gallery/models/BaseGallery.php(117): humhub\modules\gallery\models\StreamGallery->getPreviewImageUrl() \n
#7 /is/htdocs/xxx/www/humhub/protected/modules/gallery/models/StreamGallery.php(83): humhub\modules\gallery\models\BaseGallery->getMetaData() \n
#8 /is/htdocs/xxx/www/humhub/protected/modules/gallery/widgets/GalleryListEntry.php(42): humhub\modules\gallery\models\StreamGallery->getMetaData() \n
#9 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryListEntry->run() \n
#10 /is/htdocs/xxx/www/humhub/protected/modules/gallery/widgets/views/galleryList.php(26): yii\base\Widget::widget(Array) \n
#11 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/is/htdocs/wp12...') \n
#12 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/is/htdocs/wp12...', Array) \n
#13 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/is/htdocs/wp12...', Array, Object(humhub\modules\gallery\widgets\GalleryList)) \n
#14 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(236): yii\base\View->render('galleryList', Array, Object(humhub\modules\gallery\widgets\GalleryList)) \n
#15 /is/htdocs/xxx/www/humhub/protected/modules/gallery/widgets/GalleryList.php(30): yii\base\Widget->render('galleryList', Array) \n
#16 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryList->run() \n
#17 /is/htdocs/xxx/www/humhub/protected/modules/gallery/views/list/gallery_list.php(63): yii\base\Widget::widget(Array) \n
#18 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(348): require('/is/htdocs/wp12...') \n
#19 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile('/is/htdocs/wp12...', Array) \n
#20 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile('/is/htdocs/wp12...', Array, Object(humhub\modules\gallery\controllers\ListController)) \n
#21 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render('/list/gallery_l...', Array, Object(humhub\modules\gallery\controllers\ListController)) \n
#22 /is/htdocs/xxx/www/humhub/protected/modules/gallery/controllers/ListController.php(83): yii\base\Controller->render('/list/gallery_l...', Array) \n
#23 /is/htdocs/xxx/www/humhub/protected/modules/gallery/controllers/ListController.php(36): humhub\modules\gallery\controllers\ListController->renderGallery() \n
#24 [internal function]: humhub\modules\gallery\controllers\ListController->actionIndex() \n
#25 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array) \n
#26 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array) \n
#27 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('', Array) \n
#28 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('gallery/list', Array) \n
#29 /is/htdocs/xxx/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(humhub\components\Request)) \n
#30 /is/htdocs/xxx/www/humhub/index.php(25): yii\base\Application->run() \n
#31 {main} Additional Information: Array ( [0] => 42000 [1] => 1104 [2] => The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=\n
# if the SELECT is okay )
Add loader animation until images are loaded
Menu truncated and transparent (Chrome)
Test broken due Chrome Driver
Gallery snippet not working on mobile
When opening the the mobile sidebar with gallery snippet an error is logged:
Uncaught TypeError: Cannot read property 'firstChild' of undefined
at i.loadElement (blueimp-gallery.js:1098)
at i.loadElements (blueimp-gallery.js:1127)
at i.handleSlide (blueimp-gallery.js:971)
at i.handleSlide (blueimp-gallery-indicator.js:132)
at i.handleSlide (blueimp-gallery-video.js:43)
at i.onslide (blueimp-gallery.js:980)
at i.slide (blueimp-gallery.js:380)
at blueimp-gallery.js:416
[Feature request] Rotate images
Gallery Snippet Missing on Profiles
I don't understand why there's a Gallery Snippet on the Space Stream, but not on the Profile Stream? Shouldn't this be configurable the same way on both?
Module cannot be uninstalled
Using the latest version on a stable humhub 1.2.4 deploy:
Error msg when deleting from modules page in admin section:
Calling unknown method: humhub\modules\gallery\Module::getPath()
Request: Delete multiple files inside a gallery at once
Would be nice if a user can mark multiple files and delete them at once. Helpful in managing larger galleries.
[Feature request] Avoid uploading the same image twice
At the moment it's possible to upload the same image twice to a gallery. There should be a window asking "Do you want to overwrite the existing image?".
gallery 1.0.17 gives errors on 1.5.0-beta.1
After update to 1.5.0-beta.1. my humhub only showed my logo and a dot.
after deactive the gallery everythin works fine again.
reinstalled the gallery everything works; but after that i post the first picture humhub was down again
Image view not reachable for click (Chrome)
Automatic downsizing
It might be useful to automatically reduce the uploaded images to an acceptable size. The Files module could be used to upload the images in their original size if need be.
Uploading pictures results in unexpected error
When uploading photos, the progress bar fills to 100%, then the upload fails and am greeted by an unexpected error occurred message.
It happens on iPhone and Safari on macOS
Hide posts in Stream
It is often unnecessary to create an extra post for each upload. A checkbox when uploading a file or creating a folder that prevents this would be useful.
permission bug: public content for user gallery get exposed to guests
Noticed today, that the content from a users gallery got exposed to the public stream for guests when marked as public. so there is some ACL bug in the controller, which not checks correctly for permissions.
My site has only one public space and anything else is normally only view able if you are a registered user and this works very well, except for gallery.
So I will take a look around, if I can figure out how to fix it, but just want to inform you.
Best wishes
Issue: Uploading multiple files sometimes causes the page not to reload
PHP Warning
Declaration of humhub\modules\gallery\controllers\MediaController::actionEdit($itemId, $openGalleryId = NULL, $fromWall = false)
should be compatible with humhub\modules\gallery\controllers\CustomGalleryController::actionEdit($itemId = NULL, $visibility = humhub\modules\content\models\Content::VISIBILITY_PRIVATE)
in /protected/modules/gallery/controllers/MediaController.php
on line 62
(empty) Gallery page inaccessible after install and activation
Hello all,
I had install Humhub on Debian 8 Jessie with php7.4 (fpm), apache2.4.10.
Site running successfull. I install many modules. I use it creating spaces and content.
When i active Gallery module on one space, if i click on "Gallery" link on left to display Gallery, then i have an error (for link .../gallery/list).
yii\base\ErrorException: Trying to access array offset on value of type null in ((path))/protected/modules/gallery/models/StreamGallery.php:49 Stack trace: #0 ((path))/protected/modules/gallery/models/StreamGallery.php(49): yii\base\ErrorHandler->handleError() #1 ((path))/protected/modules/gallery/models/BaseGallery.php(118): humhub\modules\gallery\models\StreamGallery->getPreviewImageUrl() #2 ((path))/protected/modules/gallery/models/StreamGallery.php(82): humhub\modules\gallery\models\BaseGallery->getMetaData() #3 ((path))/protected/modules/gallery/widgets/GalleryListEntry.php(41): humhub\modules\gallery\models\StreamGallery->getMetaData() #4 ((path))/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryListEntry->run() #5 ((path))/protected/modules/gallery/widgets/views/galleryList.php(26): yii\base\Widget::widget() #6 ((path))/protected/vendor/yiisoft/yii2/base/View.php(336): require('((path))/pr...') #7 ((path))/protected/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile() #8 ((path))/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile() #9 ((path))/protected/vendor/yiisoft/yii2/base/Widget.php(236): yii\base\View->render() #10 ((path))/protected/modules/gallery/widgets/GalleryList.php(30): yii\base\Widget->render() #11 ((path))/protected/vendor/yiisoft/yii2/base/Widget.php(140): humhub\modules\gallery\widgets\GalleryList->run() #12 ((path))/protected/modules/gallery/views/list/gallery_list.php(63): yii\base\Widget::widget() #13 ((path))/protected/vendor/yiisoft/yii2/base/View.php(336): require('((path))/pr...') #14 ((path))/protected/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile() #15 ((path))/protected/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile() #16 ((path))/protected/vendor/yiisoft/yii2/base/Controller.php(384): yii\base\View->render() #17 ((path))/protected/modules/gallery/controllers/ListController.php(83): yii\base\Controller->render() #18 ((path))/protected/modules/gallery/controllers/ListController.php(36): humhub\modules\gallery\controllers\ListController->renderGallery() #19 [internal function]: humhub\modules\gallery\controllers\ListController->actionIndex() #20 ((path))/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #21 ((path))/protected/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams() #22 ((path))/protected/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction() #23 ((path))/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction() #24 ((path))/protected/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest() #25 ((path))/index.php(25): yii\base\Application->run() #26 {main}
I edit php code to add a check value of fileArray, and no problem.
public function getPreviewImageUrl() { // search for file by given thumbnail id $path = $this->getPreviewImageUrlFromThumbFileId(); if ($path !== null) { return $path; } // get first image from the complete filelist as fallback $fileArray = $this->fileListQuery() ->orderBy(['content.updated_at' => SORT_DESC]) ->asArray() ->one(); $file = null; if ($fileArray !== null) $file = File::findOne($fileArray['id']); if ($file !== null && !empty(SquarePreviewImage::getSquarePreviewImageUrlFromFile($file))) { return SquarePreviewImage::getSquarePreviewImageUrlFromFile($file); } // return default image if gallery is empty return $this->getDefaultPreviewImageUrl(); }
But why i am alone to have this error ?
I checking permissions folders, cron execution,etc. all is okay ;)
Thank you,
Regards,
Cédric.
Request: Pagination or dynamic content loading for large galleries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.