Please do tell us when you update this for the latest version.

Hi. I can't see any specific changes that would make pockethold not work with latest release, there are two files currently which I need to watch for changes on release (index.php and "flarum") and it seems those have not changed.

It does seems that some hosts I have previously verified works with pockethold have stopped working though, and I am trying to investigate.

It might not be best practice, but I successfully upgraded to Beta 9 by launching Pockethold inside the directory containing Beta 8. No issues so far, will update as I go.

    Menomenta Not something I recommend per say, as what it would do is do the whole process again in its own folder and overwrite the current files. Any unneeded files would stay and not be purged, and it might create issues later on.

    I am interested to know what exactly you did though, step by step. What happened after the redirect for instance. Maybe I could create an updater instead. Might be less error-prone then doing the whole process again 😁

      5 days later

      andreherberth Whenever I try to do something for the first time, I try to use code which even someone who picked up php 2 weeks ago would understand. Classes usage to a minimum, functions whenever possible, include_once instead of namespaces, and things like that.

      Check out Clean Code, the dude has some impressive videos.

        andreherberth , I simply uploaded the latest version of Pockethold to the folder containing Flarum, and (after manually placing the ajax.log) followed the installation procedure. I noticed Pockethold skipped a few steps, but I can't recall which ones.

          Sapioit pockethold was originally without classes. I started using classes as it would make it easier in the future to expand it, and, it teaches me stuff. I would not move away from that at this stage. In theory, object oriented programming is easier to read, as it devides the code base. I do need to clean up the code though.

          Menomenta thanks , I will look into it. Although, I would imagine copying over the composer.lock file, and do an update based on that in an external folder might be safer then doing a create-project and pasting the result on top of the previous content. Will look into it.

            a month later
            4 months later