Xen Media Gallery (Media Gallery for XenForo) [Paid] [Deleted]

Status
Not open for further replies.
Chris D updated Xen Media Gallery (Media Gallery for XenForo) with a new update entry:

Performance improvements and bug fixes

Xen Media Gallery 2.1.3 is available for purchase/download from the Xen Media Gallery site.

Here are the changes:
  • Feature: Option to specify maximum age of media to be shown on the media index:
View attachment 76347
    • One of Xen Media Gallery's customers has over 400,000 media items. With that number of media, the queries to select media from high numbered pages, and the query that counts the total number of media runs slowly.
    • The above feature can now mitigate that performance issue by reducing the total number of media shown on the media index.
    • The feature above is only recommended/needed if you have more than 100,000 media items.
  • Bug fixes: Certain media stats not shown unless the user has permission to view media.
  • Incorrect no permission error when no permission to view media.
  • Non empty string error in RSS feeds
  • Ability to set the slide width for the media slider was missing (now in Style Properties)
  • Undefined index 'share_users' error when viewing shared media in the news feed.
  • Incorrect AJAX response meant all previous comments were shown, when a new comment was inserted using AJAX (page refresh returned it back to normal).
  • The media block now supports RTL languages.
  • Some columns were not created during upgrade from XMG 1.x to 2.1.x.
  • Fixed a bug when importing albums from sonnb's XenGallery
  • Changed code so that soft deleted media is not removed from the search index.
    • Soft deleted media is now shown in search results if a user has permission to view deleted media.
    • You may wish to rebuild the Media content type search index after upgrading.
Thank you to everyone who has reviewed XMG 2.1! Please continue to review, especially if you haven't done so before :)

Read the rest of this update entry...
 
Sorry if you're having difficulty getting the new version.

There is currently a few issues with the box my site is on so I'm just getting that looked into.
 
Today i got this error after upgrading to new version:

Server Error
Invalid data writer 'XenGallery_DataWriter_Media' specified

  1. XenForo_DataWriter::create() in XenGallery/Deferred/Thumbnail.php at line 81
  2. XenGallery_Deferred_Thumbnail->execute() in XenForo/Model/Deferred.php at line 256
  3. XenForo_Model_Deferred->runDeferred() in XenForo/Model/Deferred.php at line 390
  4. XenForo_Model_Deferred->_runInternal() in XenForo/Model/Deferred.php at line 335
  5. XenForo_Model_Deferred->run() in XenForo/ControllerAdmin/Tools.php at line 159
  6. XenForo_ControllerAdmin_Tools->actionRunDeferred() in XenForo/FrontController.php at line 347
  7. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  8. XenForo_FrontController->run() in /var/www/vhosts/inthegame.nl/httpdocs/forums/admin.php at line 13

Please advise?
 
If you only got it once, it's likely nothing to worry about.

If that file didn't exist (which is what the error suggests) then you'd know about it by now.
 
What version did you upgrade from?

Check your FTP.

Does this file exist?
library/XenGallery/DataWriter/Media.php

If it does, can you tell me the file size, open the file and let me know what the first 5 lines or so of the file are?
 
It's in the download package so for some reason there was an error while uploading your files.

upload_2014-6-22_1-3-17.webp

I would recommend re-uploading everything from the 2.1.3 download. Make sure there are no errors in the FTP client when the files are uploaded. If the problem persists, try a different FTP client.
 
Uploaded the missing files.
After uploading also the file; MediaView was missing for sitemap.

Strange that only those files didn't got uploaded correctly..
For now XenGallery is working, cron job was run succesfully
 
@Chris D - on mobile to forum home slider no longer slides, do I need to change the size of the imagers to create more photos to show for the slider to work? it seems the image size have changed on the new update?
 
