[XFA] RM Categories Layout

[XFA] RM Categories Layout [Paid] 2.3.3

No permission to buy (€7.00)
Just installed new media gallery and RG and had to disable the manager checking to see if it is compatible?


Mysqli prepare error: Unknown column 'xfa_rmcl_icon' in 'field list'
  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 Zend/Db/Adapter/Abstract.php at line 574
  5. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1638
  6. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1627
  7. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419
  8. XenForo_DataWriter->save() in XenGallery/ControllerAdmin/Media.php at line 270
  9. XenGallery_ControllerAdmin_Media->actionCategorySave() inXFA/RMMGCatLayout/Extends/ControllerAdmin/MediaCategory.php at line 15
  10. XFA_RMMGCatLayout_Extends_ControllerAdmin_MediaCategory->actionCategorySave() inXFA/ExtendedCover/Extends/XenGallery/ControllerAdmin/Media.php at line 57
  11. XFA_ExtendedCover_Extends_XenGallery_ControllerAdmin_Media->actionCategorySave() in XenForo/FrontController.php at line 351
  12. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  13. XenForo_FrontController->run() in /home/travisbourbeau/public_html/travisbourbeau.com/forum/admin.php at line 13
 
Hi,

To be sure, you had the add-on installed prior to installing media gallery and resource manager ?

Clément
 
Thanks Clement,

I installed media gallery and resource manager first. What order or how should i preceed? should i just try reinstalling extend cover and gallery controller. or un-install mg and rg then install?

thanks for the help
 
No no, the error comes apparently from my add-on.

Do you have the xfa_rmcl_icon column in the xengallery_media_category table of the db ?

Clément
 
Just installed new media gallery and RG and had to disable the manager checking to see if it is compatible?


Mysqli prepare error: Unknown column 'xfa_rmcl_icon' in 'field list'
  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 Zend/Db/Adapter/Abstract.php at line 574
  5. Zend_Db_Adapter_Abstract->insert() in XenForo/DataWriter.php at line 1638
  6. XenForo_DataWriter->_insert() in XenForo/DataWriter.php at line 1627
  7. XenForo_DataWriter->_save() in XenForo/DataWriter.php at line 1419
  8. XenForo_DataWriter->save() in XenGallery/ControllerAdmin/Media.php at line 270
  9. XenGallery_ControllerAdmin_Media->actionCategorySave() inXFA/RMMGCatLayout/Extends/ControllerAdmin/MediaCategory.php at line 15
  10. XFA_RMMGCatLayout_Extends_ControllerAdmin_MediaCategory->actionCategorySave() inXFA/ExtendedCover/Extends/XenGallery/ControllerAdmin/Media.php at line 57
  11. XFA_ExtendedCover_Extends_XenGallery_ControllerAdmin_Media->actionCategorySave() in XenForo/FrontController.php at line 351
  12. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  13. XenForo_FrontController->run() in /home/travisbourbeau/public_html/travisbourbeau.com/forum/admin.php at line 13

I have same Error and this

Code:
An exception occurred: Argument 4 passed to XenForo_ViewRenderer_Rss::renderView() must be an instance of XenForo_ControllerResponse_View, instance of stdClass given, called in /var/www/deb/library/XenForo/FrontController.php on line 607 and defined in /var/www/deb/library/XenForo/ViewRenderer/Rss.php on line 24

    XenForo_Application::handlePhpError() in XenForo/ViewRenderer/Rss.php at line 24
    XenForo_ViewRenderer_Rss->renderView() in XenForo/FrontController.php at line 607
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /var/www/deb/index.php at line 13

The error its coming from this Plugin here. Without addon-xfa_rmcl working all fine.
 
For the first error, have you installed my add-on before or after installing the Resource Manager ?

For the second one, will have to investigate.
 
I have Install at first Resource Manager, after your Addon. Here was all very good. Now i have buy Media Gallery. With Media Gallery its coming this error.
 
Ah ok then you installed media gallery afterwards.

I recommend uninstalling my add-on and reinstalling it, the error will dissapear.

The add-on doesn't handle the condition when the RM or the MG are installed afterwards.
 
Code:
ErrorException: Argument 4 passed to XenForo_ViewRenderer_Rss::renderView() must be an instance of XenForo_ControllerResponse_View, instance of stdClass given, called in /var/www/deb/library/XenForo/FrontController.php on line 607 and defined - library/XenForo/ViewRenderer/Rss.php:24
Generiert durch: Unbekanntes Benutzerkonto, Gestern um 18:00 Uhr
Stapelverfolgung

#0 /var/www/deb/library/XenForo/ViewRenderer/Rss.php(24): XenForo_Application::handlePhpError(4096, 'Argument 4 pass...', '/var/www/deb/li...', 24, Array)
#1 /var/www/deb/library/XenForo/FrontController.php(607): XenForo_ViewRenderer_Rss->renderView('XenGallery_View...', Array, '', Object(stdClass))
#2 /var/www/deb/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#3 /var/www/deb/index.php(13): XenForo_FrontController->run()
#4 {main}

Benötigter Status

