Forums / General Questions / PHP Fatal error: require(): Failed opening required...tpl_images5f8e_1jpg_default.php

PHP Fatal error: require(): Failed opening required...tpl_images5f8e_1jpg_default.php

Views: 591

Results 1 to 5 of 5
18 Oct 2020, 8:59 AM
#1
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

PHP Fatal error: require(): Failed opening required...tpl_images5f8e_1jpg_default.php

I get these errors, this is one example, but the file it is looking for it doesn't exist. Its an image reference wrapped in a tpl mention, each error log is different mentioning a different image name somehwo:--

PHP Warning: require(includes/templates/template_default/templates/tpl_images5f8e_1jpg_default.php): failed to open stream: No such file or directory in /chroot/*******/common/tpl_main_page.php on line 244.

18 Oct 2020, 3:19 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PHP Fatal error: require(): Failed opening required...tpl_images5f8e_1jpg_default.php

HeathenMagic:

I get these errors, this is one example, but the file it is looking for it doesn't exist. Its an image reference wrapped in a tpl mention, each error log is different mentioning a different image name somehwo:--
Not so good to have that scenario I think. Basically at it would seem that if the correct data is fed for selecting an image, then whatever file is named by that "image" could be retrieved/accessed by being required into the page load. Would look to see what if any changes have been made to the site's software as this may be something that has been introduced or perhaps the template allows this as compared to a default install...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

18 Oct 2020, 5:12 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: PHP Fatal error: require(): Failed opening required...tpl_images5f8e_1jpg_default.php

tpl_images5f8e_1jpg_default
Could it be related to a url-rewriter that's got wrong rules set up?

No such file or directory in /chroot/******...
The chroot part does suggest that someone's attempting something malicious.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Oct 2020, 7:54 AM
#4
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: PHP Fatal error: require(): Failed opening required...tpl_images5f8e_1jpg_default.php

mc12345678:

Not so good to have that scenario I think. Basically at it would seem that if the correct data is fed for selecting an image, then whatever file is named by that "image" could be retrieved/accessed by being required into the page load. Would look to see what if any changes have been made to the site's software as this may be something that has been introduced or perhaps the template allows this as compared to a default install...

Thanks for your reply. I do recall having this for the previous template, but was stumped also. I carefully merged for 1.57 upgrade, albeit there are quire a few modules so this gives me a starting point to see if its one of them.

24 Oct 2020, 8:04 AM
#5
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: PHP Fatal error: require(): Failed opening required...tpl_images5f8e_1jpg_default.php

Ah that might be a possibility, I have 'ultimate seo urls' installed, and I believe this had to have .htaccess altered. I also have two domains that point to the main domain (so I have a .co.uk and .uk pointing to .com) so not sure if that is a possibility. But think maybe the ultimate urls module is likely the culprit.