Giray Posted August 17, 2021 Posted August 17, 2021 Fixed. As always, Adriano rocks. Thanks! Davyc and Adriano Faria 1 1
Daveo16 Posted August 17, 2021 Posted August 17, 2021 Is the issue Giray mentioned in v2.6.1? If so, could you message me the fix as well please.
Steph40 Posted August 19, 2021 Posted August 19, 2021 @Adriano Faria When I activate this app I get: ParseError: syntax error, unexpected '[', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' (0) #0 [internal function]: IPS\IPS::autoloader() #1 [internal function]: spl_autoload_call() #2 /home/site/public_html/system/Task/Task.php(718): class_exists() #3 /home/site/public_html/system/Task/Task.php(198): IPS\_Task::constructFromData() #4 /home/site/public_html/applications/core/interface/task/task.php(56): IPS\_Task::queued() #5 {main} BACKTRACE #0 /home/site/public_html/init.php(1004): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} LiquidFractal 1
Adriano Faria Posted August 19, 2021 Author Posted August 19, 2021 2 minutes ago, Steph40 said: @Adriano Faria When I activate this app I get: ParseError: syntax error, unexpected '[', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' (0) #0 [internal function]: IPS\IPS::autoloader() #1 [internal function]: spl_autoload_call() #2 /home/site/public_html/system/Task/Task.php(718): class_exists() #3 /home/site/public_html/system/Task/Task.php(198): IPS\_Task::constructFromData() #4 /home/site/public_html/applications/core/interface/task/task.php(56): IPS\_Task::queued() #5 {main} BACKTRACE #0 /home/site/public_html/init.php(1004): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} Sent a message with a fix while I review the whole app. Steph40 1
Steph40 Posted August 19, 2021 Posted August 19, 2021 2 minutes ago, Adriano Faria said: Sent a message with a fix while I review the whole app. Done thank you Adriano Faria 1
LiquidFractal Posted August 19, 2021 Posted August 19, 2021 2 hours ago, Adriano Faria said: Sent a message with a fix while I review the whole app. Hey Adriano....I'm getting the same thing I think: ParseError: syntax error, unexpected '[', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' (0) #0 [internal function]: IPS\IPS::autoloader('IPS\\invite\\task...') #1 [internal function]: spl_autoload_call('IPS\\invite\\task...') #2 /xxx/system/Task/Task.php(718): class_exists('IPS\\invite\\task...') #3 /xxx/system/Task/Task.php(198): IPS\_Task::constructFromData(Array) #4 /xxx/applications/core/interface/task/task.php(56): IPS\_Task::queued() #5 {main} I had to disable Invites as it caused a huge backlog of system log errors. If there's a fix, could you pass it along? Thanks!
Adriano Faria Posted August 19, 2021 Author Posted August 19, 2021 43 minutes ago, liquidfractal said: If there's a fix, could you pass it along? PM sent.
SaebMsarwa Posted August 27, 2021 Posted August 27, 2021 Hello Adriano, I get this error... REPLACE INTO `invite_groups` ( `is_id`, `is_canvite`, `is_unlimited` ) VALUES ( 2, NULL, NULL ) IPS\Db\Exception: Column 'is_canvite' cannot be null (1048) #0 /home1/tab32716/public_html/system/Db/Db.php(967): IPS\_Db->preparedQuery('/*tab32716_foru...', Array) #1 /home1/tab32716/public_html/applications/invite/sources/Member/Group.php(34): IPS\_Db->replace('invite_groups', Array) #2 /home1/tab32716/public_html/applications/invite/extensions/core/GroupForm/Invite.php(60): IPS\invite\Member\_Group::setGroupData(2, NULL, NULL) #3 /home1/tab32716/public_html/applications/core/modules/admin/members/groups.php(224): IPS\invite\extensions\core\GroupForm\_Invite->save(Array, Object(IPS\Member\Group)) #4 /home1/tab32716/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_groups->form() #5 /home1/tab32716/public_html/applications/core/modules/admin/members/groups.php(39): IPS\Dispatcher\_Controller->execute() #6 /home1/tab32716/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\members\_groups->execute() #7 /home1/tab32716/public_html/admin/index.php(13): IPS\_Dispatcher->run() #8 {main}
Adriano Faria Posted August 27, 2021 Author Posted August 27, 2021 19 minutes ago, SaebMsarwa said: I get this error... Happens in any group? Not sure how that's possible. Both columns has 0 (zero) as default value and pass zero if they're disabled. I'm able to save any combination in groups: can invite and unlimited invitations enabled, disable, one enabled and other disabled, and vice-verse. No error. Update your install, btw. You're not using the latest. If it insists, send a PM with an ACP account. I'll take a look today later or tomorrow in the morning.
Kandria Posted September 30, 2021 Posted September 30, 2021 Quote SELECT COUNT(*) FROM `core_members` WHERE member_group_id=?7 OR FIND_IN_SET(7,mgroup_others) IPS\Db\Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?7 OR FIND_IN_SET(7,mgroup_others)' at line 1 (1064) #0 /home4/kaleidx3/public_html/Alpha1/system/Db/Select.php(383): IPS\_Db->preparedQuery('/*kaleidx3_Inv0...', Array, true) #1 /home4/kaleidx3/public_html/Alpha1/system/Db/Select.php(441): IPS\Db\_Select->runQuery() #2 /home4/kaleidx3/public_html/Alpha1/system/Db/Select.php(365): IPS\Db\_Select->rewind() #3 /home4/kaleidx3/public_html/Alpha1/applications/invite/extensions/core/Queue/Bonus.php(39): IPS\Db\_Select->first() #4 /home4/kaleidx3/public_html/Alpha1/system/Task/Task.php(134): IPS\invite\extensions\core\Queue\_Bonus->preQueueData(Array) #5 /home4/kaleidx3/public_html/Alpha1/applications/invite/modules/admin/invite/bonus.php(74): IPS\_Task::queue('invite', 'Bonus', Array, 1) #6 /home4/kaleidx3/public_html/Alpha1/system/Dispatcher/Controller.php(101): IPS\invite\modules\admin\invite\_bonus->manage() #7 /home4/kaleidx3/public_html/Alpha1/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #8 /home4/kaleidx3/public_html/Alpha1/admin/index.php(13): IPS\_Dispatcher->run() I am able to give bonus invites to the default groups (Members, Admin, Mods) However this group (Alpha Testers) the first time kicked an error I tried to re-create by doing it a second time /after/ I had given the main group (Members) Bonus tickets, and it did not give the error Just putting it here as a FYI in case you need it
Dean Hamer Posted October 10, 2021 Posted October 10, 2021 (edited) Hi, I have just purchased the plug and I am testing by sending a test invitation but I receive the following error: Error: Undefined constant "IPS\Theme\raw" (0) #0 /home/XXX/public_html/system/Email/Email.php(925): IPS\Theme\email_plaintext_invite_invite_system('Test', 'f5cced00846daf6...', 1636466942, 'EMAIL ADDRESS', 'Dean', Object(IPS\Email\Outgoing\Smtp)) #1 /home/XXX/public_html/system/Email/Email.php(350): IPS\_Email::template('invite', 'invite_system', 'plaintext', Array) #2 /home/XXX/public_html/system/Email/Email.php(651): IPS\_Email->compileContent('plaintext', Object(IPS\Member)) #3 /home/XXX/public_html/system/Email/Email.php(562): IPS\_Email->_compileMessage(Object(IPS\Member), '--==_mimepart_5...', '\r\n', 998) #4 /home/XXX/public_html/system/Email/Outgoing/Smtp.php(198): IPS\_Email->compileFullEmail('EMAIL ADDRESS', Array, Array, 'enquiries@upthe...', NULL, Array) #5 /home/XXX/public_html/system/Email/Email.php(708): IPS\Email\Outgoing\_SMTP->_send('EMAIL ADDRESS', Array, Array, 'EMAIL ADDRESS', NULL, Array) #6 /home/XXX/public_html/applications/invite/sources/Invite/Invite.php(30): IPS\_Email->send('EMAIL ADDRESS') #7 /home/XXX/public_html/init.php(902) : eval()'d code(85): IPS\invite\_Invite::sendInvitation('EMAIL ADDRESS', 'Test', 'f5cced00846daf6...', 'EMAIL ADDRESS', 'Dean', 1636466942) #8 /home/XXX/public_html/applications/core/modules/front/system/settings.php(57): IPS\core\modules\front\system\invite_hook_is_Settings->_invitesystem() #9 /home/XXX/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\front\system\_settings->manage() #10 /home/XXX/public_html/applications/core/modules/front/system/settings.php(42): IPS\Dispatcher\_Controller->execute() #11 /home/XXX/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\system\_settings->execute() #12 /home/XXX/public_html/index.php(13): IPS\_Dispatcher->run() #13 {main} I have tested my email settings and I am receiving emails from the forum. Just get this when I try send out a new invite. Edited October 10, 2021 by Dean Hamer
Dean Hamer Posted October 10, 2021 Posted October 10, 2021 9 minutes ago, Adriano Faria said: I’ll test tomorrow. I'm on version 4.6.7. Adriano Faria 1
Adriano Faria Posted October 11, 2021 Author Posted October 11, 2021 22 hours ago, Dean Hamer said: I'm on version 4.6.7. Are you using SMTP? Can’t reproduce with PHP Mial.
Dean Hamer Posted October 11, 2021 Posted October 11, 2021 (edited) 1 hour ago, Adriano Faria said: Are you using SMTP? Can’t reproduce with PHP Mial. Yes, I'm using SMTP. Edited October 11, 2021 by Dean Hamer Adriano Faria 1
Adriano Faria Posted October 13, 2021 Author Posted October 13, 2021 On 10/11/2021 at 11:33 AM, Dean Hamer said: Yes, I'm using SMTP. Still can't reproduce, even using SMTP: But this is 4.6.0 and I'm waiting for the admin to update to 4.6.7, which will happen today later, according to him. I'll post back when I'm able to test in latest version.
Dean Hamer Posted October 19, 2021 Posted October 19, 2021 On 10/13/2021 at 1:02 PM, Adriano Faria said: Still can't reproduce, even using SMTP: But this is 4.6.0 and I'm waiting for the admin to update to 4.6.7, which will happen today later, according to him. I'll post back when I'm able to test in latest version. Hi, Have you managed to test on 4.6.7? I can't seem to fix this my end. Thanks, Dean
Adriano Faria Posted October 22, 2021 Author Posted October 22, 2021 No mate, not yet. I can’t test in my host so I need. But I honestly don’t see any possibility of a huge change between minor versions like 4.6.0 to 4.6.7. Post a screenshot of your email settings like I did please.
Dean Hamer Posted October 22, 2021 Posted October 22, 2021 4 hours ago, Adriano Faria said: No mate, not yet. I can’t test in my host so I need. But I honestly don’t see any possibility of a huge change between minor versions like 4.6.0 to 4.6.7. Post a screenshot of your email settings like I did please.
Allegheny Posted October 22, 2021 Posted October 22, 2021 I just wanted to offer that I am running Invision Community v4.6.7, invite system v2.6.2 and SMTP for email and everything just works great. My community is running under the default theme and the server is running PHP v7.4.24. I sent out a couple of invites yesterday, users received emails fine and registered without issue. I don't mean to interfere and will leave the diagnostics to Adriano and Dean. I just wanted to offer that my default installation is working and thought the working specs might help narrow down the issue Dean is experiencing. Adriano Faria and Dean Hamer 2
Adriano Faria Posted October 22, 2021 Author Posted October 22, 2021 @Dean Hamer, send a message with your ACP credentials. Let me take a look.
Mark Empson Posted October 23, 2021 Posted October 23, 2021 I am unable to install. Stops part way through the installation and say it struck an error. v4.6.7 and SMTP.
LiquidFractal Posted November 17, 2021 Posted November 17, 2021 (edited) Hey Adriano, I'm using Invite System 2.6.3 on IPB 4.6.8. I was editing one of my member groups (Guest) - specifically, I was toggling Can download original image? under the Gallery tab of the Guest group. When I tried toggling this value and saving the changes, I got the following error: REPLACE INTO `invite_groups` ( `is_id`, `is_canvite`, `is_unlimited` ) VALUES ( 2, NULL, NULL ) IPS\Db\Exception: Column 'is_canvite' cannot be null (1048) #0 /home/XXXX/public_html/system/Db/Db.php(969): IPS\_Db->preparedQuery('/*lfctlr_INVI...', Array) #1 /home/XXXX/public_html/applications/invite/sources/Member/Group.php(34): IPS\_Db->replace('invite_groups', Array) #2 /home/XXXX/public_html/applications/invite/extensions/core/GroupForm/Invite.php(60): IPS\invite\Member\_Group::setGroupData(2, NULL, NULL) #3 /home/XXXX/public_html/applications/core/modules/admin/members/groups.php(224): IPS\invite\extensions\core\GroupForm\_Invite->save(Array, Object(IPS\Member\Group)) #4 /home/XXXX/public_html/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\members\_groups->form() #5 /home/XXXX/public_html/applications/core/modules/admin/members/groups.php(39): IPS\Dispatcher\_Controller->execute() #6 /home/XXXX/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\members\_groups->execute() #7 /home/XXXX/public_html/admin/index.php(13): IPS\_Dispatcher->run() #8 {main} If I temporarily disable the Invite System I can change the value no problem, but this is something you should probably look into. 🙂 Edited November 18, 2021 by LiquidFractal Adriano Faria 1
Adriano Faria Posted November 17, 2021 Author Posted November 17, 2021 Quick fix tomorrow in the morning. 👍 LiquidFractal 1
Recommended Posts