• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

Teams module

Started by mikejd, October 12, 2021, 07:52:19 PM  ( Read 41,632 times )

mikejd

Going out on a bit of a limb here, not really expecting anyone to be able to help:
I have a site I set up with WB some years ago, currently version 2.12.2 r379. I have the Teams module installed, v1.4.1. It is working OK until I try to change it. I am unable to open existing entries to modify or new entries to add.

I'm guessing probably too old for anyone to know much about it, but just asking anyway.

    dbs

    Hi, is the name really Teams or is it maybe Team?
    I have a Team version 1.5.0 from 2020.
    But i think it is a PHP version problem.

      mikejd

      Hi @Feb, thanks for the suggestion. I tried to find an update for the Team module but haven't so far. I thought it might be something like this. Would you be able to provide a link to where I can get the 1.5.0 or later version?

        dbs

        #3
        1.5.0 attached.
        Hope it helps.

        Have a look at the X-button in the top menu for errors.
        Post the errors.

        Alternatively: modules like "OFA" or "itemz" do the same i guess.

        edit: attachement removed. see next postings.

          mikejd

          Thanks for the file. Can I just upgrade this by overwriting the files on the server?

          No error messages from X-button

            dbs

            I would install like other modules.
            Make a backup before.

              mikejd

              Thanks, module upgraded and now working correctly.

                hgs

                #7
                Errors after installation and in the BE the options opened and saved. (php7.4)

                Thu, 14 Oct 2021 05:24:36 +0000 [E_NOTICE] /modules/team/save_settings.php:[34]  from /modules/team/save_settings.php:[34] bin\Exceptions\ErrorHandler::handler "Undefined index: theader"
                Thu, 14 Oct 2021 05:24:36 +0000 [E_NOTICE] /modules/team/save_settings.php:[37]  from /modules/team/save_settings.php:[37] bin\Exceptions\ErrorHandler::handler "Undefined index: bheader"
                Thu, 14 Oct 2021 05:24:36 +0000 [E_NOTICE] /modules/team/save_settings.php:[39]  from /modules/team/save_settings.php:[39] bin\Exceptions\ErrorHandler::handler "Undefined index: bfooter""

                Errors after calling the help in the BE
                Thu, 14 Oct 2021 05:29:21 +0000 [E_NOTICE] /modules/team/languages/help-DE.php:[36] from /modules/team/help.php:[69] include "Undefined index: BMLOOP""
                Create group and member works without error message
                  LG Harald

                  "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

                  "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

                  dbs

                  #8
                  Thanks for testing.
                  For me it was not possible to add a team member. group was no problem.
                  Hope now with v 1.5.1 all messages are gone.

                  edit: attachment removed, see next post.

                    hgs

                    Thanks for fix it

                    This message came up during the upgrade
                    Thu, 14 Oct 2021 10:51:17 +0000 [E_WARNING] /modules/team/upgrade.php:[24]  from /modules/team/upgrade.php:[24] header "Cannot modify header information - headers already sent by (output started at /xxx/xxxxxxxx/xxxx/xxxxx/xxxxxx/include/phplib/Template.php:703)""
                    The other messages are gone
                    (Y)
                    A new installation with php8 also has no messages

                    What I do not like, the mailadrsee is not encrypted in the source code, as is now common with WB and many modules.
                      LG Harald

                      "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

                      "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

                      dbs

                      #10
                      Good tested, thanks.  (Y)
                      Little modification for upgrade.php should fix the error.
                      1.5.2 attached.

                      edit: attachment removed. see next postings.

                        hgs

                        Thank you, this leaves the error logger empty
                        php7.4 + php8
                          LG Harald

                          "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

                          "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

                          crnogorac081

                          Quote from: dbs on October 14, 2021, 05:53:07 PM
                          Good tested, thanks.  (Y)
                          Little modification for upgrade.php should fix the error.
                          1.5.2 attached.

                          I wanted to test this 1.5.2 , and to report that clean install doesnt work , some tables are not created
                            Web developer

                            dbs

                            And i can report deleting of the section is not possible, because the delete.php is not complete.
                            Starts without <?php and it seems there is some code missing.
                            Damn. If someone have a original 1.5.0 please attach it.

                              crnogorac081

                              Quote from: dbs on October 13, 2021, 12:49:20 PM
                              1.5.0 attached.
                              Hope it helps.

                              Have a look at the X-button in the top menu for errors.
                              Post the errors.

                              Alternatively: modules like "OFA" or "itemz" do the same i guess.

                              Where did you find this version ? This is 1.5.0
                                Web developer

                                dbs

                                This is from my PC. I had accidentally deleted folders with many ZIPs.
                                The restoration was probably faulty.

                                  crnogorac081

                                  I ve tried to manually execute db install, probably sql is nit strict so tables are not created
                                    Web developer

                                    hgs

                                    I did a fresh install with php 8 without any problems.

                                    However, in the FE still warnings are issued in the ErrorLogger
                                    Tue, 19 Oct 2021 07:09:07 +0000 [E_WARNING] /modules/team/view.php:[199] from /framework/frontend.functions.php:[273] require "Undefined variable $gname"
                                    Tue, 19 Oct 2021 07:09:07 +0000 [E_WARNING] /modules/team/view.php:[201]  from /framework/frontend.functions.php:[273] require "Undefined variable $gname"



                                      LG Harald

                                      "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

                                      "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

                                      crnogorac081

                                      Can you check if tables _members and _groups are installed ?
                                        Web developer

                                        dbs

                                        Again tested install with PHP8 und Maria-DB 10 and WB 2.13.
                                        Works.

                                        The messages from hgs now should also gone with 1.5.3 (was a typo in $gname).

                                          crnogorac081

                                          Quote from: dbs on October 19, 2021, 11:20:44 AM
                                          Again tested install with PHP8 und Maria-DB 10 and WB 2.13.
                                          Works.

                                          The messages from hgs now should also gone with 1.5.3 (was a typo in $gname).

                                          I am testing under latest wb portable, and there was an error in install file so _modules and _groups are not created in DB.
                                          Here is updated file.
                                            Web developer

                                            hgs

                                            Quote from: crnogorac081 on October 19, 2021, 10:35:26 AM
                                            Can you check if tables _members and _groups are installed ?

                                            In my installation on the server at all-inkl.com all tables have been created.
                                              LG Harald

                                              "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

                                              "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

                                              hgs

                                              Thanks for the fix!! (Y)
                                              Version 1.5.3 tested through.Upgrade from 1.5.2 = ok
                                              deinstall = ok
                                              install (1.5.3) = ok
                                              Create group and change position = ok
                                              Create member and change the position = ok
                                              Delete member = ok
                                              Delete group = ok

                                              wish: mask email address in source code
                                                LG Harald

                                                "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

                                                "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

                                                dbs

                                                Emailadress is possible if in Team settings is "Hide Email":  No.
                                                Then the WB handling is like other masked emailadresses.

                                                  hgs

                                                   (Y) Thanks for the explanation, That's confusing though, that it works "correctly" for "no". :-[
                                                    LG Harald

                                                    "Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

                                                    "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

                                                    \n\n