I have a problem with attachment images that are being lost in a folder.
There should be around 15000 images in that folder but something is emptying the folder.
I noticed below error log in our forums
the path is /xxxx/xxxxx/xxxxx/forums/0/attachment

I have restored the files in attachment folder from July 26 backup as the backup from 27th and 28th are empty.

I was addressed on the 27th and restored the backup from the 26th, now today (28th) the attachment folder was empty again so I had to goback and restore the folder from 26th again. 27 and 28 are empty.
So if there is an memory issue I wonder why it empty the attachment folder, also which memory is the trouble?
Please advise
Thanks
Morgan

There are more errors but I show one from ea day below
Quote
[26-Jul-2023 23:27:23 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /xxxxx/xxxxx/xxxxx/forums/libs/image.inc.php on line 44
[27-Jul-2023 21:46:00 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /xxxxx/xxxxx/xxxxx/forums/libs/image.inc.php on line 44
[28-Jul-2023 00:14:53 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /xxxxx/xxxxx/xxxxx/forums/libs/image.inc.php on line 44

Last edited by Morgan; 07/28/2023 7:16 AM.

Morgan Johansson
BritBike Forum
https://www.britbike.com/forums/ubbthreads.php