escap0
Forum Replies Created
-
Forum: Plugins
In reply to: [File Away] Files not showing on front endI had problems on Flywheel, this solved it for me: https://ww.wp.xz.cn/support/topic/migration-broke-file-away/#post-11985251
Forum: Plugins
In reply to: [File Away] Migration broke File AwayHah! 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
Forum: Plugins
In reply to: [File Away] Migration broke File AwayUpon 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
Forum: Plugins
In reply to: [File Away] Migration broke File AwayThom, 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