abofayez Merchant Von Saudi Arabia Mitglied seit März 2021 abofayez 28 Juni 2021 21:17 This message comes to me almost weekly... What does it mean? LiteCart 2.2.9 [22-Jun-2021 09:55:07 Asia/Riyadh] Warning: mkdir(): File exists in ~/includes/library/lib_cache.inc.php (Line 259) ← ~/includes/boxes/box_site_menu.inc.php (Line 67) in set() ← ~/includes/templates/fai.catalog/layouts/default.inc.php (Line 36) in include() ← ~/includes/entities/ent_view.inc.php (Line 23) in include() ← ~/includes/entities/ent_view.inc.php (Line 28) in {closure}() ← ~/includes/app_footer.inc.php (Line 12) in stitch() ← ~/index.php (Line 42) in require_once() Request: GET / HTTP/2.0 Host: xxxxx.com Client: 66.249.93.198 (google-proxy-66-249-93-198.google.com) User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.175 Safari/537.36 Chrome-Lighthouse [22-Jun-2021 09:55:07 Asia/Riyadh] Warning: Could not create cache subfolder in ~/includes/library/lib_cache.inc.php (Line 260) ← ~/includes/boxes/box_site_menu.inc.php (Line 67) in set() ← ~/includes/templates/fai.catalog/layouts/default.inc.php (Line 36) in include() ← ~/includes/entities/ent_view.inc.php (Line 23) in include() ← ~/includes/entities/ent_view.inc.php (Line 28) in {closure}() ← ~/includes/app_footer.inc.php (Line 12) in stitch() ← ~/index.php (Line 42) in require_once() Request: GET / HTTP/2.0 Host: xxxxx.com Client: 66.249.93.198 (google-proxy-66-249-93-198.google.com) User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.175 Safari/537.36 Chrome-Lighthouse
tim Founder Von Sweden Mitglied seit Mai 2013 tim 28 Juni 2021 22:01 Spontaneously it would seem that the file system is glitching. LiteCart attempts to create cache subfolders if they are missing. But when creating it your file system indicates that it already has been created. I would ask the web host what could be the cause of it.
abofayez Merchant Von Saudi Arabia Mitglied seit März 2021 abofayez 28 Juni 2021 22:10 Thank you, dear Tim, for your response. I will contact the host regarding this.
tim Founder Von Sweden Mitglied seit Mai 2013 tim 28 Juni 2021 22:18 This is the code, and my comments to what is happening if (!mkdir(dirname($cache_file))) { // <--- Directory is created but fails with error directory is already created trigger_error('Could not create cache subfolder', E_USER_WARNING); return false; } }```
abofayez Merchant Von Saudi Arabia Mitglied seit März 2021 abofayez 28 Juni 2021 22:21 Do I use this code or is it just for clarification? If it is used, where is it placed?
tim Founder Von Sweden Mitglied seit Mai 2013 tim 29 Juni 2021 00:47 That's just for clarification. It's the code from ~/includes/library/lib_cache.inc.php (Line 259)
abofayez Merchant Von Saudi Arabia Mitglied seit März 2021 abofayez 29 Juni 2021 00:55 Thank you for your interest and following.