Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
bassangler Posted October 10, 2022 Posted October 10, 2022 Invision Community Version 4.7.2.1 Version 8.1.11 I just updated to php 8.1 from 7.4, and now I have these errors for various pages, all generated by "guest" Error: Failed opening required '.../datastore/widget_activeUsers_rhsfib2aw_d7c41f2f94c103e97be4ddedfdab8efc.a1d28ee3cc.php' (include_path='.:/opt/cpanel/ea-php81/root/usr/share/pear') (0) #0 /(server path to IP)/system/Data/Store/FileSystem.php(178): IPS\Data\Store\_FileSystem->get('widget_activeUs...') #1 /(server path to IP)/system/Data/AbstractData.php(126): IPS\Data\Store\_FileSystem->exists('widget_activeUs...') #2 /(server path to IP)/system/Data/Store.php(303): IPS\Data\_AbstractData->__isset('widget_activeUs...') #3 /(server path to IP)/system/Widget/Widget.php(904): IPS\Data\_Store->__isset('widget_activeUs...') #4 /(server path to IP)/uploads/template_28_94a9d7649fb9cdbfc784d3516e61a717_global.php(18493): IPS\_Widget->__toString() #5 /(server path to IP)/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->widgetContainer('footer', 'horizontal') #6/(server path to IP)/uploads/template_28_94a9d7649fb9cdbfc784d3516e61a717_global.php(6877): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #7/(server path to IP)/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->globalTemplate('Making a normal...', '\n\n\n\n<div class=...', Array) #8 /(server path to IP)/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #9 /(server path to IP)/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #10 /(server path to IP)/system/Dispatcher/Front.php(625): IPS\Dispatcher\_Standard->finish() #11 /(server path to IP)/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #12 /(server path to IP)/index.php(13): IPS\_Dispatcher->run() #13 {main} BACKTRACE #0 /(server path to IP)/init.php(1029): IPS\_Log::log('Error: Failed o...', 'uncaught_except...') #1 /(server path to IP)/system/Widget/Widget.php(939): IPS\IPS::exceptionHandler(Object(Error)) #2 /(server path to IP)/uploads/template_28_94a9d7649fb9cdbfc784d3516e61a717_global.php(18493): IPS\_Widget->__toString() #3 /(server path to IP)/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->widgetContainer('footer', 'horizontal') #4 /(server path to IP)/uploads/template_28_94a9d7649fb9cdbfc784d3516e61a717_global.php(6877): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #5 /(server path to IP)/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_global->globalTemplate('Making a normal...', '\n\n\n\n<div class=...', Array) #6 /(server path to IP)/system/Dispatcher/Dispatcher.php(173): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #7 /(server path to IP)/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #8 /(server path to IP)/system/Dispatcher/Front.php(625): IPS\Dispatcher\_Standard->finish() #9 /(server path to IP)/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher\_Front->finish() #10 /(server path to IP)/index.php(13): IPS\_Dispatcher->run() #11 {main}
Marc Posted October 10, 2022 Posted October 10, 2022 when you visit that location yourself, are you getting the error? Have you tested this with no 3rd party items enabled?
Luuuk Posted October 10, 2022 Posted October 10, 2022 Similar error was reported twice: [Obviously mine can't be investigated because I am on Windows Server]
Marc Posted October 10, 2022 Posted October 10, 2022 Please could you try removing the contents of your datastore folder (apart from the index file) and see if that corrects the problem
Marc Posted October 11, 2022 Posted October 11, 2022 We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
Solution Marc Posted October 11, 2022 Solution Posted October 11, 2022 Im not seeing this happening when Im trying to test, and the errors themselves would indicate the file simply isnt there when the guests are visiting. Thats likely a timing difference between the file actually being written, and being able to read it. Please update to the latest release in the first instance and test. If you are then still seeing the same problem, try switching over to mysql for data storage. You can do this from System->Advanced Configuration->Data Storage. if its an issue with disk writing, mysql may well serve you better.
bassangler Posted October 12, 2022 Author Posted October 12, 2022 Looks like changing it to mysql did the trick. Thank you!
Recommended Posts