Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 16Feb 16 I have this error on support page.#0 /home/lightningmu/public_html/forum/system/Data/AbstractData.php(115): IPS\Log::log('Could not write...', 'datastore') #1 /home/lightningmu/public_html/forum/system/Data/Store.php(256): IPS\Data\AbstractData->__set('updatecount_the...', 0) #2 /home/lightningmu/public_html/forum/applications/core/Application.php(630): IPS\Data\Store->__set('updatecount_the...', 0) #3 /home/lightningmu/public_html/forum/applications/core/Application.php(117): IPS\core\Application->_getUpdateCount('themes') #4 /home/lightningmu/public_html/forum/static/templates/core_admin_global.php(72): IPS\core\Application->acpMenuNumber(Array) #5 /home/lightningmu/public_html/forum/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_admin_global->appmenu(Array, 'core', 'core_overview_d...') #6 /home/lightningmu/public_html/forum/system/Dispatcher/Admin.php(162): IPS\Theme\SandboxedTemplate->__call('appmenu', Array) #7 /home/lightningmu/public_html/forum/system/Dispatcher/Dispatcher.php(126): IPS\Dispatcher\Admin->init() #8 /home/lightningmu/public_html/forum/admin/index.php(15): IPS\Dispatcher::i() #9 {main} Another:#0 /home/lightningmu/public_html/forum/system/Data/AbstractData.php(115): IPS\Log::log('Could not write...', 'datastore') #1 /home/lightningmu/public_html/forum/system/Data/Store.php(256): IPS\Data\AbstractData->__set('updatecount_app...', 0) #2 /home/lightningmu/public_html/forum/applications/core/Application.php(630): IPS\Data\Store->__set('updatecount_app...', 0) #3 /home/lightningmu/public_html/forum/applications/core/Application.php(117): IPS\core\Application->_getUpdateCount('applications') #4 /home/lightningmu/public_html/forum/static/templates/core_admin_global.php(72): IPS\core\Application->acpMenuNumber(Array) #5 /home/lightningmu/public_html/forum/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_core_admin_global->appmenu(Array, 'core', 'core_overview_d...') #6 /home/lightningmu/public_html/forum/system/Dispatcher/Admin.php(162): IPS\Theme\SandboxedTemplate->__call('appmenu', Array) #7 /home/lightningmu/public_html/forum/system/Dispatcher/Dispatcher.php(126): IPS\Dispatcher\Admin->init() #8 /home/lightningmu/public_html/forum/admin/index.php(15): IPS\Dispatcher::i() #9 {main}PS: O test version work fine without alerts or errors.The test site is literally the same copy of the live site.
February 16Feb 16 4 hours ago, Marco Junior said:#0 /home/lightningmu/public_html/forum/system/Data/AbstractData.php(115): IPS\Log::log('Could not write...', 'datastore') This error means that it can't write to your datastore folder. 3 hours ago, Marco Junior said:PS: I ready permission for the folder datastorage and uploads "775"Can you try to set the permissions to 777 and see if it would help? If that won't help either, then this can be caused by lack of space on your server. You might want to check on that as well imo.
February 16Feb 16 Author 5 minutes ago, Miss_B said:This error means that it can't write to your datastore folder.Can you try to set the permissions to 777 and see if it would help? If that won't help either, then this can be caused by lack of space on your server. You might want to check on that as well imo.I have space on my disk, I release permission "777" but does not work ! On my live community, but the test community work without error.This is very strange, because my test community is a full copy of my live community.This error showing when the admincp displayed the alert message (cached issue)After this, the error will be does not hidden !But I resolved problem with cache alert and the error still displayed.Live:Test:
February 17Feb 17 Id suggests starting by elliminating the differences. So looking there, you are using cloudflare on live, but not on test. Disable that and test first of all
February 17Feb 17 Author 4 hours ago, Marc said:Id suggests starting by elliminating the differences. So looking there, you are using cloudflare on live, but not on test. Disable that and test first of allSame.
February 17Feb 17 You should next go through comparing permissions. Are these on the same server? There is something there that is causing access issues on the server
February 17Feb 17 Author Just now, Marc said:You should next go through comparing permissions. Are these on the same server? There is something there that is causing access issues on the serverYes, they are exactly on my server and that is what is puzzling me.Why did this error appear when an informational alert about datastore storage space appeared, even though I had space.I then restarted the entire server and changed the way the cache is stored, setting both to be stored through redis.Previously it was stored in "File System"
February 17Feb 17 2 hours ago, Marco Junior said:Yes, they are exactly on my server and that is what is puzzling me.You'll want to ensure that they are owned by the proper user/groups for their execution. That can often create issues with writing even if permissions of the folders themselves are similar.
February 19Feb 19 Author On 2/17/2025 at 1:41 PM, Jim M said:You'll want to ensure that they are owned by the proper user/groups for their execution. That can often create issues with writing even if permissions of the folders themselves are similar.I'm still having trouble with this, I've really tried everything but the error still persists there.The error is actually saying that the log entries are duplicated, how can this be resolved? In case of duplicate log entries?
February 19Feb 19 Author Solution Problema has been fixed !SOLUTION: How to fix duplicated logs issue similar error posted on this "POST"Go to your data manager: phpmyadmin access your community database and execute the TRUNCATE function: in the "core_log" tableRemember that this problem in question was solved in this way, if you do not have experience with databases and similar, do not perform this action, if you are executing it remember to always leave the foreign key verification selected to avoid problems in your table.If your issue is not resolved, please contact IPS support.I strongly recommend that you perform backups before performing any action involving your community data.