-
Notifications
You must be signed in to change notification settings - Fork 72
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
Comments
@Danieleeffe1 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. |
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. |
Thanks for the reply.
I have found the cause of the problem.
For reasons yet to be defined OpenMage did not create the "session" folder
in the "VAR" directory this created a "loop" which inflated the
"system.log" file
after creating the "session" folder the problem disappeared
Il giorno lun 28 giu 2021 alle ore 07:36 Simon Sprankel <
***@***.***> ha scritto:
… 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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#158 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALCKSZXMC2MLLTWZRZIZOPLTVAC6RANCNFSM47MFIVMA>
.
|
I think not all warnings are related to the missing |
I don't know why the session folder is not being created. At least on PHP
7.3 it creates fine as long as there's a session going on.
…On Mon, Jun 28, 2021, 06:55 Simon Sprankel ***@***.***> wrote:
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#158 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT55X4XF2WCYADZEAIUJ7ADTVBBH5ANCNFSM47MFIVMA>
.
|
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
The text was updated successfully, but these errors were encountered: