SobiPro issueshttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues2023-08-22T14:59:32Zhttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/244duplicating templates with blank space in the name2023-08-22T14:59:32ZSławek Sikoraduplicating templates with blank space in the nameWhen we duplicate a template and we use blank space in the new template name, like 'new template' there will be created tplnew-template as a abstract class name in the template.php file. Unfortunately it lead to the following fatal error at the front-end:
0 syntax error, unexpected token "-", expecting "{"
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/usr/templates/nowy-szablon/template.php:38
- 2 SPFrontView->registerFunctions() JROOT/components/com_sobipro/lib/views/view.php:323
- 3 SPFrontView->display() JROOT/components/com_sobipro/lib/views/section.php:753
- 4 SPSectionView->display() JROOT/components/com_sobipro/lib/ctrl/section.php:150
- 5 SPSectionCtrl->view() JROOT/components/com_sobipro/lib/ctrl/controller.php:229
- 6 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:578
- 7 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
- 11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
- 12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
- 13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
- 14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 15 require_once() JROOT/index.php:32When we duplicate a template and we use blank space in the new template name, like 'new template' there will be created tplnew-template as a abstract class name in the template.php file. Unfortunately it lead to the following fatal error at the front-end:
0 syntax error, unexpected token "-", expecting "{"
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/usr/templates/nowy-szablon/template.php:38
- 2 SPFrontView->registerFunctions() JROOT/components/com_sobipro/lib/views/view.php:323
- 3 SPFrontView->display() JROOT/components/com_sobipro/lib/views/section.php:753
- 4 SPSectionView->display() JROOT/components/com_sobipro/lib/ctrl/section.php:150
- 5 SPSectionCtrl->view() JROOT/components/com_sobipro/lib/ctrl/controller.php:229
- 6 SPController->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:578
- 7 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
- 11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
- 12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
- 13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
- 14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 15 require_once() JROOT/index.php:322.3.5Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/242Categories list are no longer passed to the details view2023-08-22T14:59:18ZSławek SikoraCategories list are no longer passed to the details viewCategories selected for the entry are no longer passed for the details view output. <categories/> node is always empty.Categories selected for the entry are no longer passed for the details view output. <categories/> node is always empty.2.3.4Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/239Add Suffix to URL cause not loading js and css files2023-03-02T10:37:01ZSławek SikoraAdd Suffix to URL cause not loading js and css filesLike in the title, when Add Suffix to URL option is enabled in the Joomla then all header files aren't loaded on the front-end.Like in the title, when Add Suffix to URL option is enabled in the Joomla then all header files aren't loaded on the front-end.2.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/178Data accelerator problems with collection application2022-11-22T08:31:09ZSławek SikoraData accelerator problems with collection applicationI'm not sure if this is related to the core or collection application, so I put it here now. When data accelerator is enabled, and we navigate to the collection view, directly after adding some item to the collection list, when we back to the section/category view there are loaded all fields to the view, no matter if they are set to be visible in vcard or details view. <br />
It doesn't happens when we for example refresh view after adding entry to the collection, or go to the category or perform other action, to recreate this issue, collection view must be open directly after adding entries to the list.I'm not sure if this is related to the core or collection application, so I put it here now. When data accelerator is enabled, and we navigate to the collection view, directly after adding some item to the collection list, when we back to the section/category view there are loaded all fields to the view, no matter if they are set to be visible in vcard or details view. <br />
It doesn't happens when we for example refresh view after adding entry to the collection, or go to the category or perform other action, to recreate this issue, collection view must be open directly after adding entries to the list.2.1.0Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/235Approval notifications aren't sent2022-11-22T08:30:56ZSławek SikoraApproval notifications aren't sentLooks like approval notifications aren't sent at allLooks like approval notifications aren't sent at all2.1.1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/236When selected alpha index letter is '0' letter does not show in the headings2022-11-22T08:30:47ZtheiglooWhen selected alpha index letter is '0' letter does not show in the headingsHi :)
When the selected letter in the alpha index is a zero 0, it does not show in the heading below the index.
Looks like this, heading with empty quotations:
**Entries with Postcodes starting with ''**
thanks![Screenshot_2022-11-08_at_6.46.28_pm](/uploads/23be2b7b54561f953d42988c9c43d026/Screenshot_2022-11-08_at_6.46.28_pm.png)
![Screenshot_2022-11-08_at_6.46.41_pm](/uploads/87e09c93fe5bd0f7b593519bd4a12037/Screenshot_2022-11-08_at_6.46.41_pm.png)
This is a clean install
Joomla 4.2.4
SobiPro 2.1.1.6
PHP 8.0.24Hi :)
When the selected letter in the alpha index is a zero 0, it does not show in the heading below the index.
Looks like this, heading with empty quotations:
**Entries with Postcodes starting with ''**
thanks![Screenshot_2022-11-08_at_6.46.28_pm](/uploads/23be2b7b54561f953d42988c9c43d026/Screenshot_2022-11-08_at_6.46.28_pm.png)
![Screenshot_2022-11-08_at_6.46.41_pm](/uploads/87e09c93fe5bd0f7b593519bd4a12037/Screenshot_2022-11-08_at_6.46.41_pm.png)
This is a clean install
Joomla 4.2.4
SobiPro 2.1.1.6
PHP 8.0.242.1.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/237Error on the payment page redirection2022-11-22T08:30:40ZSławek SikoraError on the payment page redirectionThere appear error page after entry submit and redirection to the payment page:
- 403 Unauthorised Access.
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/mainframe.php:219
- 2 SPJoomlaMainFrame->runAway() JROOT/components/com_sobipro/lib/base/exception.php:237
- 3 SPExceptionHandler()
- 4 trigger_error() JROOT/components/com_sobipro/lib/sobi.php:106
- 5 Sobi::Error() JROOT/components/com_sobipro/lib/ctrl/entry.php:390
- 6 SPEntryCtrl->payment() JROOT/components/com_sobipro/lib/ctrl/entry.php:81
- 7 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:577
- 8 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
- 13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
- 14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 16 require_once() JROOT/index.php:32There appear error page after entry submit and redirection to the payment page:
- 403 Unauthorised Access.
-
- Call stack
- # Function Location
- 1 () JROOT/components/com_sobipro/lib/cms/joomla_common/base/mainframe.php:219
- 2 SPJoomlaMainFrame->runAway() JROOT/components/com_sobipro/lib/base/exception.php:237
- 3 SPExceptionHandler()
- 4 trigger_error() JROOT/components/com_sobipro/lib/sobi.php:106
- 5 Sobi::Error() JROOT/components/com_sobipro/lib/ctrl/entry.php:390
- 6 SPEntryCtrl->payment() JROOT/components/com_sobipro/lib/ctrl/entry.php:81
- 7 SPEntryCtrl->execute() JROOT/components/com_sobipro/lib/ctrl/sobipro.php:577
- 8 SobiProCtrl->execute() JROOT/components/com_sobipro/sobipro.php:55
- 9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
- 10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
- 11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
- 12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:200
- 13 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:241
- 14 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
- 15 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
- 16 require_once() JROOT/index.php:322.1.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/14Notice: Undefined offset: 8 in xxx/components/com_sobipro/lib/models/entry.ph...2022-07-22T07:45:07ZSigrid SuskiNotice: Undefined offset: 8 in xxx/components/com_sobipro/lib/models/entry.php on line 375in http://xxx/administrator/index.php?option=com_sobipro&task=section.entries&pid=1
![Bildschirmfoto_2017-06-27_um_18.34.00](/uploads/e6c23a1f14330a2a624c797f32f685f7/Bildschirmfoto_2017-06-27_um_18.34.00.png)in http://xxx/administrator/index.php?option=com_sobipro&task=section.entries&pid=1
![Bildschirmfoto_2017-06-27_um_18.34.00](/uploads/e6c23a1f14330a2a624c797f32f685f7/Bildschirmfoto_2017-06-27_um_18.34.00.png)1.4Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/11Incorrect redirection code2022-07-22T07:45:07ZSławek SikoraIncorrect redirection codeWhen user is redirected by one of the redirections set in the section configuration, there appear 303 response code in the consoleWhen user is redirected by one of the redirections set in the section configuration, there appear 303 response code in the console1.4Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/6Version checker error2022-07-22T07:45:07ZSławek SikoraVersion checker errorEven if there is installed latest version of the core there is still error message that new version is available:
```
You are currently using SobiPro version 1.3.7 [ Eagle ]
and Sobi Framework version 1.0.2
SobiPro (Core)
New version 1.3.7 is available
```
There is also notification about applications which need to be updated but all are up-to-date, as at our demo page.Even if there is installed latest version of the core there is still error message that new version is available:
```
You are currently using SobiPro version 1.3.7 [ Eagle ]
and Sobi Framework version 1.0.2
SobiPro (Core)
New version 1.3.7 is available
```
There is also notification about applications which need to be updated but all are up-to-date, as at our demo page.1.4Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/2switched off side-menu is not remembered2022-07-22T07:45:07ZSigrid Suskiswitched off side-menu is not remembereda page refresh or any other page loading action shows again the side menu.a page refresh or any other page loading action shows again the side menu.1.4Radek SuskiRadek Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/151js icons override system in section template does not work2021-11-05T12:32:41ZSławek Sikorajs icons override system in section template does not workIcons from JS files can be override only in global icons.json file. Attempt to override in the section template js/icons.json do not affect these icons. Only "upload-field" icons (PHP) can be override in such way.Icons from JS files can be override only in global icons.json file. Attempt to override in the section template js/icons.json do not affect these icons. Only "upload-field" icons (PHP) can be override in such way.2.0 Alpha 1Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/211Failed upgrade - SobiPro 2.0 - Joomla 4.02021-10-21T13:10:35ZGarry-PFailed upgrade - SobiPro 2.0 - Joomla 4.0Failed to create table #__sobipro_crawler
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_category
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_plugins
-----------------------------------------------------------------------------------------------------------------------------
Call to undefined method PDO::real_query()
-----------------------------------------------------------------------------------------------------------------------------
| PHP Built On | Linux server 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 |
|------------------------------------------------|---------------------------------------------------------------------------
| Database Type | mysql |
| Database Version | 5.7.27-30 |
| Database Collation | utf8mb4_general_ci |
| Database Connection Collation | utf8mb4_general_ci |
| Database Connection Encryption | None |
| Database Server Supports Connection Encryption | Yes |
| PHP Version | 7.4.23 |
| Web Server | nginx/1.18.0 |
| WebServer to PHP Interface | fpm-fcgi |
| Joomla! Version | Joomla! 4.0.3 Stable [ Furaha ] 12-September-2021 10:39 GMT |
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 |Failed to create table #__sobipro_crawler
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_category
-----------------------------------------------------------------------------------------------------------------------------
Failed to convert table #__sobipro_plugins
-----------------------------------------------------------------------------------------------------------------------------
Call to undefined method PDO::real_query()
-----------------------------------------------------------------------------------------------------------------------------
| PHP Built On | Linux server 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 |
|------------------------------------------------|---------------------------------------------------------------------------
| Database Type | mysql |
| Database Version | 5.7.27-30 |
| Database Collation | utf8mb4_general_ci |
| Database Connection Collation | utf8mb4_general_ci |
| Database Connection Encryption | None |
| Database Server Supports Connection Encryption | Yes |
| PHP Version | 7.4.23 |
| Web Server | nginx/1.18.0 |
| WebServer to PHP Interface | fpm-fcgi |
| Joomla! Version | Joomla! 4.0.3 Stable [ Furaha ] 12-September-2021 10:39 GMT |
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36 |2.0 Alpha 2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/181Can't upload files with Download Field from front-end2021-06-22T09:43:34ZSławek SikoraCan't upload files with Download Field from front-endThere is no possibility to upload files with the Download field from the front-end. Uploading from back-end works fineThere is no possibility to upload files with the Download field from the front-end. Uploading from back-end works fine1.6.4Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/165Adding entry directly after applying a filter causes error 5002020-09-03T09:18:39ZSławek SikoraAdding entry directly after applying a filter causes error 500Problem appear in the back-end all entries view. When we use filter to look for some entry and then we try to add new entry, there will appear following error:<br>
500 No controller to execute Cannot get fields in section 0
<br>It happens only when we try to add entry directly after filtering entries, if we will go to some other view and then back to all entries list problem will not happenProblem appear in the back-end all entries view. When we use filter to look for some entry and then we try to add new entry, there will appear following error:<br>
500 No controller to execute Cannot get fields in section 0
<br>It happens only when we try to add entry directly after filtering entries, if we will go to some other view and then back to all entries list problem will not happen1.6Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/162Information field output data don't save2020-03-31T14:32:22ZSławek SikoraInformation field output data don't saveThere is no possibility to save any data in the output fields for the information field. After save all entered data is removed and reverted to previous state.There is no possibility to save any data in the output fields for the information field. After save all entered data is removed and reverted to previous state.1.5.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/96'Specified key was too long; max key length is 767 bytes' on SobiPro installa...2018-05-11T11:05:10ZSigrid Suski'Specified key was too long; max key length is 767 bytes' on SobiPro installation (some servers only)https://stackoverflow.com/questions/1814532/1071-specified-key-was-too-long-max-key-length-is-767-bytes
767 bytes is the stated prefix limitation for InnoDB tables in MySQL version 5.6 (and prior versions). It's 1,000 bytes long for MyISAM tables. In MySQL version 5.7 and upwards this limit has been increased to 3072 bytes.
The index limit is 767 bytes, not characters. And since Mysql's utf8mb4 character set (which the rest of the world calls utf8) needs (at most) 4 bytes per character you can only index up to VARCHAR(191)https://stackoverflow.com/questions/1814532/1071-specified-key-was-too-long-max-key-length-is-767-bytes
767 bytes is the stated prefix limitation for InnoDB tables in MySQL version 5.6 (and prior versions). It's 1,000 bytes long for MyISAM tables. In MySQL version 5.7 and upwards this limit has been increased to 3072 bytes.
The index limit is 767 bytes, not characters. And since Mysql's utf8mb4 character set (which the rest of the world calls utf8) needs (at most) 4 bytes per character you can only index up to VARCHAR(191)1.4.7.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/95Error after every several tries of component update2018-05-11T11:05:10ZSławek SikoraError after every several tries of component updateEvery few times when I update component, I see following error:
```
Warning
Unable to write archive
JFolder: :delete: Path is not a folder. Path: /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/media
Error
Error installing component
```
after this error I can again install update without problem. So let say, I install it once, is ok, 2nd time appear error, i try 3rd time and again update will install properly.Every few times when I update component, I see following error:
```
Warning
Unable to write archive
JFolder: :delete: Path is not a folder. Path: /home/sikorasobipro/test2.sikora.sobipro.eu/components/com_sobipro/media
Error
Error installing component
```
after this error I can again install update without problem. So let say, I install it once, is ok, 2nd time appear error, i try 3rd time and again update will install properly.1.4.7.2Sigrid SuskiSigrid Suskihttps://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/27GeoMap module load wrong results with XML cache2018-05-11T08:16:04ZSławek SikoraGeoMap module load wrong results with XML cacheI'm not sure if this is related to the GeoMap module or cache, but when GeoMap module have enabled dynamic mode, when XML cache for the categories is build, after some time for all categories in teh module are loaded result from one category in the module.I'm not sure if this is related to the GeoMap module or cache, but when GeoMap module have enabled dynamic mode, when XML cache for the categories is build, after some time for all categories in teh module are loaded result from one category in the module.1.4.7.3https://code.sigsiu.net/Sigsiu.NET/SobiPro/-/issues/85"SobiPro application(s) are outdated and need to be updated" will be shown fo...2018-05-04T09:35:06ZSigrid Suski"SobiPro application(s) are outdated and need to be updated" will be shown for SobiPro itselfthis does not makes sense as the "View Updates" link doesn't send the user to update component page.
As it will be reported by Joomla, no need to report it also.this does not makes sense as the "View Updates" link doesn't send the user to update component page.
As it will be reported by Joomla, no need to report it also.1.4.7Sigrid SuskiSigrid Suski