Jump to content

AutoMinded

Clients
  • Posts

    26
  • 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 AutoMinded

  1. 2 hours ago, Marc Stridgen said:

    There isnt a tool which will restore just the commerce part of things. You would need to go through each of the templates and revert them if you wish to do just that product. It would be advisable to contact your theme developer

    I have it with all themes, including the default IPB theme. 

    2 hours ago, Daniel F said:

    This could also be a bug which returns this message. Do you see anything being logged in your system log?

    This is what I find

    Error: Call to a member function sub() on null in /var/www/AM_forum/public_html/forums/applications/nexus/sources/Subscription/Package.php:741
    Stack trace:
    #0 /var/www/AM_forum/public_html/forums/applications/nexus/sources/Subscription/Package.php(781): IPS\nexus\Subscription\_Package->costToUpgrade()
    #1 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(311): IPS\nexus\Subscription\_Package->costToUpgradeIncludingTax()
    #2 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->row()
    #3 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(819): IPS\Theme\_SandboxedTemplate->__call()
    #4 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->rows()
    #5 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(1084): IPS\Theme\_SandboxedTemplate->__call()
    #6 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->table()
    #7 /var/www/AM_forum/public_html/forums/system/Helpers/Table/Table.php(579): IPS\Theme\_SandboxedTemplate->__call()
    #8 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(7423): IPS\Helpers\Table\_Table->__toString()
    #9 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
    #10 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
    #11 /var/www/AM_forum/public_html/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
    #12 /var/www/AM_forum/public_html/forums/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
    #13 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
    #14 /var/www/AM_forum/public_html/forums/index.php(13): IPS\_Dispatcher->run()
    #15 {main}

     

    #0 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log()
    #1 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(819): IPS\Theme\_SandboxedTemplate->__call()
    #2 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->rows()
    #3 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(1084): IPS\Theme\_SandboxedTemplate->__call()
    #4 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_nexus_front_subscription->table()
    #5 /var/www/AM_forum/public_html/forums/system/Helpers/Table/Table.php(579): IPS\Theme\_SandboxedTemplate->__call()
    #6 /var/www/AM_forum/public_html/forums/system/Theme/Theme.php(885) : eval()'d code(7423): IPS\Helpers\Table\_Table->__toString()
    #7 /var/www/AM_forum/public_html/forums/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate()
    #8 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call()
    #9 /var/www/AM_forum/public_html/forums/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish()
    #10 /var/www/AM_forum/public_html/forums/system/Dispatcher/Front.php(558): IPS\Dispatcher\_Standard->finish()
    #11 /var/www/AM_forum/public_html/forums/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish()
    #12 /var/www/AM_forum/public_html/forums/index.php(13): IPS\_Dispatcher->run()
    #13 {main}

     

  2. My issue is resolved but it's not thanks to support. My entered information was correct and I had followed the outdated guide on your website. We pay for this software, the guides are outdated, everything works via AWS CLI and yet it was my fault?

    This post is to help anyone else who runs into the same issue. Amazon advises to stop using ACLs and set security via IAM Policies. But that's not working for IPB as they test certain ACL permissions.

    Debugging deeper.

    Quote

    [08/Feb/2022:10:13:55 +0000] xxx.xxx.xxx.xxx arn:aws:iam::856116516470:user/ipbfiles 4VJM8237XV8MK49T REST.PUT.OBJECT test/37a7b62f6cf9b5ebb2a0cec92949f69e.ips.txt "PUT /test/37a7b62f6cf9b5ebb2a0cec92949f69e.ips.txt HTTP/1.1" 400 AccessControlListNotSupported 277 - 17 - "-" "Invision Community 4" - ULGLz7YnlTSEFGYCeen7IHplGrZWu5gyM2FYTqYjJwPx4AaO/J0ls9wU/A6TjsbvRFy9DkKTEdE= SigV4 ECDHE-RSA-AES128-GCM-SHA256 AuthHeader xxx.s3.eu-central-1.amazonaws.com TLSv1.2 -

    Go to your AWS Bucket --> Permissions --> Object Ownership --> Edit --> Enable ACLs

    Now I can add a new Storage Profile via IPB Admin.

    This step is not mentioned in the outdated guide.
    https://invisioncommunity.com/4guides/advanced-options/server-management/configuring-amazon-s3-r230/

    image.png.40193dd7570da2326d008464fa9b538e.png

  3. It's a shared server so I need to prep some things to grant support ssh access.

    Can you confirm it's working on a test forum please? I have enabled logging on the bucket.

    So via AWS CLI I can do anything without issues from the same server. Using IPB still gives error 400.

    I digged in the code and is there a reason why you first await the error before using the correct s3 endpoint?

    Anyway, on the bucket I have this error from IPB. Sensitive info has been replaced by xxx

    Quote

    [08/Feb/2022:09:22:20 +0000] xxx.xxx.xxx.xxx - 7G712202WDZ7D1Y3 REST.PUT.OBJECT test/16afc91dcdfbe741d633b7206e99596d.ips.txt "PUT /test/16afc91dcdfbe741d633b7206e99596d.ips.txt HTTP/1.1" 400 AuthorizationHeaderMalformed 371 - 2 - "-" "Invision Community 4" - VQF83+LNqxvUnYI27PUMKtpDn4Ng1L5W247CbeCNlUwx62kc51Yh3cE8WTdYxLACfKbyxEiZxhI= SigV4 ECDHE-RSA-AES128-GCM-SHA256 AuthHeader xxxxx.s3.eu-central-1.amazonaws.com TLSv1.2 -

    Does that ring a bell please?

  4. I wanted to open a ticket but that is no longer possible.

    Running latest version and I want to move the uploads to AWS S3. I have created a bucket following the very outdated guide (please update it)
    https://invisioncommunity.com/4guides/advanced-options/server-management/configuring-amazon-s3-r230/

    Adding the storage method results in error 400.

    Quote

    There appears to be a problem with your Amazon (xxxxxx) file storage settings which can cause problems with uploads.
    After attempting to upload a file to the directory, the URL to the file is returning a HTTP 400 error. Update your settings and then check and see if the problem has been resolved

    As I was sure everything is properly configured on AWS I have installed the AWS CLI tool. Used it on the same Linux server and on a Windows PC to double check. On both machines I'm able to list, download and upload files to the bucket. I'm also able to view uploaded images via the s3 public url. So that error 400 is not related to my bucket but to the IPB software.
    https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

    I'm happy to share my bucket details and access keys in a private message as I can de-activate them afterwards.

    Has anything changed in your software or where can I find more information about the error please? The System & Error log are empty. Running PHP v7.4.27

    Search results for similar error
    https://invisioncommunity.com/forums/topic/464674-amazon-s3-file-storage-http-400-error/

     

     

    IPB_StorageSettings.jpg

  5. Is it possible to select different "marked messages" per user group? At the moment we can mark a message but all messages have the same background. 

    For example:

    • Admin has a yellow badge = Dark yellow border + Light yellow background
    • Moderator has blue badge = Dark blue border + Light blue background
    • ...

    Is this possible? I'm still on IPB 4.4.

×
×
  • Create New...