pipsi Posted December 5, 2019 Report Share Posted December 5, 2019 due to this error (see att) I have uninstalled the mod. at "drop table and delete varse" I got the same error. after restoring all backup files my page works again. maybe it's because I haven't registered as SOSA#1 yet? when and where should I do that? sorry for this stupid question! many thanks for the help Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 6, 2019 Report Share Posted December 6, 2019 Hi Pipsi, Never have this case... this line 198 : $sosaMax = 2**$bits_system; makes the maximum sosa number equal to 2 exposant $bits_system This $bits_system comes from the value given in the sosa_vars.php file and = 64 by default. This value can be changed by edit in the mod manager. Questions : Do you change this value? on which system are you working? Did you try to reload the mod? Pleas verify that this line 198 is like $sosaMax = 2**$bits_system; (with 2 '*') Michel Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 6, 2019 Report Share Posted December 6, 2019 ... For your questions about sosa 1 : Once the mod installed, go to the person you want to designate as sosa1 In the new sosa menu, click "Designate as sosa 1" (above right) Wait the program is finished. That's all Michel Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 6, 2019 Report Share Posted December 6, 2019 ... and ... there is no stupid questions, only stupid answers... (A.Einstein) Michel Quote Link to comment Share on other sites More sharing options...
pipsi Posted December 6, 2019 Author Report Share Posted December 6, 2019 @Michel KIRSCH I didn't change anything - the line 198 looks like that - see att. I'll change $sosaMax = 2**$bits_system; // 31 or 63 to $sosaMax = 2**$bits_system; (with 2 '*') // 31 or 63 have a good evening! Ingrid Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 6, 2019 Report Share Posted December 6, 2019 Noooo ! Don't ! with 2 '*' was just a remark of me. NOT PHP code !! Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 6, 2019 Report Share Posted December 6, 2019 Ingrid, Everything seems to be OK in the code. My questions stay : on which system are you working? Did you try to reload the mod? Michel Quote Link to comment Share on other sites More sharing options...
pipsi Posted December 6, 2019 Author Report Share Posted December 6, 2019 Michel, I'll relaod the mod. Do you mean TNG Version? It's v12.0.2 following mods are installed and I have already a 4th pull down menu - see atts Ingrid Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 6, 2019 Report Share Posted December 6, 2019 Ingrid, No I mean on which PC are you working? With Windows? linux? You say that you have the 4th pulldown menu. No problem for sosa, it installs in your 4th menu if it exists yet. Sorry, but I don't see what's wrong... Do you try to reinstall sosa? I don't see it in your list of mods... Tomorrow, I'll load your mods and see if it's a problem with one of them. I use yet some of your mods... But normally, this have nothing to do with the "mystery of line 198" Have a good night ! Michel Quote Link to comment Share on other sites More sharing options...
pipsi Posted December 7, 2019 Author Report Share Posted December 7, 2019 Good morning from Vienna! I'm working with Windows 10. thank you very much for your efforts - I will install it again tomorrow, today are Christmas shopping announced 😉 Ingrid Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 8, 2019 Report Share Posted December 8, 2019 Ingrid, I think that teh problem comes from your internet provider the '**' operator is valid since PHP 5.6 if your internet provider runs PHP beyond version 5.6, it raises an error. May be you must make a change on your operator's dashboard to change the PHP version you run (see image for provider one.com) Please replace the litigious line 198 in the tng_sosa.php file : $sosaMax = 2**$bits_system; by this one $sosaMax = pow(2,$bits_system); and say me what's append... If you experience any problem to make this line change, i'll send you a new (modified) zip file. Michel Quote Link to comment Share on other sites More sharing options...
pipsi Posted December 8, 2019 Author Report Share Posted December 8, 2019 @Michel KIRSCH I changed the PHP Version to 5.6 Should I still change line 198 in the tng_sosa.php file from $sosaMax = 2**$bits_system; to $sosaMax = pow(2,$bits_system); and if yes - before I'll upload the whole sosa mod package via FTP to TNG mod folder? THANK you so much for your help! Ingrid Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 8, 2019 Report Share Posted December 8, 2019 Ingrid, Normally, if you change your PHP version, it is not necessaty to change tue line code. It must be OK. Michel Quote Link to comment Share on other sites More sharing options...
pipsi Posted December 8, 2019 Author Report Share Posted December 8, 2019 @Michel KIRSCH THANK YOU for your time and help - SOSA works 🤗 Special greetings from Vienna - a Sachertorte à la Sacher 😉 have a good rest of Sunday! Ingrid Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted December 8, 2019 Report Share Posted December 8, 2019 Danke shön Ingrid, Ich liebe schocolade... Michel Quote Link to comment Share on other sites More sharing options...
pipsi Posted December 8, 2019 Author Report Share Posted December 8, 2019 ☺️ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.