• 313
  • More

Unable to add report type element in studio

Hi folks, I tried to add an item to report types list in studio, but my system refuses to do so. I checked ModSecurity for new entries, but no blocking from my server. I also checked the error log and dev console, nothing. Anybody out there having the same issue? Screenshot attached.

Attachments
Replies (16)
    • I had some problems with JS not working on my website and by removing the OneSignal keys to not let it load on the site fixed it for me. Don't know why, I don't really need it right now anyways.

      • Thx for your input, @stan laurentiu . But I did not setup OneSignal, either.

        • Your DevTools says otherwise...maybe you forgot a setting or something, but then again, I could not use any feature that needed JS, if you only have problems with creating report types, that might be something else.

          • I disconnected OneSignal, that's why I get a status 400 error. Should not be a problem, just no push notifications on my test site. I cannot add report items to the list, which is very unusual for my system. I never had issues with that before (at the beginning I had to do a lot of exceptions for ModSecurity on my server in order to allow javascript code, but that's not the problem in this actual case).

            • I can add elements to the gender list (Sex), Relationships list, Country list, Currency list and Language list but I cannot add elements to Reactions list, App Types list, Colors list and Content filters list. As said, no blocking from ModSecurity, no entries in error.log for that. Time to call for help from @LeonidS , once again.🤗

              • Hi @thomlin

                I had the same problem. It's an old and known UNA issue. They never fixed it, just provided a workaround which was to add the report items via the Developer app. It works in the Developer app but not in the Form app. It's probably a bug. @Alex T⚜️

                Please check my post here: https://una.io/d/add-new-item-in-report-types-system-not

                Thanks

                • Hi @OneEagle , I missed your report on that issue. Sorry for double-posting and big thanks for guiding me to the solution! I'm sure, the dev team will do further investigation on that issue.

                  • You are welcome. Yes, hope they will ;)

                    • Hello

                      By default 'Add New Item' action is disabled for this data list. The same behaviour we have for 'Content Filter' data list.

                      It's working this way because these list are marked as 'Non Extandable' in the DB, because uncareful changes may cause errors in related features. And as usual you may change them in Developer if you really know what you are doing. :)

                      • Thnak you for that clarification, @Anton L . I'd like to add "intimidation" as a new report element and change "nude" to "sexual harrasment".

                        • You are welcome. :) Yes, you may add new item, but for changing the existed one I recommend you to change the language key _sys_pre_lists_report_types_nude

                          • That makes sense now. Thank you @Anton L

                            • Ich habe mir jetzt selbst so eine Datei erstellt.

                              Habe mir als erstes eine

                              ".user.ini" erstellt mit dem Inhalt

                              error_reporting = -1

                              ; beruecksichtigt alle Fehler

                              error_log = error_log.txt

                              ; setzt Pfad und Namen der Log-Datei

                              log_errors = On

                              ; aktiviert Fehlerprotokollierung

                              ; display_errors = On

                              ; optional: Fehleranzeige im Browser

                              Somit habe ich mir eine

                              "error_log.txt" Datei generiert.

                              Nun habe ich mir den Fehler neu generiert und diese Ergebnisse erhalten

                              ______Inhalt in der error_log.txt Datei__________________

                              [12-Dec-2022 21:19:28 UTC] PHP Warning:  require_once(/hp/cm/ac/oq/www/myclip/plugins/Twilio/sdk/src/Twilio/autoload.php): Failed to open stream: No such file or directory in /hp/cm/ac/oq/www/myclip/inc/classes/BxDolTwilio.php on line 51

                              [12-Dec-2022 21:19:28 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/hp/cm/ac/oq/www/myclip/plugins/Twilio/sdk/src/Twilio/autoload.php' (include_path='.:/opt/php8.0.25/lib/php') in /hp/cm/ac/oq/www/myclip/inc/classes/BxDolTwilio.php:51

                              Stack trace:

                              #0 /hp/cm/ac/oq/www/myclip/template/scripts/BxBaseServiceAccount.php(278): BxDolTwilio->sendSms('+4917491236589', 'Der Bestät...')

                              #1 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolRequest.php(129): BxBaseServiceAccount->servicePhoneConfirmation()

                              #2 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolRequest.php(57): BxDolRequest::_perform(Array, 'BxTemplServiceA...', 'servicePhoneCon...', Array, false)

                              #3 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolService.php(52): BxDolRequest::processAsService(Array, 'servicePhoneCon...', Array, 'TemplServiceAcc...')

                              #4 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolService.php(82): BxDolService::call('system', 'phone_confirmat...', Array, 'TemplServiceAcc...', false)

                              #5 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(844): BxDolService::callSerialized('a:4:{s:6:"modul...', Array)

                              #6 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(591): BxBasePage->_getBlockService(Array)

                              #7 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(525): BxBasePage->_getBlockCode(Array, '0')

                              #8 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(463): BxBasePage->_getBlockCodeWithCache(Array, '0')

                              #9 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(506): BxBasePage->_getPageCodeVars()

                              #10 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(204): BxBasePage->_getPageCode()

                              #11 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolPage.php(581): BxBasePage->getCode()

                              #12 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolPage.php(333): BxDolPage->displayPage()

                              #13 /hp/cm/ac/oq/www/myclip/r.php(30): BxDolPage::processSeoLink('confirm-phone')

                              #14 {main}

                                thrown in /hp/cm/ac/oq/www/myclip/inc/classes/BxDolTwilio.php on line 51

                              ___________ENDE____________

                              Wo fange ich jetzt an?

                              • Irgendwas stimmt mit deinem Twilio Modul nicht. Aber das muss sich wohl der Experte genauer ansehen. @LeonidS , any ideas to that?

                                • [12-Dec-2022 21:19:28 UTC] PHP Warning:  require_once(/hp/cm/ac/oq/www/myclip/plugins/Twilio/sdk/src/Twilio/autoload.php): Failed to open stream: No such file or directory in /hp/cm/ac/oq/www/myclip/inc/classes/BxDolTwilio.php on line 51
                                  [12-Dec-2022 21:19:28 UTC] PHP Fatal error:  Uncaught Error: Failed opening required '/hp/cm/ac/oq/www/myclip/plugins/Twilio/sdk/src/Twilio/autoload.php' (include_path='.:/opt/php8.0.25/lib/php') in /hp/cm/ac/oq/www/myclip/inc/classes/BxDolTwilio.php:51
                                  Stack trace:
                                  #0 /hp/cm/ac/oq/www/myclip/template/scripts/BxBaseServiceAccount.php(278): BxDolTwilio->sendSms('+491749128074', 'Der Bestät...')
                                  #1 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolRequest.php(129): BxBaseServiceAccount->servicePhoneConfirmation()
                                  #2 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolRequest.php(57): BxDolRequest::_perform(Array, 'BxTemplServiceA...', 'servicePhoneCon...', Array, false)
                                  #3 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolService.php(52): BxDolRequest::processAsService(Array, 'servicePhoneCon...', Array, 'TemplServiceAcc...')
                                  #4 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolService.php(82): BxDolService::call('system', 'phone_confirmat...', Array, 'TemplServiceAcc...', false)
                                  #5 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(844): BxDolService::callSerialized('a:4:{s:6:"modul...', Array)
                                  #6 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(591): BxBasePage->_getBlockService(Array)
                                  #7 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(525): BxBasePage->_getBlockCode(Array, '0')
                                  #8 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(463): BxBasePage->_getBlockCodeWithCache(Array, '0')
                                  #9 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(506): BxBasePage->_getPageCodeVars()
                                  #10 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(204): BxBasePage->_getPageCode()
                                  #11 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolPage.php(581): BxBasePage->getCode()
                                  #12 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolPage.php(333): BxDolPage->displayPage()
                                  #13 /hp/cm/ac/oq/www/myclip/r.php(30): BxDolPage::processSeoLink('confirm-phone')
                                  #14 {main}
                                    thrown in /hp/cm/ac/oq/www/myclip/inc/classes/BxDolTwilio.php on line 51
                                  [12-Dec-2022 21:24:30 UTC] PHP Fatal error:  Uncaught Error: Call to a member function getInfo() on bool in /hp/cm/ac/oq/www/myclip/template/scripts/BxBaseServiceConnections.php:219
                                  Stack trace:
                                  #0 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolRequest.php(129): BxBaseServiceConnections->serviceRelationsTable()
                                  #1 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolRequest.php(57): BxDolRequest::_perform(Array, 'BxTemplServiceC...', 'serviceRelation...', Array, false)
                                  #2 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolService.php(52): BxDolRequest::processAsService(Array, 'serviceRelation...', Array, 'TemplServiceCon...')
                                  #3 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolService.php(82): BxDolService::call('system', 'relations_table', Array, 'TemplServiceCon...', false)
                                  #4 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(844): BxDolService::callSerialized('a:3:{s:6:"modul...', Array)
                                  #5 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(591): BxBasePage->_getBlockService(Array)
                                  #6 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(525): BxBasePage->_getBlockCode(Array, '0')
                                  #7 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(463): BxBasePage->_getBlockCodeWithCache(Array, '0')
                                  #8 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(506): BxBasePage->_getPageCodeVars()
                                  #9 /hp/cm/ac/oq/www/myclip/template/scripts/BxBasePage.php(204): BxBasePage->_getPageCode()
                                  #10 /hp/cm/ac/oq/www/myclip/modules/base/general/classes/BxBaseModGeneralPageEntry.php(117): BxBasePage->getCode()
                                  #11 /hp/cm/ac/oq/www/myclip/modules/base/profile/classes/BxBaseModProfilePageEntry.php(127): BxBaseModGeneralPageEntry->getCode()
                                  #12 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolPage.php(581): BxBaseModProfilePageEntry->getCode()
                                  #13 /hp/cm/ac/oq/www/myclip/inc/classes/BxDolPage.php(333): BxDolPage->displayPage()
                                  #14 /hp/cm/ac/oq/www/myclip/r.php(30): BxDolPage::processSeoLink('persons-profile...')
                                  #15 {main}
                                    thrown in /hp/cm/ac/oq/www/myclip/template/scripts/BxBaseServiceConnections.php on line 219
                                  
                                  • Hello @ALBG !

                                    I cut your answer because the given logs contain commonly the repeat of one error. It's better to post similar things as the attached files.

                                    Not logged in users can't 'Comments Post'.