Thank you, Tahasin!
We were able to solve the issue on our Dev environment by bypassing Cloudflare on our hosting environment. This old thread explains issues between Microsoft’s view.officeapps.live.com and Cloudflare: https://community.cloudflare.com/t/issue-with-office-web-viewer/142970
Our Technical Account Manager at WP Engine has not come across this before but suggested we come to you with questions to see what on our platform could cause the issue. From what he thinks and with it being a specific file type, there may just need to be an Nginx rule put in on our side to allow for it but that your devs should know what that rule should be. He mentioned it could be something as simple as a MIME type needing to be enabled in WordPress or Content-Type headers.
https://wpengine.com/support/mime-types-wordpress/
Thank you for the update, Tahasin. I will continue to press WP Engine.
Hi Tahasin, just checking that you were able to access the site. Anything else I can provide you at this time?
Thanks for this thorough assistance. We are looking into this, however the Wordfence plugin we use for security has been deactivated as part of troubleshooting this error and that hasn’t fixed anything. The fact that previews work everywhere except for a few file types has us thinking it is something in how the content type is being identified. PPT works, but PPTX does not.
Okay, WP Engine is wanting to know if you would have any sort of logs on your end? Given the error is generated from your side? https://view.officeapps.live.com/op/errorpage.htm?llcc=en-US&hid=d1585fcd-2355-408c-b689-4be8eb29dff5
It could be possible a service or script is being blocked so it would be helpful to see if you can analyze any blockages on your end. They only ask just in case they are being blocked by WP Engine, having those additional logs would be helpful.
So really we are just trying to determine what specifically is being blocked by WPE.
I guess I’m trying to figure out if that is necessary. If I can be pointed to things that already exist, we can do this on our own.
I’m not sure that’s what we are looking for. We use Beaver Builder and would really just love a shortcode that is for the current user’s “Total Downloads” that we can insert wherever and however we want within our pages. I’m just not finding a list of all of the user meta keys that might be tied to this data.
Or be able to just insert the “Recommended Packages” data wherever we want and not have it tied to the whole dashboard layout.
I want to use pieces of the dashboard, but cannot seem to use separate HTML blocks with CSS to create my own layout without it messing up how the data pulls in. I don’t see shortcodes available for the individual elements, just the whole dashboard. Is there a way I can just do a shortcode for Download History on its own, Total Downloads on its own, Daily downloads on its own and Recommended on its own, so I can style the blocks and lay them out as I want…not as part of a predefined dashboard?
Or, say for instance I want to create a “Recommended for You” section not on my dashboard page, I would love a way to customize this layout and create a unique experience for users to see other packages they might want to take a look at.
Do you have database documentation that explains where user-related data is stored?
Yeah, we’ve discussed this previously, but it doesn’t meet our needs. I’m asking for other stats by users that aren’t included within this shortcode. The data exists in WordPress, so if there’s a way we can call that, we’d like to try. But we need help defining what those objects are.
Is there any way for us to include WPDM stats within our custom dashboard? I know the data exists because it shows on the backend, but I didn’t know if there’s shortcodes that would allow us to insert user stats on the frontend besides the download history – thinking download counts (like what is on the stats page on the backend) and a list of frequently downloaded/viewed resources that would be specific to the logged in user. Additionally, we have users tied to one another through Pods, so we are interested in seeing if we can pull a list of downloaded/viewed resources for all individuals tied to the parent user, so that the parent user can see what the child users are interacting with.
Can you provide assistance for how we may be able to define objects to do something like this?
We are still chatting with WP Engine, but we discovered something else this morning as we investigate.
Test site embed url for pptx: https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Faecspage.com%2Fdownload%2Fmedicare-seminar-ppt%2F%3Find%3D0%26filename%3D2025-Medicare-Education-Seminar-PPT_11.24.pptx%26wpdmdl%3D16%26refresh%3D6877ccad0a8f11752681645%26open%3D1&embedded=true
Live site embed for pptx: https://view.officeapps.live.com/op/view.aspx?src=https%3A%2F%2Fadvisorsexcdev.wpenginepowered.com%2Fresource%2Fmedicare-seminar-ppt%2F%3Fwpdmdl%3D49186%26_wpdmkey%3D6877c17c7a36b%26ind%3D1752678590521%26play%3D1
The two links are entirely different. The test site has specific verbiage regarding embeds, but the live site has info for “play”. It’s almost like the live site is reading the pptx / docx as the wrong file type.
Update: We spun up a fresh install on a completely different hosting server and can confirm previews are working which tells us it is something with WP Engine and Flywheel’s server configuration.
We have, yes. Nothing we have looked at with them has worked yet. Will keep you updated.
Yes, it is. I just figured it out…migrating the site to WP Engine changed the File Browser Root.
Still at a loss on the file previewing issue. Not sure if you were able to replicate when you logged in to our backup site, but it says “An error occurred. We’re sorry, but for some reason we can’t open this for you.” And the Learn More link is broken: https://r.office.microsoft.com/r/rlidowaviewhelp. Definitely some kind of issue with Microsoft, but we are not sure how else to troubleshoot.
Do you happen to have insight into how the Digital Asset Manager works? I’m trying to troubleshoot why we can no longer access this. I can see the whole layout but the folders on the side just say “Home,” all of the previous options are gone. Any idea why that might be or how I might direct WP Engine to assist?
We are still troubleshooting with WP Engine and haven’t yet found a solution. Do you have any other customers using WP Engine or Flywheel for hosting that are reporting similar issues? After migrating to WP Engine, we also lost access to the Asset Manager…the page is just blank now. But it works fine on our backup site that is still on Flywheel.
Sorry! I completely missed this response, Nayeem. Yes, I’ve been unable to get those shortcodes to work as intended, but I’ve found a workaround as I mentioned where I’m using your dashboard shortcode and using CSS to hide what I don’t want to see.
I’ll pass this info on to my team, however this is happening on all instances of our site. We have backups on different servers/hosts and it is happening in all of them and wasn’t previously.
Update: I’m seeing issues with .xlsx files as well. Seems to be the Microsoft document formats ending with the “x”