Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had problems on Flywheel, this solved it for me: https://ww.wp.xz.cn/support/topic/migration-broke-file-away/#post-11985251

    Thread Starter escap0

    (@escap0)

    Hah! I went ahead and changed the 3rd subsequent line ABSPATH to $ABSPATH:

    from:
    $chosenpath = str_replace('\\','/',($this->options['rootdirectory'] === 'siteurl' ? $rootpath : ABSPATH));

    to:
    $chosenpath = str_replace('\\','/',($this->options['rootdirectory'] === 'siteurl' ? $rootpath : $ABSPATH));

    And it worked!

    Thank you so much. Donated to your daughter’s food fund!

    Kindly – Omer B

    Thread Starter escap0

    (@escap0)

    Upon further testing, I am unable to get the uploading feature to work.

    I get this message below the displayed Flywheel Directory (on the page where the upload shortcode is):

    —————
    File Up Admin Notice: The initial directory specified does not exist:
    /wordpress/wp-content/uploads/executive-files
    —————

    That does exist. I can see it when viewing the Directory via File Away on the same page.

    The directory view does work. No problems creating a directory or deleting it (results reflected when checking via FTP).

    Any ideas on what it could be?

    Thank you for your assistance.

    Kindly – Omer B

    Thread Starter escap0

    (@escap0)

    Thom, Thank you so much! It appears to have worked!

    Is there a reason that we don’t add a $ to ABSPATH on the subsequent line that immediately follows the two lines above you had me change?

    $chosenpath = str_replace('\\','/',($this->options['rootdirectory'] === 'siteurl' ? $rootpath : ABSPATH));

    Thanks again, your help is very much appreciated.

    Kindly – Omer

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