1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Media Sidebar

Discussion in 'Media Gallery Support' started by VinnyS, Feb 19, 2015.

  1. VinnyS

    VinnyS Active Member

    ok at first I got the Media sidebar to work no problem. Then I installed Widget Framework and I saw a post that said how to make the Random Sidebar within Framework and that is when the problems started! OK I uninstalled Framework and upgraded to 1.4.5 then tried to get the Random side bar back with no luck? I tried the random on the top of the forum it worked, I tried it on the bottom it worked then I tried to get it to work in the sidebar no go? So I uninstalled Framework still no luck getting the sidebar to work? any thoughts?

  2. Chris D

    Chris D XenForo Developer Staff Member

    Likely to be an outdated template.

    If any of the templates listed here:

    ...are listed as outdated or customised then revert them. Specifically xengallery_media_block and xengallery_media_block.css.

    It's also worth making sure that the following files definitely uploaded correctly and ensure your browser cache (and any other caching) has been cleared before trying again:

  3. VinnyS

    VinnyS Active Member

    Hi Chris
    Crap I uninstall the gallery then reinstalled I figured it would fix the problem but now I am getting this error

    Server Error
    Mysqli prepare error: Unknown column 'media.social_group_id' in 'where clause'

    1. Zend_Db_Statement_Mysqli->_prepare() in Zend/Db/Statement.php at line 115
    2. Zend_Db_Statement->__construct() in Zend/Db/Adapter/Mysqli.php at line 381
    3. Zend_Db_Adapter_Mysqli->prepare() in Zend/Db/Adapter/Abstract.php at line 478
    4. Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 219
    5. XenForo_Model->fetchAllKeyed() in XenGallery/Model/Media.php at line 93
    6. XenGallery_Model_Media->getMedia() in XenGallery/ControllerPublic/Media.php at line 45
    7. XenGallery_ControllerPublic_Media->actionIndex() in Nobita/Teams/XenGallery/ControllerPublic/Media.php at line 7
    8. Nobita_Teams_XenGallery_ControllerPublic_Media->actionIndex() in XenForo/FrontController.php at line 347
    9. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    10. XenForo_FrontController->run() in /home1/spingola/public_html/leominstersocialtoday/index.php at line 13
  4. VinnyS

    VinnyS Active Member

    Hi Chris
    I just tried to do a File Health Check and I cant do that it says this web page cant be displayed?

    I think I need HELP!!!

  5. Chris D

    Chris D XenForo Developer Staff Member

    Looks like you have a Social Groups add on installed that extends the Gallery. You would need to seek assistance from the author where that is concerned.
  6. VinnyS

    VinnyS Active Member

    Hi Chris
    Everything ok i restored the site last night i would fix one thing then another problem would happen so it was easer to just restore...... ill post what i think happened later but thank you for your replay....

  7. Chris D

    Chris D XenForo Developer Staff Member

    It's already quite clear what happened.

    You have an add on that extends XFMG. It seems to add a column to one of the gallery database tables. You uninstalled the Gallery. You reinstalled the Gallery. The column added by the other add on was now missing. Hence the errors.

    It's worth noting that we would very rarely advise anyone to uninstall any add on as a support step. Mostly for reasons like this and obviously data loss. There would often be many steps before we get to a point of needing to uninstall something. It's especially important to avoid taking such drastic steps unless specifically advised to do so.

    If things are now restored to how they were, I would refer you back to my previous recommendation:

  8. VinnyS

    VinnyS Active Member

    Hi Chris
    I said I would provide you with what I think started my problems. I was trying to take the widget framework by trying to take and install the link below. I did what it said but did not work for me. After installing what it said to do I started to get errors on my site, so I uninstalled the widget. Then uninstalled widget framework.

    1. https://xenforo.com/community/threads/bd-widget-framework.28014/page-226

    Now after uninstalling the widget and framework I upgraded XenForo to the newest version, WELL just knowing enough to be a danger to myself lol I reinstalled the framework then the trouble above with the server error so here we go again I uninstall framework but the error was still there!! So I uninstalled the Gallery then reinstalled the Gallery error was still there. Well at this time knowing I had the ability to restore the Gallery I restored the whole site to the day before and at that time widget framework and the Gallery and my Group add-on were playing nice!! Well what do you think!!

  9. Chris D

    Chris D XenForo Developer Staff Member

    I think you blindly took a load of actions that were mostly unnecessary.

    Dealing with the original issue, if you still can't see the sidebar block this may still be related to outdated templates and likely not require any changes to be made to any other add ons.

    We actually don't so anything to officially support WF so you should be first attempting to make sure the sidebar block shows on a default style with all add ons disabled.

    If it works then, re-enable WF and seek assistance in the WF support thread.

    At no point do I envisage you having to uninstall any add-ons to get this working.
  10. VinnyS

    VinnyS Active Member

    Hi Chris
    Yes you may be correct, however not knowing what you know unfortunately I don't know what you know and the only way I could fix the problem was what I know.

    As far as the original issue WF is disabled and I can not get the Media sidebar to work, as far as the template its what came with XenForo?

    One thing I noticed is at the ACP under tools File Health Check does not work?

    Any Thoughts?
  11. Mike

    Mike XenForo Developer Staff Member

    This looks like it's sorted now as I see the block in the sidebar. What changed?
  12. Chris D

    Chris D XenForo Developer Staff Member

    I forgot to update this as it was getting late.

    An add on comments out the code that XFMG does a replacement on.

    @Steve F might want to look into it.

    I would suggest either not commenting out the "slot" comment on the forum list sidebar or at least trying a higher execution order.

    (The statistics add on)
    Last edited: Feb 21, 2015
    Steve F likes this.
  13. VinnyS

    VinnyS Active Member

    Hi Mike
    I think so? However I'm am not a developer of software and sometimes I get into a situation that I just do not understand? However you have a GREAT STAFF that is willing to HELP and as far as that goes THANK YOU......


Share This Page