sonnb - XenGallery (XenForo Gallery) [Deleted]

Having the following error when trying to delete or moderate images in the gallery:
The following error occurred:
Mysqli statement execute error : Data too long for column 'action' at row 1
  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 317
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
  4. Zend_Db_Adapter_Abstract->insert() in DigitalPointSpy/DataWriter/ModeratorLog.php at line 18
  5. DigitalPointSpy_DataWriter_ModeratorLog->save() in sonnb/XenGallery/ModeratorLogHandler/Photo.php at line 38
  6. sonnb_XenGallery_ModeratorLogHandler_Photo->_log() in XenForo/ModeratorLogHandler/Abstract.php at line 32
  7. XenForo_ModeratorLogHandler_Abstract->log() in XenForo/Model/Log.php at line 214
  8. XenForo_Model_Log->logModeratorActionLocal() in XenForo/Model/Log.php at line 200
  9. XenForo_Model_Log::logModeratorAction() in sonnb/XenGallery/Model/InlineMod/Content.php at line 295
  10. sonnb_XenGallery_Model_InlineMod_Content->_updateContentsState() in sonnb/XenGallery/Model/InlineMod/Content.phpat line 149
  11. sonnb_XenGallery_Model_InlineMod_Content->unapproveContents() in XenForo/ControllerPublic/InlineMod/Abstract.phpat line 125
  12. XenForo_ControllerPublic_InlineMod_Abstract->executeInlineModAction() insonnb/XenGallery/ControllerPublic/InlineMod/Content.php at line 179
  13. sonnb_XenGallery_ControllerPublic_InlineMod_Content->actionUnapprove() in XenForo/FrontController.php at line 337
  14. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  15. XenForo_FrontController->run() in /home/carpedie/public_html/index.php at line 13
 
Hi,

I upgraded to xf 1-2-4 and xengallery 2.04. In the error log I found now this:

Code:
Zend_Feed_Exception: Invalid parameter: author array must include a "name" key with a non-empty string value - library/Zend/Feed/Writer/Entry.php:92

Generated By: Unknown Account, 35 minute ago

Stack Trace

#0 /mypathtofiles/library/sonnb/XenGallery/ViewPublic/Album/List.php(77): Zend_Feed_Writer_Entry->addAuthor(Array)
#1 /mypathtofiles/library/XenForo/ViewRenderer/Abstract.php(227): sonnb_XenGallery_ViewPublic_Album_List->renderRss()
#2 /mypathtofiles/library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('sonnb_XenGaller...', 'Rss', Array, 'sonnb_xengaller...')
#3 /mypathtofiles/library/XenForo/FrontController.php(582): XenForo_ViewRenderer_Rss->renderView('sonnb_XenGaller...', Array, 'sonnb_xengaller...', NULL)
#4 /mypathtofiles/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#5 /mypathtofiles/index.php(13): XenForo_FrontController->run()
#6 {main}

Request State

