Fixed! Unable to view assets (images) or set up assets fieldset

UPDATE: Fixed - the php xml was missing. I installed it via ssh using: sudo yum install php-xml (may need to do service httpd restart). But all good now.

I recently took over a site from a client to add blog features to their website. I wasn't originally familiar with Statamic but have been getting familiar with it and am having a good time with it aside with a few issues.

My issue at the moment is that I need to add the ability for the client to upload images for the posts and when I went to set up a fieldset for assets nothing will load, I get loading wheels that spin endlessly whether on that menu or the assets section under content. Whoever came before me and set up the site had connected an s3 bucket which it seems to be using to access the current media displayed on the site but I'm unable to access any of it through the control panel.

I double checked the yaml file for s3 which looks to have all the correct information, I've tried creating my own yaml for assets (called it main.yaml) but the issue seems to be deeper.

Any help would be greatly appreciated!

Screenshots for reference: https://imgur.com/a/NrUzCQB

Here is the error from the log:

production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Class 'SimpleXMLElement' not found in /var/www/html/statamic/vendor/aws/aws-sdk-php/src/Api/Parser/PayloadParserTrait.php:44

>>>>>>> Unanswered <<<<<<<
0 Replies
1 Follower