Jump to content

teraßyte

Clients
  • Posts

    33,391
  • Joined

  • Days Won

    47

Reputation Activity

  1. Like
    teraßyte got a reaction from Marc Stridgen in Retrieving plugin?   
    No. While you can download an application's folder from the server, plugins aren't the same. When plugins are installed, the setup folder is NOT saved on the server. And the original XML file is not available, either.
    You'll need to rebuild the XML file from scratch based on the files on the server, plus rewrite from scratch the setup folder (if the plugin creates tables or adds columns).
     
    It may take some time, but it can be done. I've done it several times for clients, especially recently after the marketplace closed.
  2. Agree
    teraßyte reacted to Morrigan in Ban Reason   
    So when you ban a member (this includes the auto bans due to spam defense system) its hard to tell WHY the member was banned. Were they banned because they broke a rule, because they were a spammer, because they used the F bomb too many times? WHO KNOWS? because when you ban you have time and that's it. It should be placed sort of like a moderator note. Something that the admin determines if its shown ACP or in the members profile or not.
    I've had members banned for years that may or may not deserve an appeal. But it would be nice to read a deatailed note on how "thread X and thread Y (with links)" were some of the reasons they were banned.
  3. Like
    teraßyte got a reaction from SeNioR- in Retrieving plugin?   
    No. While you can download an application's folder from the server, plugins aren't the same. When plugins are installed, the setup folder is NOT saved on the server. And the original XML file is not available, either.
    You'll need to rebuild the XML file from scratch based on the files on the server, plus rewrite from scratch the setup folder (if the plugin creates tables or adds columns).
     
    It may take some time, but it can be done. I've done it several times for clients, especially recently after the marketplace closed.
  4. Like
    teraßyte got a reaction from Afrodude in Retrieving plugin?   
    No. While you can download an application's folder from the server, plugins aren't the same. When plugins are installed, the setup folder is NOT saved on the server. And the original XML file is not available, either.
    You'll need to rebuild the XML file from scratch based on the files on the server, plus rewrite from scratch the setup folder (if the plugin creates tables or adds columns).
     
    It may take some time, but it can be done. I've done it several times for clients, especially recently after the marketplace closed.
  5. Like
    teraßyte got a reaction from Marc Stridgen in Impossible access (error 500) after upgrade 4.7.16   
    PHP 8.2 is not supported. Downgrade to either 8.0 or 8.1.
  6. Like
    teraßyte got a reaction from SeNioR- in Impossible access (error 500) after upgrade 4.7.16   
    PHP 8.2 is not supported. Downgrade to either 8.0 or 8.1.
  7. Agree
    teraßyte got a reaction from Italy Photography Studio in Cannot update the community - Message Error receiving   
    Looks like one or more files are missing. Try reuploading the files to your server.
  8. Like
    teraßyte got a reaction from Marc Stridgen in Unable to upload profile photos to S3 after upgrade   
    It's also possible it's a problem with the image library. Are you using GD or ImageMagick? For example, I've seen people have issues with specific ImageMagick versions.
  9. Like
    teraßyte got a reaction from SeNioR- in Unable to upload profile photos to S3 after upgrade   
    It's also possible it's a problem with the image library. Are you using GD or ImageMagick? For example, I've seen people have issues with specific ImageMagick versions.
  10. Like
    teraßyte got a reaction from Marc Stridgen in Cannot update the community - Message Error receiving   
    Looks like one or more files are missing. Try reuploading the files to your server.
  11. Like
    teraßyte got a reaction from Justin G in View / Edit Forums User Follows   
    No, there is no function like that in the suite. There might be a modification for it if you look around, or you might need a 3rd party Provider to make it for you.
  12. Like
    teraßyte got a reaction from Jim M in Cannot update the community - Message Error receiving   
    That's a generic server error. Look at the server/PHP error logs to find out what the real error behind it is.
  13. Like
    teraßyte got a reaction from Marc Stridgen in Error when creating CMS record via REST API   
    It's indeed the same issue.
    I posted a fix here if you can't wait for IPS to fix it in the next (?) version:
  14. Like
    teraßyte got a reaction from Afrodude in REST API /cms/records/{databaseId} POST fails with 500 in 4.7.16   
    Looking again at the screenshot, the error is being thrown when a revision for the record is added to the database, not when the record itself is added. If you're adding a new record, it shouldn't store a revision. A revision should be saved only when you edit a record.
     
    The problem is in /applications/cms/api/records.php in the _createOrUpdate() function (lines 424-443):
    /* Store a revision before we change any values */ if ( $item::database()->revisions ) { $revision = new \IPS\cms\Records\Revisions; $revision->database_id = $item::$customDatabaseId; $revision->record_id = $item->_id; $revision->data = $item->fieldValues( TRUE ); if ( $this->member ) { $memberId = $this->member->member_id; } else { $memberId = $item->author()->member_id; } $revision->member_id = $memberId; $revision->save(); }  
    The IF check should also check if you're editing a record because when adding a new one there is no record ID available yet (thus the column NULL error):
    if ( $type == 'edit' AND $item::database()->revisions )
  15. Like
    teraßyte got a reaction from Afrodude in Error when creating CMS record via REST API   
    It's indeed the same issue.
    I posted a fix here if you can't wait for IPS to fix it in the next (?) version:
  16. Agree
    teraßyte reacted to Adriano Faria in Restore deleted content in ModCP with a content item not using \IPS\Content\Searchable   
    I got the following error when I tried to restore a content item from an app that doesn't extends the \IPS\Content\Searchable:
    Thank you.
  17. Agree
    teraßyte got a reaction from G17 Media in read session data from external page   
    I'm confused. 🤨
     
    You're adding data to $_SESSION, but then you're dumping \IPS\Member::loggedIn() which doesn't contain/read $_SESSION in the other file.
     
    What exactly are you trying to do?
  18. Like
    teraßyte got a reaction from DawPi in read session data from external page   
    I'm confused. 🤨
     
    You're adding data to $_SESSION, but then you're dumping \IPS\Member::loggedIn() which doesn't contain/read $_SESSION in the other file.
     
    What exactly are you trying to do?
  19. Thanks
    teraßyte got a reaction from Marc Stridgen in How to merge 2 Invision Self-hosted Communities   
    The Converters application allows you to import also data from another Invision Community.
    Start a new conversion and select Invision Community from the What software are you converting from? dropdown.
  20. Thanks
    teraßyte got a reaction from MediaDiGi in How to merge 2 Invision Self-hosted Communities   
    The Converters application allows you to import also data from another Invision Community.
    Start a new conversion and select Invision Community from the What software are you converting from? dropdown.
  21. Like
    teraßyte got a reaction from AndyF in Updating old and quite big forum to the latest version   
    It should be possible, but without checking directly, it's hard to say:
    For example, your host might have automatically upgraded to a newer PHP version (8.0+), and your current Invision Community version is not compatible with it if it's old enough. In this case, downgrading the PHP version on the server, or upgrading to the latest version will get the site working again. Instead, if the database is broken (missing tables/data or corrupt tables), you'd need a working backup to get it working again. In this case, an upgrade won't solve anything.  
    Are you getting a specific error when trying to login into the ACP? It could be anything without more info. 🤷‍♂️
  22. Agree
    teraßyte got a reaction from AndyF in Forum total stats rounded up ?   
    There was a paid modification from DevFuse for this, but it's not available anymore. The developer has recently gone missing. You'll need someone to make a new modification for you. 🤷‍♂️
     
    EDIT:
    I take that back. Looks like Adriano made a new modification for it already: https://www.invisioneer.org/files/file/220-disable-friendly-number-format/
  23. Like
    teraßyte got a reaction from SeNioR- in [BUG 4.7.16] Announcements allow an end date before the starting date   
    When adding an announcement it's possible to select an ending date before the starting date. When that happens that announcement will never show.
    Example:
    Start date: 26 March End date: 7 March (instead of 7 April)  
    When adding/editing an announcement, it should throw an error if the end date comes before the starting one.
  24. Like
    teraßyte got a reaction from Afrodude in [BUG 4.7.16] The s3Delete task is not activated correctly when deleting an Amazon S3 container   
    In the file /system/File/Amazon.php inside the function deleteContainer() this code is executed when adding a new delete task to delete the files in a bucket folder (container):
    /* Turn on task */ \IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 1 ), array( '`key`=?', 's3_delete' ) ); The problem is that the task's key is not s3_delete but s3Delete (no space + capitalized). This causes the task to delete the S3 files to not activate correctly.
     
    The same issue is also present inside the code of the s3Delete task to disable itself in 2 different locations.
    Lines 44-50:
    if ( !( $obj instanceof \IPS\File\Amazon ) ) { /* Class is not Amazon, so just stop here and truncate the table as there's nothing we can really do now. */ \IPS\Db::i()->delete( 'core_s3_deletions' ); \IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3_delete' ) ); return NULL; } Lines 96-97:
    /* Nothing to do, so switch off the task */ \IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3_delete' ) );  
    Again s3_delete is being used instead of s3Delete.
  25. Haha
    teraßyte reacted to Jim M in [BUG 4.7.16] Announcements allow an end date before the starting date   
    Dear users living in the past, please be made aware of this. Love, Administrators.
    --------
    Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
     
×
×
  • Create New...