Jump to content

H5K

Clients
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    1

 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 H5K

  1. Hi,

    We are currently using Wasabi as our CDN (similar to Amazon S3). We want to also use Cloudflare Polish which from my understanding requires the images to be loaded from a domain alias. SME's (based on IPS forum  contributions seem to be @ASTRAPI who shared the setup instructions and @Joel R/ @All Astronauts who have created a plugin for improved integration with files. Any input will be greatly appreciated.

     

    Current image link example:

    https://s3.eu-west-1.wasabisys.com/cdn.OURDOMAIN.COM/monthly_2023_02/cOVR.jpg.3cc3fcaddbb584e8041f302d16d92bec.jpg

    DESIRED image link example:

    https://cdn.OURDOMAIN.COM/monthly_2023_02/cOVR.jpg.3cc3fcaddbb584e8041f302d16d92bec.jpg

     

    The desired image link already works and is set up in our DNS settings. We just don't know how to make IPS use that URL instead.

    Screenshot of storage config settings:

    Could contain: Page, Text Note that "Custom URL" seems to only be applicable to uploads.

  2. Hi,

    We've been using Wasabi for file storage with Invision Community for several years now.

    We modified a setting and completely broke the site -- it seems like 0 javascript is loading and we can't access the admincp.

    _______________________

    UPDATE 1:

    • Although we reverted the configuration using the core_file_storage  table in the DB, we did not add  "https://" to the "endpoint" field. After adding  it, the JS seems to be loading.
    • Images seem to be giving a permission denied error but we are looking into the cause of that now.

    UPDATE 2:

    • After going back into the admin CP and re-applying the storage settings, everything seems to be working correctly now.

    ________________________

    What caused the issue:

    1. We went into storage settings and modified the "endpoint" field
      1. Previous Value: s3.eu-west-1.wasabisys.com
      2. New value: cdn.ourdomain.com.s3.eu-west-1.wasabisys.com

    ^ After that change the site completely stopped loading all JS and seemingly images.

    Attempted fix (FAILED):

    1. core_file_storage <-- We accessed this table in the DB and manually reverted the storage setting JSON. Unfortunately this did not work.

    SUCCESSFUL FIX:

    1. When reverting the storage setting manually in the core_file_storage table, "https" must be appended to the beginning.
    2. After applying the config change via the DB, remaining issues (some images not loading) were resolved by going into admin CP -> storage settings -> re applying the storage settings there.

    Hope this helps someone if they run into the same issue 🙂. Thank you for reading about my anxiety attack! 

    Our site is completely unusuable right now and we'd appreciate any  help. Thank you very much.

     

     

  3. Hi,

    My apologies since this is probably a very stupid question and a very simple fix but I slept very little due to a server failure.

    We moved our self-hosted IPS install from one webserver to another. We copied over the public_html directory and updated the IP in conf_global.php, however, we're getting a 404 error when we access any page other than the homepage.

    Can someone point me in the right direction? All the .htaccess should have been moved over, no?

  4. Hi,

    We're looking for someone that we could pay to customize a few aspects of our IPS installation.

    Things we need:

    • Theme modification to integrate a PSD design into the IPS header/navbar
    • A slight modification to a database's "list" template
    • Some Javascript code on the Store page (to do some custom validation checks)

    Budget is between $500 - $1,000.

    Thank you.

  5. Just now, Jim M said:

    to is required to be an array, not integer so would need to change that in your setup.

    {
      "from": 39,
      "to": [
        1196
      ],
      "title": "TestTitle",
      "body": "TestBody"
    }

    Now I am getting invalid sender 😕

    {
        "errorCode": "1C374\/2",
        "errorMessage": "INVALID_SENDER"
    }

  6. 7 minutes ago, Jim M said:

    I am sorry to hear you are not happy. However, self-hosting is self-managed so while I can't speak for what happened in the past, I can tell you that your server configuration is your responsibility to manage but as my colleague and I stated, we will provide you with what may be impacting you, it is up to yourself to actually check and resolve those items.

    Glad to hear it's working. What browser were you previously trying in? Did you have any plugins installed? 

    Firefox is what I was using prior. Thanks for the help and support, regardless.

    If you could, please review this new issue I am having when you get a chance:

    https://invisioncommunity.com/forums/topic/470590-apicoremessages-invalid-sender/#comment-2915450

  7.  

    The API documentation clearly states that "to" is an array. Sorry.

     

    According to the documentation for this endpoint, "from" and "to" parameters are the member_id.

    I can view the member IDs from the URL and know they are correct:
    /admin/?app=core&module=members&controller=members&do=view&id=1196

    Despite this, I am getting invalid_recipient. The API key I am using does have permissions, the member IDs exist, and I have also tried using display names and emails.

    from:1196
    to:1195
    title:test
    body:test test

    {
        "errorCode""1C374/3",
        "errorMessage""INVALID_RECIPIENT"
    }
     

    Please close this I am an idiot and am not passing an array.

     

  8. 5 minutes ago, Jim M said:

    Unfortunately, you would need to evaluate this yourself or with your server administrator if you are unsure. I'm afraid, we can only provide suggestions when it comes to server configuration and actually performing the work is up to you and your hosting provider/server administrator. You may wish to also disable any custom .htaccess rewrite/redirect rules as this may also be effecting it. Note, they could be up a directory too based on your server configuration.

    I've checked and there is not an htaccess that should be affecting it. Same with rewrite rules. I'm a software engineer and while I don't specialize in web dev I have done as much troubleshooting as I could think of.

    I've been an IPS customer for close to 10 years now, and there used to be a time where the team actually connected via SSH to help troubleshoot. It's disappointing that-that great level of customer service is no longer provided to your self-hosted customers (I've expressed this concern before via ticket). I'd pay for a support package if it was offered.

    Does this URL mean anything to you guys? It's what is appearing after the redirect:

    ?app=core&module=system&controller=login&error=&ref=YXBwPWNvcmUmbW9kdWxlPWFwcGxpY2F0aW9ucyZjb250cm9sbGVyPWFwaQ==

    EDIT: PS -- also tried updating to PHP 8.1 and disabling pretty much everything security related I could find.

  9. 14 minutes ago, Mark H said:

    I would check with your host about whether you actually had mod_security disabled.

    That symptom of being redirected to login is almost always due to mod_security or another security program of some sort that's blocking certain URL's.

    modsec is controlled by a server-level configuration. Some hosts allow individual account overrides, but not all of them, and you would need to verify with your host that you are allowed to override on your account. (If they do allow it, verify you have overridden it correctly.)

     

    We're running on our own dedicated server using WHM. I've attached screenshots of everywhere I remembered to disable mod_security. Unfortunately we still have the issue. Thanks for the help.

     

    Could contain: File, Page, Text, Webpage

    Could contain: Page, Text, File

  10. Whenever I click the API link in the Admin CP I immediately get redirected to the admin login page. Despite logging in with correct info, I am redirected to the login page again.

    Not seeing anything in error logs. Fresh install (< 2 months old), latest version, no custom admin CP theme.

    I've already tried disabling mod_security, cloudflare, and firewall.

  11. I have an application that I need to unify the logins for. There are two options I can think of:

    1. Use an external database and create a login method for IPS. I know IPS supports an external OAuth login but this isn't something that I have done befeore.

    2. Use IPS's database for accounts (it's really nicely structured) -- and integrate the login with the application. User logs into application -> API call to IPS to verify correct email + password -> login success/failure.

    The problem with option 2 is that I looked through the REST API documentation and I did not find a method to verify a users' login information.
     

    My questions are:

    1. Is there a way to authenticate a users IPS login information via the API, and if not, would it be feasible to code something that does this externally?
    2. Is there any documentation or guide on creating an OAuth login method that is compatible with IPS?

    Thank you in advance for the help and guidance.

  12. 4 hours ago, Marc Stridgen said:

    Could I please confirm this is the standard Amazon storage method, and not an alternative?

    Correct. Although I have to say I've also tried Wasabi and I am getting a "failed to connect" error. I thought it could be some firewall issue so I disabled CSF but it's still not working.

  13. Hi,


    I followed this guide but despite following the steps and doing them over 3 times, I am getting this error:

    There appears to be a problem with your Amazon (dkrbucket3) 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

     

    Anyone have any ideas?

×
×
  • Create New...