• Have a Woocommerce installation in localhost via WAMP and a live one on serverpilot (Ubuntu)

    The Temporary Directory as an unix path returns as valid. Example: /srv/users/serverpilot/tmp/www-mysite

    However, the Temporary Directory as a Windows path returns as invalid. Example: D:\domains\_tmp
    even if there’s a fresh .postman_bc49954f.lock file in there after saving settings.

    How to properly save a windows path?

    Interestingly, if from a live backup I forget to change that (unix) path in the localhost machine, WC cart payments cannot complete and a Post SMTP Mailer path error is returned in then logs. Perhaps adding some fallback code to not rely in such path too much?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter alx359

    (@alx359)

    Unfortunately that doesn’t seem addressed with the 1.9.6 update.

    Switching codebases between local (Windows) to online (stage & live on Ubuntu) requires one to specifically remember to set that little thing properly, or placing WC orders won’t work.

    Hi,

    Missed your issue, what do you see under:
    Settings –> Advanced Tab –> Temporary Directory field

    Thread Starter alx359

    (@alx359)

    On Ubuntu:

    /srv/users/serverpilot/tmp/www-mydomain marked as valid in green.

    on WAMP32 (Win7-x64)

    D:\domains\_tmp marked as invalid in red.

    In both situations above Post SMTP works.

    What doesn’t work though, is if I restore an archive made in Ubuntu over WAMP (I’m using AIO WP Migration for these). The Temporary Directory field on WAMP is still the Ubuntu value, and still marked as valid (which seems to imply it isn’t checked anymore after being stored in the DB). In such specific scenario, Post SMTP stops working and placing new orders won’t work anymore.

    Thread Starter alx359

    (@alx359)

    D:\domains\_tmp marked as invalid in red.

    Still an issue in 1.9.8

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Temporary Directory invalid on Windows’ is closed to new replies.