8 days later

Hello, I have been trying to install this extension through the method suggested:

composer require sijad/flarum-ext-links

however, it seems that the shared host I use, Dreamhost, is killing the processes before its fully installed due to excessive resource usage. Is there any other way I can install this extension?

Thank you and any help is appreciated.

    Hello,

    Thanks for your reply, got it to work by dropping the github folder and updating through composer.

      Hello,

      Another question, I am getting an error whenever I try to add an external link. Error: 500, Internal server error. I can add internal flarum links just fine.

      Again, any and all help is greatly appreciated!

      Thank you!

        blai is there any related log in storage/logs/ folder or in your php error logs?

        Hello,

        Would the debug log from my forum suffice? I am pretty new to php/forum development so I am not entirely sure what storage/logs/folder mean. Would i find this through a specific path? (for example. /home/user_name/logs/domain)

        Thank you

          blai never mind, this problem has been fixed, please update extension using composer and try again please

          composer update

            Hello,

            Perfect, I just tested and it works like a charm.

            Thank you!

            17 days later

            blai Hi, I'm having the same problem with Dreamhost. What do you mean by "dropping the github folder and updating through composer"? I'm trying to figure out a way to install extensions without all my processes being killed. ?

              5 days later

              blai Whoa, I'm just reading it - FANTASTIC. Weirdly enough I kept trying to install extensions and my host kept telling me it was killing the process. And then I checked the admin panel ... and the extensions were there. No idea how that happened.

              I'm absolutely going to read your guide though. Thanks so much for posting this. ?

              7 days later

              sijad could you add to your top post how to update your extension? Cheers!

              @justshipit

              sijad never mind, this problem has been fixed, please update extension using composer and try again please

              composer update

              sijad

              Removed with composer remove sijad/flarum-ext-links and installed again. Still doesn't work and showing me this (beginning of error log):

              POST https://www.xxxxxxxx.xyz/discuss/api/links
              
              {
                "errors": [
                  {
                    "code": 500,
                    "title": "Internal server error",
                    "detail": "exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'is_internal' in 'field list'' in /var/www/html/discuss/vendor/illuminate/database/Connection.php:390\nStack trace:\n#0 /var/www/html/discuss/vendor/illuminate/database/Connection.php(390): PDO->prepare('insert into `fa...')\n#1 /var/www/html/discuss/vendor/illuminate/database/Connection.php(644): 

                justshipit Make sure you enable/disable the extension. Flarum doesn't clear extension-related cache unless you do that.

                  justshipit really not sure why this happened, please run this code in your root folder:

                  php ./flarum migrate