Got error when rating a private album:

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '8-1' for key 'media_user_id' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: anthony, A moment ago
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(317): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xe...', Array)
#3 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xengallery_rati...', Array)
#4 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /home/ptsdforu/public_html/c/library/XenGallery/ControllerPublic/Album.php(568): XenForo_DataWriter->save()
#7 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_Album->actionRate()
#8 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
  ["url"] => string(60) "https://www.myptsd.com/c/albums/albums/my-digital-art.8/rate"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(7) {
    ["rating"] => string(1) "5"
    ["message"] => string(24) "This stuff is awesome..."
    ["_xfToken"] => string(8) "********"
    ["_xfConfirm"] => string(1) "1"
    ["_xfRequestUri"] => string(34) "/c/albums/albums/my-digital-art.8/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Hello, since the last update, images no longer appears and i can't have the images on the home page ^^ thanks in advance. BR
 
Got error when rating a private album:

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Duplicate entry '8-1' for key 'media_user_id' - library/Zend/Db/Statement/Mysqli.php:214
Generated By: anthony, A moment ago
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(317): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xe...', Array)
#3 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xengallery_rati...', Array)
#4 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#5 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#6 /home/ptsdforu/public_html/c/library/XenGallery/ControllerPublic/Album.php(568): XenForo_DataWriter->save()
#7 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(347): XenGallery_ControllerPublic_Album->actionRate()
#8 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
  ["url"] => string(60) "https://www.myptsd.com/c/albums/albums/my-digital-art.8/rate"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(7) {
    ["rating"] => string(1) "5"
    ["message"] => string(24) "This stuff is awesome..."
    ["_xfToken"] => string(8) "********"
    ["_xfConfirm"] => string(1) "1"
    ["_xfRequestUri"] => string(34) "/c/albums/albums/my-digital-art.8/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
Thanks. Have logged that here: http://xenmediagallery.com/threads/server-error-when-rating-private-album.1547/
 
Woke up this morning to lots of these errors in log:

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Unknown column 'xengallery_album_count' in 'field list' - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, Today at 7:27 AM
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('INSERT INTO `xf...')
#1 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'INSERT INTO `xf...')
#2 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('INSERT INTO `xf...')
#3 /home/ptsdforu/public_html/c/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array)
#4 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1624): Zend_Db_Adapter_Abstract->insert('xf_user', Array)
#5 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1613): XenForo_DataWriter->_insert()
#6 /home/ptsdforu/public_html/c/library/XenForo/DataWriter.php(1405): XenForo_DataWriter->_save()
#7 /home/ptsdforu/public_html/c/library/XenForo/ControllerPublic/Register.php(281): XenForo_DataWriter->save()
#8 /home/ptsdforu/public_html/c/library/Tac/FoolBotHoneyPot/ControllerPublic/Register.php(672): XenForo_ControllerPublic_Register->actionRegister()
#9 /home/ptsdforu/public_html/c/library/UserEss/ControllerPublic/Register.php(68): Tac_FoolBotHoneyPot_ControllerPublic_Register->actionRegister()
#10 /home/ptsdforu/public_html/c/library/Tac/StopCountrySpam/ControllerPublic/Register.php(472): UserEss_ControllerPublic_Register->actionRegister()
#11 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(347): Tac_StopCountrySpam_ControllerPublic_Register->actionRegister()
#12 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#13 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
  ["url"] => string(80) "https://www.myptsd.com/c/register/register?51b8453a89348522c5=e64d753a8934851b27"
  ["_GET"] => array(1) {
    ["51b8453a89348522c5"] => string(18) "e64d753a8934851b27"
  }
  ["_POST"] => array(45) {
    ["2063a53a8934851a1c"] => string(0) ""
    ["8283a53a8934851d07"] => string(0) ""
    ["2a8a253a8934852cde"] => string(0) ""
    ["f35cc53a8934851f21"] => string(0) ""
    ["username"] => string(18) "abaf1b4e8d0e34afa3"
    ["2374853a89348509ec"] => string(0) ""
    ["2ab2153a8934850ad9"] => string(12) "Jonathan2014"
    ["5766a53a893485238b"] => string(0) ""
    ["6a2a253a8934851cb7"] => string(0) ""
    ["2577c53a8934850999"] => string(15) "jjrudki@mac.com"
    ["6eca353a89348518ce"] => string(0) ""
    ["9616453a8934852137"] => string(0) ""
    ["3223153a8934851849"] => string(0) ""
    ["email"] => string(42) "x@819978f0-0b0f-11e2-892e-0800200c9a66.com"
    ["f785253a8934850ed1"] => string(0) ""
    ["4cebc53a893485276f"] => string(0) ""
    ["59cf853a893485177e"] => string(0) ""
    ["bb77653a8934851f64"] => string(0) ""
    ["aab3253a8934850c0f"] => string(0) ""
    ["4fd5d53a893485259e"] => string(0) ""
    ["6abd353a89348527b1"] => string(0) ""
    ["f191653a8934850caa"] => string(0) ""
    ["3e7e953a8934851c31"] => string(0) ""
    ["2335553a8934850b25"] => string(0) ""
    ["dc6ce53a89348525e1"] => string(9) "sunshine1"
    ["048fc53a8934850b73"] => string(9) "sunshine1"
    ["password"] => string(8) "********"
    ["password_confirm"] => string(8) "********"
    ["dob_month"] => string(1) "2"
    ["dob_day"] => string(2) "19"
    ["dob_year"] => string(4) "1991"
    ["b216f53a8934851fe8"] => string(0) ""
    ["7373653a8934852494"] => string(0) ""
    ["9c99e53a89348521bc"] => string(0) ""
    ["gender"] => string(4) "male"
    ["6c30053a893485255b"] => string(4) "male"
    ["timezone"] => string(14) "Pacific/Midway"
    ["7f1b953a893485202b"] => string(14) "Pacific/Midway"
    ["f6fc953a8934851ae4"] => string(14) "Pacific/Midway"
    ["d694853a8934851aa2"] => string(13) "Europe/London"
    ["363ee53a8934852307"] => string(14) "Pacific/Midway"
    ["hash"] => string(161) "a764e1d4586d7d8e99dd7b75fcefde53|545275e25fca238598fba671c547c273|http://back11.keycaptcha.com/swfs/ckc/bee8364a44ce31778c0b7c9d65d0e519-|53a89b9c65630-.2.2.25|1"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "06b89108c3fdedf1b6a83a5a290b8335"
  }
}
 
Status
Not open for further replies.
Top Bottom