array(3) {
  ["url"] => string(49) "http://www.url.com/media/index.rss"
  ["_GET"] => array(1) {
    ["/media/index_rss"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Code:
ErrorException: Undefined property: stdClass::$viewName - library/XenForo/Dependencies/Abstract.php:264
Generiert durch: Unbekanntes Benutzerkonto, Gestern um 18:01 Uhr
Stapelverfolgung

#0 /var/www/deb/library/XenForo/Dependencies/Abstract.php(264): XenForo_Application::handlePhpError(8, 'Undefined prope...', '/var/www/deb/li...', 264, Array)
#1 /var/www/deb/library/XenForo/Dependencies/Public.php(268): XenForo_Dependencies_Abstract->preRenderView(Object(XenForo_ControllerResponse_View))
#2 /var/www/deb/library/XenForo/FrontController.php(582): XenForo_Dependencies_Public->preRenderView(Object(XenForo_ControllerResponse_View))
#3 /var/www/deb/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Rss), Array)
#4 /var/www/deb/index.php(13): XenForo_FrontController->run()
#5 {main}

Benötigter Status

array(3) {
  ["url"] => string(49) "http://www.url.com/media/index.rss"
  ["_GET"] => array(1) {
    ["/media/index_rss"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

MyAddons

Installierte Add-ons
******* - Hide Link From Usergroups 1.1.2
CTA Table BB Code 1.1.1
Find Unanswered Threads 1.0.5
Tapatalk 3.1.7
XenForo Enhanced Search 1.1.5
XenForo Media Gallery 1.1.9
XenForo Resource Manager 1.2.3
xenMiG Portal 1.0.3
XFA - BBCode for tabs 1.1.0
XFSoccer (Fussball-Tippspiel für XenForo) 1.0.9 Beta 22
[RT] Online Status Ribbon 1.3.7
[XFA] RM MG Categories Layout 2.2.0
 
If disable RM MG Categories Layout working all fine. I have no idea what is problem.

This error i can see in my browser

Code:
An exception occurred: Argument 4 passed to XenForo_ViewRenderer_Rss::renderView() must be an instance of XenForo_ControllerResponse_View, instance of stdClass given, called in /var/www/deb/library/XenForo/FrontController.php on line 607 and defined in /var/www/deb/library/XenForo/ViewRenderer/Rss.php on line 24

    XenForo_Application::handlePhpError() in XenForo/ViewRenderer/Rss.php at line 24
    XenForo_ViewRenderer_Rss->renderView() in XenForo/FrontController.php at line 607
    XenForo_FrontController->renderView() in XenForo/FrontController.php at line 158
    XenForo_FrontController->run() in /var/www/deb/index.php at line 13

I have now check without Categories Layout and here is all fine.
 
Hi,

I don't understand I do not deal with this class at all.

Which xF and media gallery versions are you using.

clément
 
Here all my Addons with Versions

******* - Hide Link From Usergroups 1.1.2
CTA Table BB Code 1.1.1
Find Unanswered Threads 1.0.5
Tapatalk 3.1.7
XenForo Enhanced Search 1.1.5
XenForo Media Gallery 1.1.9
XenForo Resource Manager 1.2.3
xenMiG Portal 1.0.3
XFA - BBCode for tabs 1.1.0
XFSoccer (Fussball-Tippspiel für XenForo) 1.0.9 Beta 22
[RT] Online Status Ribbon 1.3.7
[XFA] RM MG Categories Layout 2.2.0
 
One more Error with this Addon

Code:
ErrorException: Undefined index: filename - library/XenGallery/Model/Media.php:1101
Generiert durch: phantom, Vor einem Moment
Stapelverfolgung

#0 /var/www/deb/library/XenGallery/Model/Media.php(1101): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/deb/li...', 1101, Array)
#1 /var/www/deb/library/XFA/RMMGCatLayout/Extends/ControllerPublic/Media.php(86): XenGallery_Model_Media->prepareMedia(Array)
#2 /var/www/deb/library/XenForo/FrontController.php(351): XFA_RMMGCatLayout_Extends_ControllerPublic_Media->actionIndex()
#3 /var/www/deb/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/deb/index.php(13): XenForo_FrontController->run()
#5 {main}

Benötigter Status

array(3) {
  ["url"] => string(40) "http://www.url.com/media/"
  ["_GET"] => array(1) {
    ["/media/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Without Addon working all fine :(

Why is this addon inside from Gallery ? :(
 
Hum, let's try something.

Edit the file library/XFA/RMMGCatLayout/ControllerPublic/Media.php.

Search for:
PHP:
                $latestMedias       = $mediaModel->getMediaByIdsCategoryKeyed($latestMediasIds);

Replace by:
PHP:
                $latestMedias       = $mediaModel->getMediaByIdsCategoryKeyed($latestMediasIds, array('join' => XenGallery_Model_Media::FETCH_ATTACHMENT));
 
After change its coming error.

Mysqli prepare error: Not unique table/alias: 'attachment'

  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 XFA/RMMGCatLayout/Extends/Model/Media.php at line 40
  6. XFA_RMMGCatLayout_Extends_Model_Media->getMediaByIdsCategoryKeyed() in XFA/RMMGCatLayout/Extends/ControllerPublic/Media.php at line 64
  7. XFA_RMMGCatLayout_Extends_ControllerPublic_Media->actionIndex() in XenForo/FrontController.php at line 351
  8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
  9. XenForo_FrontController->run() in /var/www/deb/index.php at line 13
 
Ah yes my bad, in the library/XFA/RMMGCatLayout/Extends/Model/Media.php file remove the following:
PHP:
            LEFT JOIN xf_attachment AS attachment ON
                (attachment.attachment_id     = media.attachment_id)
            LEFT JOIN xf_attachment_data AS attachment_data ON
                (attachment_data.data_id = attachment.data_id)
 
Back
Top Bottom