• Resolved bob.passaro

    (@bobpassaro)


    We’ve been using Dreamobjects on Dreamhost’s DreamCompute cloud servers and they have been working great. Recently, DH seems to have changed the default setup on those to run Ubuntu 16 and PHP 7 (as opposed to Ubuntu 14/PHP 5.6 or something earlier).

    So we tried a couple sites on those: The DreamObjects backups plugin installs on sites running on these new servers, but after you put in your keys and save and go to the Backups page, you get a mostly blank screen.

    On one of our older servers where we had it set up and running fine, after we upgraded the server to Ubuntu 16 (as a test, so hey we learned something, I think!), WP automatically deactivated the DreamObjects plugin. It won’t reactivate.

    I’m not certain the upgrade has anything to do with this, but suspicious to say the least. I found the following in the apache error log — maybe helpful to you?

    PHP Fatal error: Uncaught Error: Class 'SimpleXMLElement' not found in /var/www/html/wp-content/plugins/dreamobjects/aws/Guzzle/Http/Message/Response.php:886\nStack trace:\n#0 /var/www/html/wp-content/plugins/dreamobjects/aws/Guzzle/Service/Command/LocationVisitor/Response/XmlVisitor.php(17): Guzzle\\Http\\Message\\Response->xml()\n#1 /var/www/html/wp-content/plugins/dreamobjects/aws/Guzzle/Service/Command/OperationResponseParser.php(134): Guzzle\\Service\\Command\\LocationVisitor\\Response\\XmlVisitor->before(Object(Aws\\S3\\Command\\S3Command), Array)\n#2 /var/www/html/wp-content/plugins/dreamobjects/aws/Guzzle/Service/Command/OperationResponseParser.php(86): Guzzle\\Service\\Command\\OperationResponseParser->visitResult(Object(Guzzle\\Service\\Description\\Parameter), Object(Aws\\S3\\Command\\S3Command), Object(Guzzle\\Http\\Message\\Response))\n#3 /var/www/html/wp-content/plugins/dreamobjects/aws/Guzzle/Service/Command/DefaultResponseParser.php(39): Guzzle\\Service\\Command\\OperationResponseParser->handleParsing(Object(Aws\\S3\\Command\\S3Command), Objec in /var/www/html/wp-content/plugins/dreamobjects/aws/Guzzle/Http/Message/Response.php on line 886

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    WP automatically deactivated the DreamObjects plugin. It won’t reactivate.

    Does it give an error? There are some small checks it runs to see if it can run but that doesn’t sound familiar.

    Can you check if these PHP libraries are installed: php-xml, php-simplexml ?

    Thread Starter bob.passaro

    (@bobpassaro)

    Thanks, Mika!

    Yes, looks like some things were being installed by default in PHP5 that need to be specifically added in PHP7 — at least in the current DreamCompute LAMP setup.

    I was adding curl and gd before anyway, but I see all of these are recommended for WP, php-xml probably the important one for this plugin:

    sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc

    After this, I was able to connect to the appropriate users/buckets. I’ll check back to make sure the backups actually get created, but it looks to be OK right now.

    Thanks for your quick response!

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s Ubuntu for you. CentOS did the same thing to me with PHP 7 on a non-DreamCompute box :/ Broke wp-cli all over the place! Glad this worked ?? Happy WordPressing!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problems on Ubuntu 16/PHP 7’ is closed to new replies.