Post by aoe123 » Tue Apr 27, 2021 5:01 pm

Hey Leute,

Opencart Version: opencart-3.0.3.6

Seit gestern Abend habe ich plötzlich das folgende Problem:

2021-04-26 16:35:26 - PHP Notice: Undefined index: HTTP_USER_AGENT in /home/duschvz/www/system/storage/modification/catalog/controller/common/header.php on line 115
2021-04-26 19:11:52 - PHP Warning: unlink(/home/duschvz/www/system/storage/cache/cache.catalog.language.1619467910): No such file or directory in /home/duschvz/www/system/library/cache/file.php on line 68
2021-04-27 3:37:30 - PHP Warning: unlink(/home/duschvz/www/system/storage/cache/cache.catalog.language.1619498243): No such file or directory in /home/duschvz/www/system/library/cache/file.php on line 68
2021-04-27 3:38:53 - PHP Warning: unlink(/home/duschvz/www/system/storage/cache/cache.catalog.language.1619498315): No such file or directory in /home/duschvz/www/system/library/cache/file.php on line 68

Durch dieses Problem kann ich aufm Dekstop und Handy Produkte zwar öffnen, aber es zeigt nur weiss an bzw. lädt ewig bis das Produkt dann angezeigt wird. Lustigerweise ist das aber nur bei mir so. Eine Kollegin in Indonesien kann alles öffnen und ansehen ;-)

Warum gibt es plötzlich einfach so aus heiterem Himmel Probleme, obwohl ich seither nix daran gemacht habe..?
Das Script scheint offenbar nicht ganz sauber zu sein.

Ich habe selber nach dem Problem gegoogelt, aber genau so nicht gefunden und auch eine Lösung, die ich versucht habe, greift nicht. Cache habe ich auch schon xmal geleert, bringt nix. Hoster hab ich auch kontaktiert. Der meint: Wir haben bemerkt, dass bei Ihrer www. Subdomain keine Verbindung erstellt wird. Der vorhandene CNAME scheint falsch angelegt zu sein. Die Umleitung müsste von Domain an www. Subdomain angelegt werden.

Aber vorher ging ja alles..

Vielen Dank für Support!

-------------------------------------------------------

Hey guys,

Opencart version: opencart-3.0.3.6

Since last night I suddenly have the following problem:

2021-04-26 16:35:26 - PHP Notice: Undefined index: HTTP_USER_AGENT in /home/duschvz/www/system/storage/modification/catalog/controller/common/header.php on line 115
2021-04-26 19:11:52 - PHP Warning: unlink(/home/duschvz/www/system/storage/cache/cache.catalog.language.1619467910): No such file or directory in /home/duschvz/www/system/library/cache/file.php on line 68
2021-04-27 3:37:30 - PHP Warning: unlink(/home/duschvz/www/system/storage/cache/cache.catalog.language.1619498243): No such file or directory in /home/duschvz/www/system/library/cache/file.php on line 68
2021-04-27 3:38:53 - PHP Warning: unlink(/home/duschvz/www/system/storage/cache/cache.catalog.language.1619498315): No such file or directory in /home/duschvz/www/system/library/cache/file.php on line 68

Due to this problem, I can open products on the desktop and mobile phone, but it only shows white or loads forever until the product is then displayed. Funnily enough, that's only the case with me. A colleague in Indonesia can open and view everything ;-)

Why are there problems suddenly out of the blue, even though I haven't done anything about them since ..?
The script doesn't seem to be completely clean.

I googled the problem myself, but couldn't find it, and a solution that I tried doesn't work either. I have already emptied the cache x times, nothing works. I also contacted hosters. He says: We noticed that your www. Subdomain no connection is created. The existing CNAME seems to have been created incorrectly. The redirection would have to be from the domain to www. Subdomain can be created.

But everything worked before that ..

Thank you for support!

New member

Posts

Joined
Tue Oct 15, 2019 3:30 pm

Post by straightlight » Tue Apr 27, 2021 7:29 pm

Already fixed on OC v3.0.3.7 release. Using an older OC version.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by aoe123 » Tue Apr 27, 2021 8:12 pm

straightlight wrote:
Tue Apr 27, 2021 7:29 pm
Already fixed on OC v3.0.3.7 release. Using an older OC version.
Aha, really?

I have a similar problem on my other store and its OC v3.0.3.7. So its not fixed for sure. Check:

2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.currency.1619455883): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17
2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.weight_class.2.1619456381): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17

So whats the solution for that?

Thanks

New member

Posts

Joined
Tue Oct 15, 2019 3:30 pm

Post by straightlight » Tue Apr 27, 2021 8:51 pm

aoe123 wrote:
Tue Apr 27, 2021 8:12 pm
straightlight wrote:
Tue Apr 27, 2021 7:29 pm
Already fixed on OC v3.0.3.7 release. Using an older OC version.
Aha, really?

I have a similar problem on my other store and its OC v3.0.3.7. So its not fixed for sure. Check:

2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.currency.1619455883): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17
2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.weight_class.2.1619456381): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17

So whats the solution for that?

