Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with php 7.4 : file sytem.log big size #158

Open
Danieleeffe1 opened this issue Jun 27, 2021 · 5 comments
Open

Problem with php 7.4 : file sytem.log big size #158

Danieleeffe1 opened this issue Jun 27, 2021 · 5 comments

Comments

@Danieleeffe1
Copy link

Goodmorning everyone.
Premise:

I have installed this module on various Magento 1 installations and I am always very happy with it.

I have found that there are many people like me who still consider Magento 1 a solid and reliable project and I recently migrated to OpenMage.

OpenMage is based on magento1 and the community is very active and like me it considers Magento2 a project that requires a considerable amount of economic resources, hardware and time to keep up with the continuous variations that Adobe with its magento2 applies, effectively making Magento 2 a "Beta" platform in stable form.

Let's go back to the problem indicated in the title.

I installed the module in OpenMage and on an ubuntu20.04 server with php 7.4 apache 2.

after starting the creareseocore / cleanup :: doCleanup function

the system creates a log file of 20GB
below a small part of the log:

2021-06-27T07:39:02+00:00 ERR (3): Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/openmage/app/design/frontend/base/default/template/uioptimization/w3chtmlvalidator.phtml on line 48
2021-06-27T07:39:02+00:00 ERR (3): Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/openmage/app/design/frontend/base/default/template/uioptimization/w3ccssvalidator.phtml on line 45
2021-06-27T07:39:03+00:00 ERR (3): Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/openmage/app/design/frontend/base/default/template/uioptimization/w3chtmlvalidator.phtml on line 48
2021-06-27T07:39:03+00:00 ERR (3): Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/openmage/app/design/frontend/base/default/template/uioptimization/w3ccssvalidator.phtml on line 45
2021-06-27T07:39:08+00:00 ERR (3): Notice: Undefined index: invoice_id in /var/www/openmage/app/code/local/Efatt/Module/Model/Observer.php on line 8
2021-06-27T07:39:19+00:00 ERR (3): Warning: opendir(/var/www/openmage/var/session/): failed to open dir: No such file or directory in /var/www/openmage/app/code/community/Creare/CreareSeoCore/Model/Cleanup.php on line 119
2021-06-27T07:39:19+00:00 ERR (3): Warning: opendir(/var/www/openmage/var/session/): failed to open dir: No such file or directory in /var/www/openmage/app/code/community/Creare/CreareSeoCore/Model/Cleanup.php on line 122
2021-06-27T07:39:19+00:00 ERR (3): Warning: readdir() expects parameter 1 to be resource, bool given in /var/www/openmage/app/code/community/Creare/CreareSeoCore/Model/Cleanup.php on line 123
2021-06-27T07:39:19+00:00 ERR (3): Warning: chmod(): No such file or directory in /var/www/openmage/app/code/community/Creare/CreareSeoCore/Model/Cleanup.php on line 126
2021-06-27T07:39:19+00:00 ERR (3): Warning: chmod(): No such file or directory in /var/www/openmage/app/code/community/Creare/CreareSeoCore/Model/Cleanup.php on line 135

grazie

@LuizSantos22
Copy link

@Danieleeffe1
I do not know if it has something to do with your problem
But I was having problems with this extension when flat tables were enabled along with CSS file merge
As I use CloudFlare to do it, I have disabled flatten tables and CSS merge and it started working again.

Oh yes, it might be some php extension that is missing.

I use Cpanel on a shared hosting and I had some problems due to missing php extensions which I have turned on but I do not remember the names.

@sprankhub
Copy link
Collaborator

I personally will most probably not get to fix this unless a client bumps into this. However, I am fine with reviewing a PR, which fixes these issues.

If anyone wants to sponsor this, I am happy to discuss.

@Danieleeffe1
Copy link
Author

Danieleeffe1 commented Jun 28, 2021 via email

@sprankhub
Copy link
Collaborator

I think not all warnings are related to the missing session directory, but good to hear. If it is solved, feel free to close the isuse.

@LuizSantos22
Copy link

LuizSantos22 commented Jun 28, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants