• Im getting that error when trying to smush pictures, it worked before, ran it once, but now it wont work anymore. It loads and seems to be working, but when it reach 100%, that error appears.

    My host says that fopen stuff is active on the server:

    ; Fopen wrappers ;
    ;;;;;;;;;;;;;;;;;;
    ; Whether to allow the treatment of URLs (like https:// or ftp://) as files.
    ; https://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen
    allow_url_fopen = On

    Ask the plugin author if he has any troubleshooting commands we can run to see why the plugin is not working

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor reSmush.it

    (@resmushit)

    Hi Hunterwoods,

    Thanks for using our plugin ??
    If it was working before, and if you didn’t change your hosting plan, you should have a PHP Error. Ask to your hosting partner to provide you the PHP error log file, and feel free to copy/paste theme in this board ??

    Generally, it’s due to a picture file which is registered in your database, but missing on your server.

    Keep us posted !
    Cheers,
    Charles

    Thread Starter HunterWoods

    (@hunterwoods)

    My webhost came up with this:

    I dont see any errors in logs
    I activated logging for this plugin and its sending the info to /home/sites/arctichikes.no/htdocs/resmushit.log
    From what I see its trying to optimise the images then its reverting them back
    Here is a snippet from the log file:
    [18-07-2018 10:19:16] Bulk optimization launched for file : /home/sites/arctichikes.no/htdocs/wp-content/uploads/how-to-use-gpx-maps-sidebar.jpg
    [18-07-2018 10:19:16] Revert original image for : /home/sites/arctichikes.no/htdocs/wp-content/uploads/how-to-use-gpx-maps-sidebar.jpg

    Does that make you any wiser?

    Plugin Contributor reSmush.it

    (@resmushit)

    Hi Hunterwoods,

    Thanks for this feedback, can you provide the lines following “Revert original image for…” ?

    Cheers,
    Charles

    Thread Starter HunterWoods

    (@hunterwoods)

    “Theres nothing mate, it just goes onto the next image, take a look:
    [19-07-2018 03:21:19] Bulk optimization launched for file : /home/sites/arctichikes.no/htdocs/wp-content/uploads/mountain-hiking-sulitjelma-norway-012.jpg
    [19-07-2018 03:21:19] Revert original image for : /home/sites/arctichikes.no/htdocs/wp-content/uploads/mountain-hiking-sulitjelma-norway-012.jpg
    [19-07-2018 03:21:22] Bulk optimization launched for file : /home/sites/arctichikes.no/htdocs/wp-content/uploads/mountain-hiking-sulitjelma-norway-013.jpg
    [19-07-2018 03:21:22] Revert original image for : /home/sites/arctichikes.no/htdocs/wp-content/uploads/mountain-hiking-sulitjelma-norway-013.jpg
    [19-07-2018 03:21:25] Bulk optimization launched for file : /home/sites/arctichikes.no/htdocs/wp-content/uploads/mountain-hiking-sulitjelma-norway-020.jpg
    [19-07-2018 03:21:25] Revert original image for : /home/sites/arctichikes.no/htdocs/wp-content/uploads/mountain-hiking-sulitjelma-norway-020.jpg
    [19-07-2018 03:21:29] Bulk optimization launched for file : /home/sites/arctichikes.no/htdocs/wp-content/uploads/mountain-hiking-sulitjelma-norway-021.jpg”

    Thats all there was it seems :/

    Plugin Contributor reSmush.it

    (@resmushit)

    Hi Hunterwoods,

    Do you also use a particular Media Plugin to manage your pictures ?

    Cheers,
    Charles

    Thread Starter HunterWoods

    (@hunterwoods)

    Nope, ill try to have php updated to latest version, but strange how it worked before, then stopped. If it dont work after that ill just use some other plugin :/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘An error occured when contacting webservice’ is closed to new replies.