Jump to content

Giray

Clients
  • Posts

    651
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Giray

  1. Thanks Andy. I tried but failed 😞 I entered: We sent an email to <strong>%1$s</strong>. It contains a link you need to click in order to confirm your account. In the future, when you log in, you can either do so with your Callsign (or user name) or with your %2$s email. It gave me what you see above without the variable replacement. What did I do wrong?
  2. Thanks Adriano. I tried but it still works ?? Bizarre. I had, indeed, created a new form recently (the one to ask for emails to notify for our new application). I went there now, entered an email, and validated. Tried the member group copy again, and it still works. All right, I’ve taken up enough of your time all, thanks as always for your help. If the gremlin reappears, I’ll come back 😉
  3. Thank you all!! Well, there’s a gremlin. I first tried again this morning, and the problem was still there. Just to be sure I cleared the System Cache again, and the problem was still there. I then deactivated ‘everything’ and the problem disappeared. I have now, one by one, reactivated each app and plugin, clearing the cache each time, and now it works, with everything re-activated?? Anyway, thanks for your help and I’ll revert if the problem persists. Thanks again Marc, Adriano and Daniel.
  4. Indeed, that was it. I removed the translated string. Note, however, that the only thing ‘off’ about the translated string was that it mentioned the email address a second time. Anyway, I’ll just leave it as is for now. Eventually, see if you can replicate?
  5. This is the English message that appears on screen right after registering (in language bits it’s reg_confirm_email_desc) The problem is that on my forum, after registering, that’s exactly what appears. The %s is not replaced by the person’s email. Thoughts? Thanks.
  6. Hi. Any thoughts. I tried to ‘copy’ my Member group to create a copy (to then modify it). I get this crash: Any ideas? (This is above my skill level). FYI, I just tried to simply create a new group and that works fine.
  7. DUH. Figured it out. Fantastic, works!! Thank you.
  8. My bad, put it in the wrong place. @Terabyte thanks. Almost perfect. For some reason, the [A-Z] is still allowing for lowercase letters to slip through? Also, in regex101.com I can't seem to put the first / and the /gm. It asks for a \ escape. But without it works fine, I just have to force the uppercase 😉
  9. in case anyone wants to try their hand, it's just: Any uppercase letters (no limit on # of characters) followed by exactly 4 digits No digits allowed before the the letters No letters allowed after the four digits No special characters allowed So good: JOHN1960 JEFF5120 JIM2345 But bad: 12JOHN1960 JOHN 1960 JOHN19607 JOHN1960T All I really need is the 'flavor'. No need to really rack your brains over the expression. Just posted in case we have a wiz who can bang it out in their sleep. Otherwise will post on the regex subreddit. Thanks all.
  10. I need to write a super simple regex. I was going to post the ask on Reddit but they ask what flavor of Regex we're using: PCRE, Python, Javascript, Notepad++, Sublime, Google Sheets, etc Thanks
  11. @Daniel F What's the best way forward on this bug? Thanks!!
  12. @Daniel F Have to leave for the day. I'll check back to see if you managed to fix this one too. Just checked and for me, when I assign the ticket to someone, it still crashes. Have a great day.
  13. I've always wondered if that tape works. Anyway, checked and, indeed, nicely fixed. THANK YOU.
  14. Log TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /home/myaccount/public_html/applications/core/sources/Announcements/Announcement.php:198 Stack trace: #0 /home/myaccount/public_html/system/Theme/Theme.php(880) : eval()'d code(104): IPS\core\Announcements\_Announcement::loadAllByLocation('content') #1 /home/myaccount/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->announcementContentTop() #2 /home/myaccount/public_html/system/Theme/Theme.php(880) : eval()'d code(18644): IPS\Theme\_SandboxedTemplate->__call('announcementCon...', Array) #3 /home/myaccount/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('header', 'horizontal') #4 /home/myaccount/public_html/system/Theme/Theme.php(880) : eval()'d code(6690): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #5 /home/myaccount/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('d09378790251aab...', '\n\n<section id='...', Array) #6 /home/myaccount/public_html/system/Output/Output.php(748): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #7 /home/myaccount/public_html/init.php(913) : eval()'d code(26): IPS\_Output->error('We could not lo...', '2S328/1', 404, '', Array, NULL, NULL) #8 /home/myaccount/public_html/applications/core/interface/file/attachment.php(136): IPS\cms_hook_Output->error('node_error', '2S328/1', 404, '') #9 {main} And backtrace #0 /home/myaccount/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(TypeError), 'template_error') #1 /home/myaccount/public_html/system/Theme/Theme.php(880) : eval()'d code(18644): IPS\Theme\_SandboxedTemplate->__call('announcementCon...', Array) #2 /home/myaccount/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('header', 'horizontal') #3 /home/myaccount/public_html/system/Theme/Theme.php(880) : eval()'d code(6690): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #4 /home/myaccount/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('d09378790251aab...', '\n\n<section id='...', Array) #5 /home/myaccount/public_html/system/Output/Output.php(748): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #6 /home/myaccount/public_html/init.php(913) : eval()'d code(26): IPS\_Output->error('We could not lo...', '2S328/1', 404, '', Array, NULL, NULL) #7 /home/myaccount/public_html/applications/core/interface/file/attachment.php(136): IPS\cms_hook_Output->error('node_error', '2S328/1', 404, '') #8 {main} I thank you... while blushing 😉 Too kind!!
  15. Unfortunately it is. Just tried what you suggested and I still get: [[Template core/front/global/announcementContentTop is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
  16. Sorry about that @Daniel F. Done, fixed. You should now have access (I hope).
  17. Thanks for your patience. Done, now disabled (was enabled). I'll wait and see what happens. Thx again.
  18. Thank you Marc but I'm never quite sure where to post and not get into trouble 😇 FYI, I believe my caching is already disabled? Posting image here just to make sure I have it right?
  19. Thanks @Luuuk but, just to make sure I'm reading it right, it's currently unsolved, correct?
  20. @Sonya* @Nathan Explosion Thanks! Done, posted.
  21. When editing or adding Stock Action in the support desk, I get a crash. Ruled out Radical Tags which we thought was causing the first crash. Even disabling it, the crash persists. Thoughts? Thanks. Original crash with Radtags enabled: UPDATE `nexus_support_stock_actions` `nexus_support_stock_actions` SET `action_status`=2,`action_staff`=NULL,`action_message`='<p> We have escalated your request to K3MRI. The ticket will be placed on a short hold pending his reply. </p> <p> Thank you. </p> ',`action_show_in`='*' WHERE action_id=2 IPS\Db\Exception: Column 'action_staff' cannot be null (1048) #0 /home/myaccount/public_html/system/Db/Db.php(1156): IPS\_Db->preparedQuery('/*myaccount_ipsma...', Array) #1 /home/myaccount/public_html/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`nexus_support_...', '`action_status`...', 'WHERE action_id...') #2 /home/myaccount/public_html/system/Node/Model.php(2494): IPS\Patterns\_ActiveRecord->save() #3 /home/myaccount/public_html/init.php(913) : eval()'d code(257): IPS\Node\_Model->save() #4 /home/myaccount/public_html/system/Node/Model.php(3316): IPS\Node\radtags_hook_C_NodeModel->save() #5 /home/myaccount/public_html/init.php(913) : eval()'d code(184): IPS\Node\_Model->saveForm(Array) #6 /home/myaccount/public_html/system/Node/Controller.php(419): IPS\Node\radtags_hook_C_NodeModel->saveForm(Array) #7 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form() #8 /home/myaccount/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #9 /home/myaccount/public_html/applications/nexus/modules/admin/support/stockactions.php(39): IPS\Node\_Controller->execute() #10 /home/myaccount/public_html/applications/nexus/modules/admin/support/settings.php(91): IPS\nexus\modules\admin\support\_stockactions->execute() #11 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\nexus\modules\admin\support\_settings->__call('form', Array) #12 /home/myaccount/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #13 /home/myaccount/public_html/admin/index.php(13): IPS\_Dispatcher->run() #14 {main} With it disabled: UPDATE `nexus_support_stock_actions` `nexus_support_stock_actions` SET `action_status`=2,`action_staff`=NULL,`action_message`='<p> This ticket is being escalated to Jim | K3MRI for action. Please allow him time to review and respond. Thank you. </p> ',`action_show_in`='*' WHERE action_id=3 IPS\Db\Exception: Column 'action_staff' cannot be null (1048) #0 /home/myaccount/public_html/system/Db/Db.php(1156): IPS\_Db->preparedQuery('/*myaccount_ipsma...', Array) #1 /home/myaccount/public_html/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`nexus_support_...', '`action_status`...', 'WHERE action_id...') #2 /home/myaccount/public_html/system/Node/Model.php(2494): IPS\Patterns\_ActiveRecord->save() #3 /home/myaccount/public_html/system/Node/Model.php(3316): IPS\Node\_Model->save() #4 /home/myaccount/public_html/system/Node/Controller.php(419): IPS\Node\_Model->saveForm(Array) #5 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form() #6 /home/myaccount/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #7 /home/myaccount/public_html/applications/nexus/modules/admin/support/stockactions.php(39): IPS\Node\_Controller->execute() #8 /home/myaccount/public_html/applications/nexus/modules/admin/support/settings.php(91): IPS\nexus\modules\admin\support\_stockactions->execute() #9 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\nexus\modules\admin\support\_settings->__call('form', Array) #10 /home/myaccount/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #11 /home/myaccount/public_html/admin/index.php(13): IPS\_Dispatcher->run() #12 {main} Thanks. Link to the original post in the community:
  22. I keep getting different template errors that I would never get before. Any ideas on this one. See image: This is the error log: {{if $announcements = \IPS\core\Announcements\Announcement::loadAllByLocation('content')}} <div class='cAnnouncementsContent'> {{foreach $announcements as $announcement}} <div class='cAnnouncementContentTop ipsAnnouncement ipsMessage_{$announcement->color} ipsType_center'> {{if $announcement->type == \IPS\core\Announcements\Announcement::TYPE_CONTENT}} <a href='{$announcement->url()}' data-ipsDialog data-ipsDialog-title="{$announcement->title}">{$announcement->title}</a> {{elseif $announcement->type == \IPS\core\Announcements\Announcement::TYPE_URL}} <a href='{$announcement->url}' target="_blank" rel='noopener'>{$announcement->title}</a> {{else}} <span>{$announcement->title}</span> {{endif}} </div> {{endforeach}} </div> {{endif}}
  23. Hi again (thx for the help!) Still crashing with Radtags disabled. Here is the log though radtags has disappeared, the 3316 remains. UPDATE `nexus_support_stock_actions` `nexus_support_stock_actions` SET `action_status`=2,`action_staff`=NULL,`action_message`='<p> This ticket is being escalated to Jim | K3MRI for action. Please allow him time to review and respond. Thank you. </p> ',`action_show_in`='*' WHERE action_id=3 IPS\Db\Exception: Column 'action_staff' cannot be null (1048) #0 /home/myaccount/public_html/system/Db/Db.php(1156): IPS\_Db->preparedQuery('/*myaccount_ipsma...', Array) #1 /home/myaccount/public_html/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`nexus_support_...', '`action_status`...', 'WHERE action_id...') #2 /home/myaccount/public_html/system/Node/Model.php(2494): IPS\Patterns\_ActiveRecord->save() #3 /home/myaccount/public_html/system/Node/Model.php(3316): IPS\Node\_Model->save() #4 /home/myaccount/public_html/system/Node/Controller.php(419): IPS\Node\_Model->saveForm(Array) #5 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form() #6 /home/myaccount/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #7 /home/myaccount/public_html/applications/nexus/modules/admin/support/stockactions.php(39): IPS\Node\_Controller->execute() #8 /home/myaccount/public_html/applications/nexus/modules/admin/support/settings.php(91): IPS\nexus\modules\admin\support\_stockactions->execute() #9 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\nexus\modules\admin\support\_settings->__call('form', Array) #10 /home/myaccount/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #11 /home/myaccount/public_html/admin/index.php(13): IPS\_Dispatcher->run() #12 {main} And the backtrace: #0 /home/myaccount/public_html/init.php(1015): IPS\_Log::log('UPDATE `nexus_s...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception)) #2 {main}
  24. Thanks @Sonya*. I tried but that was not it. Still crashing 😞
  25. Trying to both edit a current Stock Action and/or try to create a new one and I get an error. Any ideas? Thanks UPDATE `nexus_support_stock_actions` `nexus_support_stock_actions` SET `action_status`=2,`action_staff`=NULL,`action_message`='<p> We have escalated your request to K3MRI. The ticket will be placed on a short hold pending his reply. </p> <p> Thank you. </p> ',`action_show_in`='*' WHERE action_id=2 IPS\Db\Exception: Column 'action_staff' cannot be null (1048) #0 /home/myaccount/public_html/system/Db/Db.php(1156): IPS\_Db->preparedQuery('/*myaccount_ipsma...', Array) #1 /home/myaccount/public_html/system/Patterns/ActiveRecord.php(520): IPS\_Db->update('`nexus_support_...', '`action_status`...', 'WHERE action_id...') #2 /home/myaccount/public_html/system/Node/Model.php(2494): IPS\Patterns\_ActiveRecord->save() #3 /home/myaccount/public_html/init.php(913) : eval()'d code(257): IPS\Node\_Model->save() #4 /home/myaccount/public_html/system/Node/Model.php(3316): IPS\Node\radtags_hook_C_NodeModel->save() #5 /home/myaccount/public_html/init.php(913) : eval()'d code(184): IPS\Node\_Model->saveForm(Array) #6 /home/myaccount/public_html/system/Node/Controller.php(419): IPS\Node\radtags_hook_C_NodeModel->saveForm(Array) #7 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\Node\_Controller->form() #8 /home/myaccount/public_html/system/Node/Controller.php(69): IPS\Dispatcher\_Controller->execute() #9 /home/myaccount/public_html/applications/nexus/modules/admin/support/stockactions.php(39): IPS\Node\_Controller->execute() #10 /home/myaccount/public_html/applications/nexus/modules/admin/support/settings.php(91): IPS\nexus\modules\admin\support\_stockactions->execute() #11 /home/myaccount/public_html/system/Dispatcher/Controller.php(90): IPS\nexus\modules\admin\support\_settings->__call('form', Array) #12 /home/myaccount/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #13 /home/myaccount/public_html/admin/index.php(13): IPS\_Dispatcher->run() #14 {main} And this is the Backtrace: #0 /home/myaccount/public_html/init.php(1015): IPS\_Log::log('UPDATE `nexus_s...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Db\Exception)) #2 {main} I'm going to explore if it has to do with Radical Tags. Seems to be mentioned in the system log. Nope, that's not it. Even with Radtags deactivated it crashes.
×
×
  • Create New...