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/

Fixed Problems With 2.1.0 Upgrade

Discussion in 'Bug Reports' started by ratrodbikes, Apr 7, 2014.

  1. ratrodbikes

    ratrodbikes Authorized Member Authorized

    I downloaded the upgrade to 2.1.0 today and did the install as instructed.

    Now when I try to click on the thumbnail images in any of the galleries I receive the following error...


    Server Error Log
    Error Info
    ErrorException: Fatal Error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM - library/sonnb/XenGallery/ControllerPublic/XenGallery/Content.php:495
    Generated By: Unknown Account, A moment ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError('sonnb_XenGaller...')
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(249) "LINK WAS HERE, BUT HAD TO REMOVE TO POST THIS"
    ["_GET"] => array(5) {
    ["gallery/photos/753/"] => string(0) ""
    ["_xfRequestUri"] => string(56) "/forum/index.php?gallery/albums/junkbikeriders-album.29/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(53) "2,1396904374,c050fc96cd39d8d4063b447e913836174cc49346"
    ["_xfResponseType"] => string(4) "json"
    }
    ["_POST"] => array(0) {
    }
    }
     
  2. ratrodbikes

    ratrodbikes Authorized Member Authorized

    I'm running Xenforo 1.2.5

    Here's exactly what I did when trying to upgrade...

    1. Downloaded this file - sonnbXenGallery_2.1.0 20140408 0058.zip
    2. Unzipped file
    3. Opened Xenforo root file in my FTP software
    4. Opened the "js" folder in my root folder and replaced the "sonnb" folder with the new one in the unzipped folder.
    5. Opened the "library" folder in my root folder and replaced the "sonnb" folder with the new one in the unzipped folder.
    6. Opened the "styles" folder in my root folder and replaced the "sonnb" folder with the new one in the unzipped folder.
    7. Went to the upgrade menu for sonnb-XenGallery and uploaded this file - addon-sonnb_xengallery.xml
    8. Clicked on "Tools" tab and then clicked on "Rebuild Caches"
    9. Clicked the "Rebuild Now" buttons on the following options:
    • Rebuild XenGallery Albums
    • Rebuild XenGallery's Contents
    • Rebuild XenGallery's Locations
    10. Checked the "Outdated Templates" menu and it said I had no outdated templates.
    11. Tested out the gallery and received the error message.

    I also use Amazon's S3 Cloudfront storage for my files. I didn't do anything with this after the upgrade so I'm not sure if that is the reason for the error or not.
     
  3. sonnb

    sonnb Administrator Staff Member

    This happens with old PHP version. I will fix it soon later.
     
  4. Franklin Willis

    Franklin Willis Authorized Member Authorized

    Same error?

    Can't upload any photos.

    ErrorException: Fatal Error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM - library/sonnb/XenGallery/ControllerPublic/XenGallery/Content.php:495
    Generated By: Unknown Account, A moment ago
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError('sonnb_XenGaller...')
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(112) "http://diecastcrazy.com/community/g...h=582d80259490ee608d57f51227d7c888&album_id=1"
    ["_GET"] => array(2) {
    ["hash"] => string(32) "582d80259490ee608d57f51227d7c888"
    ["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"
    }
    }
     
  5. Franklin Willis

    Franklin Willis Authorized Member Authorized

    I'm hoping I can revert because my albums are completely unusable now.
     
  6. irvan

    irvan Authorized Member Authorized

    rule number one. " always backup everything before upgrade or do anything to web script"
     
    antonio likes this.
  7. sonnb

    sonnb Administrator Staff Member

    Just to remark this has been fixed once he upgraded to newer PHP version.
     
    antonio likes this.
  8. irvan

    irvan Authorized Member Authorized

    my web upgraded. looks run well. no error log. thanks.
     
    sonnb likes this.
  9. ratrodbikes

    ratrodbikes Authorized Member Authorized

    So is this a server level upgrade?
     
  10. sonnb

    sonnb Administrator Staff Member

    It is always recommended to upgrade to a newer version for stable. But anyway, I am going to release an update soon to fix that issue on PHP 5.2.x
     
  11. ratrodbikes

    ratrodbikes Authorized Member Authorized

    Can you define soon?

    I have a large forum with members who have paid to have access to the gallery system.

    Thanks!
     
  12. sonnb

    sonnb Administrator Staff Member

    It means less than a hour from now on. You are also using PHP 5.2.x?
     
  13. ratrodbikes

    ratrodbikes Authorized Member Authorized

    The latest update solved the problem for me.

    Thanks for working on this!
     
  14. rour

    rour New Member

    during upgrade from 2.0.6
     
    Last edited: Apr 9, 2014
    sonnb likes this.
  15. sonnb

    sonnb Administrator Staff Member

    Fixed in 2.1.2
     

Share This Page