Jump to content

adik

Members
  • Posts

    59
  • 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

Posts posted by adik

  1. @Marc Stridgen the devil tempted me to try to do it manually 😈

    UPDATE core_members SET signature=REPLACE(signature, '<___base_url___>/uploads/monthly_','<fileStore.core_Attachment>/monthly_');
    UPDATE core_message_posts SET msg_post=REPLACE(msg_post, '<___base_url___>/uploads/monthly_','<fileStore.core_Attachment>/monthly_');
    UPDATE forums_archive_posts SET archive_content=REPLACE(archive_content, '<___base_url___>/uploads/monthly_','<fileStore.core_Attachment>/monthly_');
    UPDATE forums_posts SET post=REPLACE(post, '<___base_url___>/uploads/monthly_','<fileStore.core_Attachment>/monthly_');
    UPDATE core_member_status_replies SET reply_content=REPLACE(reply_content, '<___base_url___>/uploads/monthly_','<fileStore.core_Attachment>/monthly_');

    It came out fine. I marked for myself about 100 places where there was this problem, and everywhere is in good

     

    Thanks to everyone for your help. The topic can be closed

  2. I looked in the database and here is the result:

    Post with the problem:

    Quote

    <img alt="image.png.f7ce5212b9066f2f8a5dbe2a9d512123.png" class="ipsImage ipsImage_thumbnailed" data-fileid="7971" data-ratio="46.68" style="height:auto;" width="392" data-src="<___base_url___>/uploads/monthly_2023_02/image.png.f7ce5212b9066f2f8a5dbe2a9d512123.png" src="<___base_url___>/applications/core/interface/js/spacer.png" />

    Good post:

    Quote

    <img alt="tester.png" data-fileid="6096" data-ratio="150.80" style="height:auto;" width="332" data-src="<fileStore.core_Attachment>/monthly_2020_12/43551202_tester.thumb.png.91a4da4693e422cff50bf57ecb3fc15v.png" src="<___base_url___>/applications/core/interface/js/spacer.png" />

    That is, instead of the "<fileStore.core_Attachment>" storage method, the default forum address is "<___base_url___>"

    I will replace it manually in the database, but I am still curious if it is definitely the user's fault?

  3. @Stuart Silvester how can I fix the "broken users" where I used the connect tool? When they log into their account, they have the error:

    Error: Call to undefined method IPS\core\modules\front\system\register::save() (0)
    #0 public/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_register->validating()
    #1 public/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
    #2 public/index.php(13): IPS\_Dispatcher->run()
    #3 {main}
  4. @Marc Stridgen ok. In the logs I also see a recurring error for the address e.g. index.php?app=core&do=validate&vid=01a9f0cb78f4098f45fe38cb61599ffec&mid=936738&key=5cc9b234c752068fdaaaee44e5845de858f79fe8158c20d0e158a5eacba9acc10&email=1&type=registration_validate

    TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in public/system/Content/Comment.php on line 1360 (0)
    #0 public/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment()
    #1 public/system/Content/Item.php(3047): IPS\Content\_Comment->changeAuthor()
    #2 public/system/Member/Member.php(4869): IPS\Content\_Item->changeAuthor()
    #3 public/system/Member/Member.php(4821): IPS\_Member->_processPostBeforeRegistering()
    #4 public/system/Member/Member.php(4804): IPS\_Member->validationComplete()
    #5 public/applications/core/modules/front/system/register.php(800): IPS\_Member->emailValidationConfirmed()
    #6 public/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_register->validate()
    #7 public/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
    #8 public/index.php(13): IPS\_Dispatcher->run()
    #9 {main}
  5. TypeError: IPS\forums\_Forum::setLastComment(): Argument #2 ($updatedItem) must be of type ?IPS\Content\Item, IPS\forums\Topic\Post given, called in /public/system/Content/Comment.php on line 1360 (0)
    #0 /public/system/Content/Comment.php(1360): IPS\forums\_Forum->setLastComment()
    #1 /public/applications/core/extensions/core/Queue/MemberContent.php(137): IPS\Content\_Comment->changeAuthor()
    #2 /public/system/Task/Task.php(54): IPS\core\extensions\core\Queue\_MemberContent->run()
    #3 /public/applications/core/modules/admin/system/background.php(87): IPS\_Task::runQueue()
    #4 /public/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\core\modules\admin\system\_background->IPS\core\modules\admin\system\{closure}()
    #5 /public/applications/core/modules/admin/system/background.php(138): IPS\Helpers\_MultipleRedirect->__construct()
    #6 /public/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\system\_background->process()
    #7 /public/applications/core/modules/admin/system/background.php(42): IPS\Dispatcher\_Controller->execute()
    #8 /public/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_background->execute()
    #9 /public/admin/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

    Error during user deletion process

    Invision Community: 4.7.15

  6. @Dreadknux in the template named includeJS add

    essential_cookies: {expression="json_encode( \IPS\Request::getEssentialCookies())" raw="true"},
      {{if member.member_id}}
    onlyEssentialCookies: {{if \IPS\Request::i()->cookieConsentEnabled() AND !\IPS\Member::loggedIn()->optionalCookiesAllowed AND \IPS\Dispatcher::i()->controllerLocation !== 'admin'}}true{{else}}false{{endif}},
      {{endif}}

    and save

    Could contain: Page, Text

  7. Hello.

    IndexNow enabled in IPS settings sends links to private messages.

    • Could contain: Text

    I have my own friendly URL for private messaging. Could this be causing this to happen?

    How can I eliminate this problem?

    Thank you in advance.

×
×
  • Create New...