Skip to main content

Problem with image script

Comments

9 comments

  • cPanelMichael
    Hello @2Pro4u, Can you review the Apache error log (/usr/local/apache/logs/error_log) on one of the cPanel servers the script is fetching the images from to see what appears when reproducing the issue? Thank you.
    0
  • 2Pro4u
    I've looked through the apache error log for the domain name and date that would contain any error from the aggregator (on the same server) for my domain that has the images (the site that's being aggregated), and there are no image errors noted in the error log. Just a bunch of bots trying to find a Wordpress login file.
    0
  • cPanelMichael
    Hello, You'd need to check the log on the server that hosts the images, as opposed to the server that hosts the aggregator. Thank you.
    0
  • 2Pro4u
    They are both are on the same server, which is why it's even more surprising why it broke.
    0
  • cPanelMichael
    Hello, Check to see if an error_log file exists in the document root of the PHP script. If so, does it list any specific error messages related to the issue? Thank you.
    0
  • 2Pro4u
    Nothing specific to this problem in the aggregators error_log. The strange thing is, I just recently switched to https myself, and I remember the whole reason I implemented this image proxy was because the site would call all these 3rd party images that weren't secure, and it would make my page show as only partially secure. Now, when I edit my code, and remove the image proxy script, and call the 3rd party images, I don't get this problem, instead the script doesn't pull the images. Could this have anything to do with the cpanel updates or was the https standard changed recently that would have affected this? As far as I know, I have no other code that should be filtering these non-https images, yet now, my aggregator page is *staying* fully ssl, despite not using the image proxy script any more. Whatever it is, it's doing the ssl checking before that image proxy script can get to it. So the server has already deemed it not to be used, before the image proxy script could convert the image to https. Basically my aggregator went from loads of images, to far less, and it happened roughly right after the last two cpanel updates. Any ideas on if the last two cpanel updates could have affected this problem I'm having? (I'm also using CloudLinux if that makes any difference.) Thanks for any more help you can provide.
    0
  • cPanelMichael
    Hello @2Pro4u, Could you open a
    0
  • 2Pro4u
    Do you mean allow a Cpanel support team access to my server? If so, I'm sorry, but that won't be happening. I have been able to narrow down the issue slightly, the backend of our script uses SimplePie, and while it use to be able to process images from an "enclosure" tag in an rss feed, it now can no longer do that. While I don't know the method or process in which SimplePie accomplishes this, I can tell you that I've not modified SimplePie, and I'm quite certain my code that uses SimpePie wouldn't have been altered in a manner that would affect this. One of Cpanel's last two updates I believe have affected this. Can you tell me, is there a way to safely rollback Cpanel versions, to test the theory that one of these two recent Cpanel versions are the culprit of the problem?
    0
  • Infopro
    Can you tell me, is there a way to safely rollback Cpanel versions

    You cannot roll back to earlier cPanel versions. What you might want to do is check with the developer about the script. github.com/simplepie/simplepie/issues I'm not sure if this is related to your issue but I did find this bug for example: github.com/simplepie/simplepie/issues/539
    0

Please sign in to leave a comment.