Intermittent loading of Php images

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
petereeles
New php-forum User
New php-forum User
Posts: 1
Joined: Sat Jan 04, 2020 1:05 am

Sat Jan 04, 2020 1:15 am

Hi all (this is my first post!).

I've switched my website to use https, rather than http, and everything is fine apart from images that are generated as a result of Php code executing (static images are ok). In essence, images are sporadically not showing (some are, some aren't, with no common pattern). If I go back to HTTP then everything is fine. Also, things seem to work marginally better in Chrome than Safari for some reason, with IE somewhere in-between. A dump of a section of the error log is shown below (my phpBB board is one area displaying these symptoms).

My web hosting provider has confirmed that the SSL etc. setup is ok, but is unable to resolve this issue.

So ... I thought I'd go back to basics to really understand what happens when a PHP script executes and I was wondering if anyone here had any pointers one what to look for ... for example, is there some CGI configuration that might be causing a timeout on the server? Any suggestions would be most appreciated!

Thanks in advance,

- Pete

[Mon Dec 30 12:12:01.347282 2019] [core:error]
[pid 247428:tid 23291082008320] [client 90.248.211.216:0] End of script output before headers: file.php, referer: ukbutterflies.co.uk/phpBB/viewtopic.php?f=37&t=9757

[Mon Dec 30 12:12:01.347709 2019] [:error]
[pid 235457:tid 23291117729536] [client 90.248.211.216:0] SoftException in Application.cpp:630: Could not execute script "/home4/ukbutte1/public_html/phpBB/download/file.php", referer: ukbutterflies.co.uk/phpBB/viewtopic.php?f=37&t=9757

[Mon Dec 30 12:12:01.348063 2019] [:error]
[pid 235457:tid 23291117729536] [client 90.248.211.216:0] Caused by SystemException in API_Linux.cpp:458: execve() for program "/opt/cpanel/ea-php71/root/usr/bin/php-cgi" failed: Resource temporarily unavailable, referer: ukbutterflies.co.uk/phpBB/viewtopic.php?f=37&t=9757
User avatar
hyper
php-forum GURU
php-forum GURU
Posts: 904
Joined: Mon Feb 22, 2016 5:52 pm

Sat Jan 04, 2020 3:48 am

I haven't had issues with such things so can't really help, however, the guy that runs the CutCodeDown forum is really good with configurations if no one else is able to help you.
Post Reply