array(3) {
  ["url"] => string(65) "http://www.myurl.com/index.php?gallery/index.rss"
  ["_GET"] => array(1) {
    ["gallery/index_rss"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

What can cause this?
 
@sonnb -
Yesterday I imported vb user albums after already importing photopost.

I rebuilt search cache as well as albums and categories.

However I do see some issues - for example:
/gallery/albums/member-galleries.3/ (works) - found from admin profile page
/gallery/categories/member-galleries.3/ (does not work) - found in category pulldown

It looks like user albums imported correctly and are shown on profile pages. However the admin album page is messy with all albums from importing shown there and the admin albums. ANy way to remove the main albums from the admin album page?

Thanks in advance.

caliman
 
Thanks @sonnb - how long to the next release?
I expect next week.
Having the following error when trying to delete or moderate images in the gallery:
The following error occurred:
Mysqli statement execute error : Data too long for column 'action' at row 1
  1. Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 317
  2. Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
  3. Zend_Db_Adapter_Abstract->query() in Zend/Db/Adapter/Abstract.php at line 574
  4. Zend_Db_Adapter_Abstract->insert() in DigitalPointSpy/DataWriter/ModeratorLog.php at line 18
  5. DigitalPointSpy_DataWriter_ModeratorLog->save() in sonnb/XenGallery/ModeratorLogHandler/Photo.php at line 38
  6. sonnb_XenGallery_ModeratorLogHandler_Photo->_log() in XenForo/ModeratorLogHandler/Abstract.php at line 32
  7. XenForo_ModeratorLogHandler_Abstract->log() in XenForo/Model/Log.php at line 214
  8. XenForo_Model_Log->logModeratorActionLocal() in XenForo/Model/Log.php at line 200
  9. XenForo_Model_Log::logModeratorAction() in sonnb/XenGallery/Model/InlineMod/Content.php at line 295
  10. sonnb_XenGallery_Model_InlineMod_Content->_updateContentsState() in sonnb/XenGallery/Model/InlineMod/Content.phpat line 149
  11. sonnb_XenGallery_Model_InlineMod_Content->unapproveContents() in XenForo/ControllerPublic/InlineMod/Abstract.phpat line 125
  12. XenForo_ControllerPublic_InlineMod_Abstract->executeInlineModAction() insonnb/XenGallery/ControllerPublic/InlineMod/Content.php at line 179
  13. sonnb_XenGallery_ControllerPublic_InlineMod_Content->actionUnapprove() in XenForo/FrontController.php at line 337
  14. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  15. XenForo_FrontController->run() in /home/carpedie/public_html/index.php at line 13
I guess it is because of DigitalPointSpy?

Hi,

I upgraded to xf 1-2-4 and xengallery 2.04. In the error log I found now this:

Code:
Zend_Feed_Exception: Invalid parameter: author array must include a "name" key with a non-empty string value - library/Zend/Feed/Writer/Entry.php:92

Generated By: Unknown Account, 35 minute ago

Stack Trace

#0 /mypathtofiles/library/sonnb/XenGallery/ViewPublic/Album/List.php(77): Zend_Feed_Writer_Entry->addAuthor(Array)
#1 /mypathtofiles/library/XenForo/ViewRenderer/Abstract.php(227): sonnb_XenGallery_ViewPublic_Album_List->renderRss()
#2 /mypathtofiles/library/XenForo/ViewRenderer/Rss.php(31): XenForo_ViewRenderer_Abstract->renderViewObject('sonnb_XenGaller...', 'Rss', Array, 'sonnb_xengaller...')
#3 /mypathtofiles/library/XenForo/FrontController.php(582): XenForo_ViewRenderer_Rss->renderView('sonnb_XenGaller...', Array, 'sonnb_xengaller...', NULL)
#4 /mypathtofiles/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#5 /mypathtofiles/index.php(13): XenForo_FrontController->run()
#6 {main}

Request State

array(3) {
  ["url"] => string(65) "http://www.myurl.com/index.php?gallery/index.rss"
  ["_GET"] => array(1) {
    ["gallery/index_rss"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

What can cause this?
As I see in the code, this error is because of album's username is empty. This is for RSS part. You can either disable RSS (if you do not need it) or rebuild albums with "rebuild username" checked to rebuild any album which is missing data.
@sonnb -
Yesterday I imported vb user albums after already importing photopost.

I rebuilt search cache as well as albums and categories.

However I do see some issues - for example:
/gallery/albums/member-galleries.3/ (works) - found from admin profile page
/gallery/categories/member-galleries.3/ (does not work) - found in category pulldown

caliman
Can I try it out?

@sonnb
It looks like user albums imported correctly and are shown on profile pages. However the admin album page is messy with all albums from importing shown there and the admin albums. ANy way to remove the main albums from the admin album page?

Thanks in advance.
You cannot remove from admin album page, as it will remove album as well. I am not sure if I understand you correctly.
 
In all my usergroup, I disabled all instances that they can embed image on signature.
upload_2014-1-3_8-23-29.webp


But with XenGallery addon, they can now embed image using the two buttons you added.
upload_2014-1-3_8-25-17.webp
Please either remove those feature on the signature or add permission either they can use or not.

Please Asap.
 
In all my usergroup, I disabled all instances that they can embed image on signature.
View attachment 64049


But with XenGallery addon, they can now embed image using the two buttons you added.
View attachment 64050
Please either remove those feature on the signature or add permission either they can use or not.

Please Asap.
I have removed them- here- http://xenforo.com/community/threads/sonnb-xengallery-xenforo-gallery-paid.54795/page-66#post-684789 ...they really serve no useful purpose...
 
  • Like
Reactions: rdn
I disabled the buttons, Yet every user can use their image gallery on signature.
Please disable it on signature, Thanks !
 
That's funny- the edits I did to that php file are not there. Yet I do not have those buttons in my editor. Perhaps the newest update removes them? I updated to the latest version yesterday of this addon.
I'm using the latest update.
Buttons are showing.
I disabled the buttons, Yet every user can use their image gallery on signature.
Please disable it on signature, Thanks !

Why not use this option to remove those buttons?

upload_2014-1-3_13-13-6.webp

Permission for BBCode will be added.
 
Yes I already did that, the they can still link their Images.
This is a very big issue for me, As I disable images on signature.
I know because they still can type the bbcode. As I have mentioned above, permissions will be added for this bbcode.
 
  • Like
Reactions: rdn
Back
Top Bottom