• I was mistakenly copy pasting bitbucket URL I think (without repo strings) into the remote repository tab, and got the following error:

    Warning: exec() [function.exec]: Unable to fork [git rev-parse –show-toplevel] in /nfs/c06/h05/mnt/186167/domains/komunitastaufan.org/html/wp-content/plugins/revisr/includes/class-revisr-git.php on line 180

    Warning: exec() [function.exec]: Unable to fork [git rev-parse –abbrev-ref HEAD] in /nfs/c06/h05/mnt/186167/domains/komunitastaufan.org/html/wp-content/plugins/revisr/includes/class-revisr-git.php on line 386

    It won’t go away even after deleting and reactivating Revisr. Any clue?

    https://www.ads-software.com/plugins/revisr/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Expanded Fronts

    (@expandedfronts)

    Hello,

    How was the repository created? Are you able to create a commit or do anything else?

    Did the error only appear after entering the Bitbucket URL? And if so, did you get the “Success!” message indicating that the URL was valid?

    Plugin Author Expanded Fronts

    (@expandedfronts)

    Also, where is the “.git” directory in relation to the WordPress install? Is it also in the ‘html’ directory?

    Let me know, thanks!

    Thread Starter Bowo

    (@qriouslad)

    I created the repository on BitBucket.

    I haven’t tried doing a commit, but I have another site on the same server/hosting. Error appears on activating the plugin.

    I just remembered… that I am able to choose different version of PHP for sites I hosted on my server (MediaTemple Grid), and just noticed that for the site where the plugin ran just fine, the PHP was CGI (stable) v5.3.29, so, while the site where plugin activation churned out error was using PHP FastCGI v5.3.29.

    I also tried switching to PHP CGI v5.5.17 and Revisr seems to be working fine. So, the error probably has something todo with FastCGI?

    Hope this helps you identify root cause and fix the bug.

    Thread Starter Bowo

    (@qriouslad)

    .git directory is on the root directory, same level with wp-admin directory, inside html directory.

    Plugin Author Expanded Fronts

    (@expandedfronts)

    Thanks, I’ll look into this further. There was someone else who had an issue with FastCGI, and my main testing machine uses FastCGI, and I was unable to replicate with FastCGI and PHP v5.5.10

    I also ran unit tests on both v5.3 and v5.4 and it runs fine on those without FastCGI enabled.

    So it seems to me that it’s a specific version of PHP and FastCGI combined that’s causing the issue. I’ll spin up a machine with FastCGI and PHP v5.3 and keep you posted.

    Thread Starter Bowo

    (@qriouslad)

    Looks like it. Thanks for testing further!

    For now, I’m switching my PHP to v5.5.17 CGI, which I’ve just learned, takes about half the memory compared to v5.4 and v5.3, which is great for my shared hosting environment. Revisr is running great it seems.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error on activation’ is closed to new replies.