Sim Posted January 31, 2021 Posted January 31, 2021 I never created a topic for this: I just release an update: If you previous downloaded this mod, i recommend updating it. Fixed bug related to a timing issue that prevented classes from ending when supposed to. Players can only take a class once, since multiple people requested it. PLAYER CAN NOT TAKE SAME CLASS OVER AND OVER. When deleting a class from ACP, it also removes it from classes players has taken. 2 Quote
orsino Posted January 31, 2021 Posted January 31, 2021 Thx sim You are doing a great job here 1 Quote
CrazyElk Posted February 1, 2021 Posted February 1, 2021 I have this mod Sim and its excellent, thanks for the great job. 😎 1 Quote
athena26 Posted July 31, 2021 Posted July 31, 2021 I get a error with this mod . When collecting it gives me a error Quote
Canjucks Posted August 1, 2021 Posted August 1, 2021 9 hours ago, athena26 said: I get a error with this mod . When collecting it gives me a error What does your error log say? Quote
CrazyElk Posted August 1, 2021 Posted August 1, 2021 10 hours ago, athena26 said: I get a error with this mod . When collecting it gives me a error I had the same issue after upgrading to GL V2.4.1 ... I have raised it with @KyleMassacre who took over Sim's mods and he suggested he is going to patch it. Quote
CrazyElk Posted August 2, 2021 Posted August 2, 2021 3 hours ago, Canjucks said: what's the error log say though? ["E_RECOVERABLE_ERROR","Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '400 = '0' WHERE US_id = '1'' at line 1 in \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/user.php:442\nStack trace:\n#0 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/user.php(442): PDOStatement->execute()\n#1 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/user.php(449): user->set()\n#2 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/modules\/installed\/jobs\/jobs.hooks.php(24): user->add()\n#3 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/hook.php(42): page->{closure}()\n#4 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/user.php(354): hook->run()\n#5 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/module.php(39): user->bindVarsToTemplate()\n#6 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/page.php(144): module->__construct()\n#7 \/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/page.php(58): page->load()\n#8 \/var\/www\/vhosts\/crimecity.cc\/httpdoc","\/var\/www\/vhosts\/crimecity.cc\/httpdocs\/class\/user.php",442,"2021-07-02 02:38:45"] Quote
Dayo Posted August 2, 2021 Posted August 2, 2021 (edited) This may be my bad going from gl 2.3 to gl 2.4 i changed the add function from add($value, $stat) to add($stat, $value) to keep it inline with the set function. if you swap the parameters around it should work Edited August 2, 2021 by Dayo 1 Quote
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.