Entries Module issueshttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues2022-11-17T10:56:25Zhttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/10Fatal error with disabled cache and PHP82022-11-17T10:56:25ZSławek SikoraFatal error with disabled cache and PHP8This issue happens only when we are on the non-SobiPro page where entries module is displayed. Additionally Data Accelerator need to be disabled, or cache isn't build yet and PHP8 is used, then we got following error:<br /><br />
If difficulties persist, please contact the website administrator and report the error below.
0 Undefined constant "SOBI_ACL"
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:217
- 2 SPJoomlaUser->authorisePermission() JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:158
- 3 SPJoomlaUser->can() JROOT/components/com_sobipro/lib/sobi.php:274
- 4 Sobi::Can() JROOT/components/com_sobipro/lib/models/entry.php:686
- 5 SPEntry->checkCopy() JROOT/components/com_sobipro/lib/models/entry.php:595
- 6 SPEntry->loadFields() JROOT/components/com_sobipro/lib/models/entry.php:128
- 7 SPEntry->loadTable() JROOT/components/com_sobipro/lib/models/dbobject.php:865
- 8 SPDBObject->extend() JROOT/components/com_sobipro/lib/models/dbobject.php:886
- 9 SPDBObject->init() JROOT/components/com_sobipro/lib/base/factory.php:391
- 10 SPFactory::Entry() JROOT/components/com_sobipro/lib/views/section.php:309
- 11 SPSectionView->entry() JROOT/modules/mod_sobipro_entries/view.php:56
- 12 SPEntriesModuleView->display() JROOT/modules/mod_sobipro_entries/entrieshelper.php:109
- 13 SPEntriesMod->display() JROOT/modules/mod_sobipro_entries/entrieshelper.php:51
- 14 SPEntriesMod::ListEntries() JROOT/modules/mod_sobipro_entries/mod_sobipro_entries.php:32
- 15 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:54
- 16 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:57
- 17 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:295
- 18 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:167
- 19 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:102
- 20 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:706
- 21 Joomla\CMS\Document\HtmlDocument->countModules() JROOT/templates/cassiopeia/index.php:109
- 22 require() JROOT/libraries/src/Document/HtmlDocument.php:779
- 23 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:838
- 24 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:641
- 25 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1025
- 26 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:802
- 27 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:284
- 28 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 29 require_once() JROOT/index.php:32This issue happens only when we are on the non-SobiPro page where entries module is displayed. Additionally Data Accelerator need to be disabled, or cache isn't build yet and PHP8 is used, then we got following error:<br /><br />
If difficulties persist, please contact the website administrator and report the error below.
0 Undefined constant "SOBI_ACL"
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:217
- 2 SPJoomlaUser->authorisePermission() JROOT/components/com_sobipro/lib/cms/joomla_common/base/user.php:158
- 3 SPJoomlaUser->can() JROOT/components/com_sobipro/lib/sobi.php:274
- 4 Sobi::Can() JROOT/components/com_sobipro/lib/models/entry.php:686
- 5 SPEntry->checkCopy() JROOT/components/com_sobipro/lib/models/entry.php:595
- 6 SPEntry->loadFields() JROOT/components/com_sobipro/lib/models/entry.php:128
- 7 SPEntry->loadTable() JROOT/components/com_sobipro/lib/models/dbobject.php:865
- 8 SPDBObject->extend() JROOT/components/com_sobipro/lib/models/dbobject.php:886
- 9 SPDBObject->init() JROOT/components/com_sobipro/lib/base/factory.php:391
- 10 SPFactory::Entry() JROOT/components/com_sobipro/lib/views/section.php:309
- 11 SPSectionView->entry() JROOT/modules/mod_sobipro_entries/view.php:56
- 12 SPEntriesModuleView->display() JROOT/modules/mod_sobipro_entries/entrieshelper.php:109
- 13 SPEntriesMod->display() JROOT/modules/mod_sobipro_entries/entrieshelper.php:51
- 14 SPEntriesMod::ListEntries() JROOT/modules/mod_sobipro_entries/mod_sobipro_entries.php:32
- 15 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:54
- 16 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:57
- 17 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:295
- 18 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:167
- 19 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:102
- 20 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:706
- 21 Joomla\CMS\Document\HtmlDocument->countModules() JROOT/templates/cassiopeia/index.php:109
- 22 require() JROOT/libraries/src/Document/HtmlDocument.php:779
- 23 Joomla\CMS\Document\HtmlDocument->_loadTemplate() JROOT/libraries/src/Document/HtmlDocument.php:838
- 24 Joomla\CMS\Document\HtmlDocument->_fetchTemplate() JROOT/libraries/src/Document/HtmlDocument.php:641
- 25 Joomla\CMS\Document\HtmlDocument->parse() JROOT/libraries/src/Application/CMSApplication.php:1025
- 26 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:802
- 27 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:284
- 28 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:63
- 29 require_once() JROOT/index.php:324.0.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/9Warnings on non-SobiPro views2022-11-17T10:55:51ZSławek SikoraWarnings on non-SobiPro viewsWhen we browse Joomla pages where there is no SobiPro component content, there appear following warning in the module:<br /><br />
Warning: Use of undefined constant SOBI_ACL - assumed 'SOBI_ACL' (this will throw an Error in a future version of PHP) in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php on line 217
Warning: Use of undefined constant SOBI_ACL - assumed 'SOBI_ACL' (this will throw an Error in a future version of PHP) in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla3/base/user.php on line 227
<br /><br />Tested with Joomla 4.1.0; SobiPro version 2.0.0.37 RC; Entries Module 4.0.0.2 BetaWhen we browse Joomla pages where there is no SobiPro component content, there appear following warning in the module:<br /><br />
Warning: Use of undefined constant SOBI_ACL - assumed 'SOBI_ACL' (this will throw an Error in a future version of PHP) in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla_common/base/user.php on line 217
Warning: Use of undefined constant SOBI_ACL - assumed 'SOBI_ACL' (this will throw an Error in a future version of PHP) in /home/sikorasobipro/test3.sikora.sobipro.eu/components/com_sobipro/lib/cms/joomla3/base/user.php on line 227
<br /><br />Tested with Joomla 4.1.0; SobiPro version 2.0.0.37 RC; Entries Module 4.0.0.2 Beta4.0Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/8Current View/Category option do not work with enabled pagination2022-11-17T10:56:16ZSławek SikoraCurrent View/Category option do not work with enabled paginationAs in the title, Current View/Category option do not work when pagination is nebaled in the module configuration, always are displayed all entries.As in the title, Current View/Category option do not work when pagination is nebaled in the module configuration, always are displayed all entries.4.0Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/6If 'Current View/Category' is set, entries from wrong section are shown for s...2018-09-25T12:19:06ZSławek SikoraIf 'Current View/Category' is set, entries from wrong section are shown for static engineWhen module is set to use dynamic mode ('Current View/Category' setting) and static engine, and we navigate to other section than selected in the module configuration it displays entries from currently viewed section. When I switch to Ajax mode, then entries from the section selected in the configuration are displayed.When module is set to use dynamic mode ('Current View/Category' setting) and static engine, and we navigate to other section than selected in the module configuration it displays entries from currently viewed section. When I switch to Ajax mode, then entries from the section selected in the configuration are displayed.3.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/5Notice when review aplication is enabled2018-09-23T14:14:11ZSławek SikoraNotice when review aplication is enabledI'm not sure if this is related to the entries module, review application or core/header plugin, however when section have enabled review application and entries module use Static engline, following notice appear:<br />
`Notice: json://{"section":"add_css_file","message":"File \/home\/sikorasobipro\/test2.sikora.sobipro.eu\/media\/sobipro\/css\/review.css does not exist.","code":0,"file":"SPHeader","line":519,"content":"In file SPHeader at line 519"} in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/sobi.php on line 107`
<br />Looks like from some reason header plugin try to load review.css file from it old locationI'm not sure if this is related to the entries module, review application or core/header plugin, however when section have enabled review application and entries module use Static engline, following notice appear:<br />
`Notice: json://{"section":"add_css_file","message":"File \/home\/sikorasobipro\/test2.sikora.sobipro.eu\/media\/sobipro\/css\/review.css does not exist.","code":0,"file":"SPHeader","line":519,"content":"In file SPHeader at line 519"} in /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/lib/sobi.php on line 107`
<br />Looks like from some reason header plugin try to load review.css file from it old locationhttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/4Different Joomla URL generation for static and ajax engine2018-09-25T12:18:59ZSławek SikoraDifferent Joomla URL generation for static and ajax engineI'm not sure if it is a bug, but in this moment when entries module generate URLs to the entry in static mode it add parent category to the entry, when in the ajax mode it is always direct link from the section main page.I'm not sure if it is a bug, but in this moment when entries module generate URLs to the entry in static mode it add parent category to the entry, when in the ajax mode it is always direct link from the section main page.3.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/3PHP 7.2 compatibility2018-09-25T12:19:16ZSławek SikoraPHP 7.2 compatibilityWhen server use PHP 7.2, entries module generate following error at the front-end<br />
Fatal error: Declaration of SPEntriesModViewMod::display() must be compatible with SPSectionView::display($type = 'section', $out = NULL) in ...\htdocs\sobi\modules\mod_sobipro_entries\view.php on line 28
<br /><br />
Possible solution from one of the users, in the file /modules/mod_sobipro_entries/view.php change line 31 from:<br />
`public function display()`
<br />to<br />
`public function display($type = 'section', $out = null):`
<br />but it need to be testedWhen server use PHP 7.2, entries module generate following error at the front-end<br />
Fatal error: Declaration of SPEntriesModViewMod::display() must be compatible with SPSectionView::display($type = 'section', $out = NULL) in ...\htdocs\sobi\modules\mod_sobipro_entries\view.php on line 28
<br /><br />
Possible solution from one of the users, in the file /modules/mod_sobipro_entries/view.php change line 31 from:<br />
`public function display()`
<br />to<br />
`public function display($type = 'section', $out = null):`
<br />but it need to be tested3.1Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/2Possibility to type number of entries2018-09-25T12:19:11ZSławek SikoraPossibility to type number of entriesLike in the title, instead of choosing number of entries from the list possibility to enter wanted number.Like in the title, instead of choosing number of entries from the list possibility to enter wanted number.3.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/Modules/EntriesMod/-/issues/1In the Entries module settings it is not longer possible to select a category2017-10-12T09:13:34ZMilad SafajuyIn the Entries module settings it is not longer possible to select a categorywhen install joomla 3.8.0 and install Sobipro with entry modules, category field is not worked!
version sobipro: 1.4.1
Sigsiu.NET/SobiPro~46
Sigsiu.NET/SobiPro~40when install joomla 3.8.0 and install Sobipro with entry modules, category field is not worked!
version sobipro: 1.4.1
Sigsiu.NET/SobiPro~46
Sigsiu.NET/SobiPro~40