1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dismiss Notice
What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Sonnb - Xengallery (xenforo Gallery) [paid] 2.6.10

Modern Albums with Photos and Videos gallery for your XenForo

  1. sonnb

    sonnb Administrator Staff Member

    resonansER likes this.
  2. Franklin Willis

    Franklin Willis Authorized Member Authorized

    Server Error Log
    Error Info
    ErrorException: Uninitialized string offset: 0 - library/sonnb/XenGallery/Model/ContentData.php:1225
    Generated By: racersimage, A moment ago
    Stack Trace
    #0 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/ContentData.php(1225): XenForo_Application::handlePhpError('')
    #1 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/ContentData.php(1074): sonnb_XenGallery_Model_ContentData->hex2rgb('/home/nascartr/...', 2)
    #2 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/ContentData.php(736): sonnb_XenGallery_Model_ContentData->addWatermark('/tmp/phpBhYQTD', '/home/nascartr/...', 2, 'large', NULL, Array)
    #3 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/PhotoData.php(448): sonnb_XenGallery_Model_ContentData->createContentDataThumbnailFile(Object(sonnb_XenGallery_Model_PhotoUpload), Array)
    #4 /home/nascartr/public_html/community/library/sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php(420): sonnb_XenGallery_Model_PhotoData->insertUploadedPhotoData()
    #5 /home/nascartr/public_html/community/library/XenForo/FrontController.php(347): sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionDoUpload(Object(XenForo_RouteMatch))
    #6 /home/nascartr/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch()
    #7 /home/nascartr/public_html/community/index.php(13): XenForo_FrontController->run()
    #8 {main}
    Request State
    array(3) {
    ["url"] => string(112) "http://diecastcrazy.com/community/g...h=4479e969e5d13b1254ed86c16da1247e&album_id=1"
    ["_GET"] => array(2) {
    ["hash"] => string(32) "4479e969e5d13b1254ed86c16da1247e"
    ["album_id"] => string(1) "1"
    }
    ["_POST"] => array(6) {
    ["Filename"] => string(23) "p11132ta106246_5_00.jpg"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfSessionId"] => string(32) "66698b829bef6c752e70bba0ed907bcb"
    ["_xfResponseType"] => string(4) "json"
    ["Upload"] => string(12) "Submit Query"
    }
    }
     
  3. Franklin Willis

    Franklin Willis Authorized Member Authorized

    Now after disabling watermark, I just get
    The following error occurred
    Error occurred while uploading.

    Picture 010.jpg
     
  4. Franklin Willis

    Franklin Willis Authorized Member Authorized

    When I disable Auto-Resize Uploaded Photos I can upload again.
     
  5. Franklin Willis

    Franklin Willis Authorized Member Authorized

    Actually I got an error when I tried to save.

    The following error occurred
    The server responded with an error. The error message is in the JavaScript console.

    _______________________________________

    Server Error Log
    Error Info
    ErrorException: Fatal Error: Cannot redeclare class sonnb_XenGallery_Model_UserTagging_Abstract -library/sonnb/XenGallery/Model/UserTagging.php:14
    Generated By: racersimage, 1 minute ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError('sonnb_XenGaller...')
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(69) "http://diecastcrazy.com/community/gallery/albums/my-album.1/add-photo"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(19) {
    ["photo_allow_view"] => string(8) "everyone"
    ["photo_allow_view_username"] => string(0) ""
    ["photo_allow_comment"] => string(8) "everyone"
    ["photo_allow_comment_username"] => string(0) ""
    ["content_title"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_description"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_people"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_location"] => array(1) {
    [13221] => string(0) ""
    }
    ["location_lat"] => array(1) {
    [13221] => string(0) ""
    }
    ["location_lng"] => array(1) {
    [13221] => string(0) ""
    }
    ["video_key"] => array(1) {
    [13221] => string(0) ""
    }
    ["video_type"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_type"] => array(1) {
    [13221] => string(5) "photo"
    }
    ["delete"] => array(1) {
    [0] => string(0) ""
    }
    ["content_data_hash"] => string(32) "0f8e56733f64a1c2b9eaa6d82742d694"
    ["_xfRequestUri"] => string(46) "/community/gallery/albums/my-album.1/add-photo"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  6. sonnb

    sonnb Administrator Staff Member

    What is your configured color for watermark?

    What is your PHP version?
     
  7. Franklin Willis

    Franklin Willis Authorized Member Authorized

    #FFFFFF but that error is not from the watermark as you can see by the server error. Has to do with tagging.


    PHP Version 5.2.17


    The following error occurred
    The server responded with an error. The error message is in the JavaScript console.

    _______________________________________

    Server Error Log
    Error Info
    ErrorException: Fatal Error: Cannot redeclare class sonnb_XenGallery_Model_UserTagging_Abstract -library/sonnb/XenGallery/Model/UserTagging.php:14
    Generated By: racersimage, 1 minute ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError('sonnb_XenGaller...')
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(69) "http://diecastcrazy.com/community/gallery/albums/my-album.1/add-photo"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(19) {
    ["photo_allow_view"] => string(8) "everyone"
    ["photo_allow_view_username"] => string(0) ""
    ["photo_allow_comment"] => string(8) "everyone"
    ["photo_allow_comment_username"] => string(0) ""
    ["content_title"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_description"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_people"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_location"] => array(1) {
    [13221] => string(0) ""
    }
    ["location_lat"] => array(1) {
    [13221] => string(0) ""
    }
    ["location_lng"] => array(1) {
    [13221] => string(0) ""
    }
    ["video_key"] => array(1) {
    [13221] => string(0) ""
    }
    ["video_type"] => array(1) {
    [13221] => string(0) ""
    }
    ["content_type"] => array(1) {
    [13221] => string(5) "photo"
    }
    ["delete"] => array(1) {
    [0] => string(0) ""
    }
    ["content_data_hash"] => string(32) "0f8e56733f64a1c2b9eaa6d82742d694"
    ["_xfRequestUri"] => string(46) "/community/gallery/albums/my-album.1/add-photo"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  8. sonnb

    sonnb Administrator Staff Member

    It was 2 different questions actually. But both errors are because of PHP 5.2.17. It is possible for you to upgrade to at least 5.3? I will fix it anyway to work on 5.2.x.
     
  9. Franklin Willis

    Franklin Willis Authorized Member Authorized

    I am checking with my host now about that.
     
  10. Franklin Willis

    Franklin Willis Authorized Member Authorized

    Ok, I have upgraded to 5.4.27 and the watermark works fine but I still can't upload photos if I have the "Auto-Resize Uploaded Photos" checked.
     
  11. sonnb

    sonnb Administrator Staff Member

    Let me check it.
     
  12. sonnb

    sonnb Administrator Staff Member

    What is the error if you have that option checked?
     
  13. Franklin Willis

    Franklin Willis Authorized Member Authorized

    A server error does not come up in my log but I get

    The following error occurred
    Error occurred while uploading.

    IMG_20110807_131724.jpg
     
  14. Franklin Willis

    Franklin Willis Authorized Member Authorized

    Is there some special configuration for the image resizer?
     
  15. sonnb

    sonnb Administrator Staff Member

    There is no. Because it resizes photo to match the permission's settings. So there is no configuration needed here.
     
  16. Franklin Willis

    Franklin Willis Authorized Member Authorized

    I wish I could help further, it just throws up an error when I try to upload any image with the resize selected.

    Here is a database error from earlier but I'm not sure if it was from the resize or not as I hadn't gotten anymore.

    ErrorException: Uninitialized string offset: 0 - library/sonnb/XenGallery/Model/ContentData.php:1225
    Generated By: racersimage, 32 minutes ago
    Stack Trace
    #0 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/ContentData.php(1225): XenForo_Application::handlePhpError(8, 'Uninitialized s...', '/home/nascartr/...', 1225, Array)
    #1 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/ContentData.php(1074): sonnb_XenGallery_Model_ContentData->hex2rgb('')
    #2 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/ContentData.php(736): sonnb_XenGallery_Model_ContentData->addWatermark('/home/nascartr/...', 2)
    #3 /home/nascartr/public_html/community/library/sonnb/XenGallery/Model/PhotoData.php(448): sonnb_XenGallery_Model_ContentData->createContentDataThumbnailFile('/tmp/phpLO4DHw', '/home/nascartr/...', 2, 'large', true, Array)
    #4 /home/nascartr/public_html/community/library/sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php(420): sonnb_XenGallery_Model_PhotoData->insertUploadedPhotoData(Object(sonnb_XenGallery_Model_PhotoUpload), Array)
    #5 /home/nascartr/public_html/community/library/XenForo/FrontController.php(347): sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionDoUpload()
    #6 /home/nascartr/public_html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /home/nascartr/public_html/community/index.php(13): XenForo_FrontController->run()
    #8 {main}
    Request State
    array(3) {
    ["url"] => string(112) "http://diecastcrazy.com/community/g...h=e69141f838021fbd62579fb514712567&album_id=1"
    ["_GET"] => array(2) {
    ["hash"] => string(32) "e69141f838021fbd62579fb514712567"
    ["album_id"] => string(1) "1"
    }
    ["_POST"] => array(6) {
    ["Filename"] => string(15) "Picture 009.jpg"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfSessionId"] => string(32) "66698b829bef6c752e70bba0ed907bcb"
    ["_xfResponseType"] => string(4) "json"
    ["Upload"] => string(12) "Submit Query"
    }
    }
     
  17. sonnb

    sonnb Administrator Staff Member

    This is the error with PHP 5.2.x which you have fixed by upgrading.
     
  18. Franklin Willis

    Franklin Willis Authorized Member Authorized

    Could it be that I need to select an image processing feature to resize the images?
     
  19. sonnb

    sonnb Administrator Staff Member

    No it is not.
     
  20. whynot

    whynot Authorized Member Authorized

    I can choose any of the albums, clicking on an image the result is this:

    images_disappeared.JPG



    The widget disappeared.
     
    Last edited: Apr 8, 2014

Share This Page