Thanks
Maintenance Branch.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by aoe123 » Wed Apr 28, 2021 3:01 am

straightlight wrote:
Tue Apr 27, 2021 8:51 pm
aoe123 wrote:
Tue Apr 27, 2021 8:12 pm
straightlight wrote:
Tue Apr 27, 2021 7:29 pm
Already fixed on OC v3.0.3.7 release. Using an older OC version.
Aha, really?

I have a similar problem on my other store and its OC v3.0.3.7. So its not fixed for sure. Check:

2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.currency.1619455883): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17
2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.weight_class.2.1619456381): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17

So whats the solution for that?

Thanks
Maintenance Branch.
?
Please don't be too specific with your answer..^^

New member

Posts

Joined
Tue Oct 15, 2019 3:30 pm

Post by paulfeakins » Wed Apr 28, 2021 4:54 pm

aoe123 wrote:
Wed Apr 28, 2021 3:01 am
straightlight wrote:
Tue Apr 27, 2021 8:51 pm
Maintenance Branch.
Please don't be too specific with your answer..^^
It's the branch on github that contains the fix.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by paulfeakins » Wed Apr 28, 2021 4:54 pm

aoe123 wrote:
Tue Apr 27, 2021 5:01 pm
Hey Leute,
Who's Leute?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Cue4cheap » Wed Apr 28, 2021 6:47 pm

paulfeakins wrote:
Wed Apr 28, 2021 4:54 pm
aoe123 wrote:
Tue Apr 27, 2021 5:01 pm
Hey Leute,
Who's Leute?
German for "people"
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by aoe123 » Wed Apr 28, 2021 10:21 pm

paulfeakins wrote:
Wed Apr 28, 2021 4:54 pm
aoe123 wrote:
Wed Apr 28, 2021 3:01 am
straightlight wrote:
Tue Apr 27, 2021 8:51 pm
Maintenance Branch.
Please don't be too specific with your answer..^^
It's the branch on github that contains the fix.
So is there any li-nk to this fix? What's branch?

New member

Posts

Joined
Tue Oct 15, 2019 3:30 pm

Post by aoe123 » Wed Apr 28, 2021 10:22 pm

paulfeakins wrote:
Wed Apr 28, 2021 4:54 pm
aoe123 wrote:
Tue Apr 27, 2021 5:01 pm
Hey Leute,
Who's Leute?
..or use Google translate, smarty.
Plus I wrote my post even in English for people like you.

New member

Posts

Joined
Tue Oct 15, 2019 3:30 pm

Post by ADD Creative » Thu Apr 29, 2021 6:08 am

aoe123 wrote:
Tue Apr 27, 2021 8:12 pm
straightlight wrote:
Tue Apr 27, 2021 7:29 pm
Already fixed on OC v3.0.3.7 release. Using an older OC version.
Aha, really?

I have a similar problem on my other store and its OC v3.0.3.7. So its not fixed for sure. Check:

2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.currency.1619455883): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17
2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.weight_class.2.1619456381): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17

So whats the solution for that?

Thanks
For the cache.catalog.language unlink issue see this post. viewtopic.php?f=202&t=200896&start=20#p710221 Version 3.0.3.7 does include this fix.

The cache.currency and cache.weight_class unlink warnings are not likely to be the same issue. Could just be a race condition. How often do you see the warnings?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by aoe123 » Mon May 03, 2021 5:47 am

ADD Creative wrote:
Thu Apr 29, 2021 6:08 am
aoe123 wrote:
Tue Apr 27, 2021 8:12 pm
straightlight wrote:
Tue Apr 27, 2021 7:29 pm
Already fixed on OC v3.0.3.7 release. Using an older OC version.
Aha, really?

I have a similar problem on my other store and its OC v3.0.3.7. So its not fixed for sure. Check:

2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.currency.1619455883): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17
2021-04-26 17:19:22 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.weight_class.2.1619456381): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17

So whats the solution for that?

Thanks
For the cache.catalog.language unlink issue see this post. viewtopic.php?f=202&t=200896&start=20#p710221 Version 3.0.3.7 does include this fix.

The cache.currency and cache.weight_class unlink warnings are not likely to be the same issue. Could just be a race condition. How often do you see the warnings?
yesterday i got it again even i use OC v3.0.3.7:

2021-05-01 11:29:01 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.currency.1619867819): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17
2021-05-01 17:11:42 - PHP Warning: unlink(/home/trikotb/www/system/storage/cache/cache.admin.language.1619888794): No such file or directory in /home/trikotb/www/system/library/cache/file.php on line 17

New member

Posts

Joined
Tue Oct 15, 2019 3:30 pm

Post by ADD Creative » Mon May 03, 2021 6:16 am

As that post and link explained. The fix in 3.0.3.7 is only for and issues with the language cache files and there is always a chance you will get a race condition.

As long as you have display errors set to off (in all three places) then there should not be an issue.

If you did want to suppress the warning, you could always add a @ in front of unlink at the line below.
https://github.com/opencart/opencart/bl ... le.php#L68

Code: Select all

@unlink($file);

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: Baidu [Spider], nonnedelectari and 373 guests