Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Dean Hamer Posted 8 hours ago Posted 8 hours ago Apologies for the new threads... Since our server migration last week I have run in to the following issues: Locked Task: dailyStreamSubscriptions Quote TypeError: log(): Argument #1 ($num) must be of type float, string given (0) #0 /var/www/vhosts/X/httpdocs/system/Helpers/Table/Db.php(118): log() #1 /var/www/vhosts/X/httpdocs/system/Helpers/Table/Table.php(504): IPS\Helpers\Table\_Db->getRows() #2 /var/www/vhosts/X/httpdocs/applications/core/modules/admin/settings/advanced.php(879): IPS\Helpers\Table\_Table->__toString() #3 /var/www/vhosts/X/httpdocs/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\settings\_advanced->taskLogs() #4 /var/www/vhosts/X/httpdocs/applications/core/modules/admin/settings/advanced.php(38): IPS\Dispatcher\_Controller->execute() #5 /var/www/vhosts/X/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\settings\_advanced->execute() #6 /var/www/vhosts/X/httpdocs/admin/index.php(13): IPS\_Dispatcher->run() #7 {main} Locked Task: digest Quote TypeError: log(): Argument #1 ($num) must be of type float, string given (0) #0 /var/www/vhosts/x/httpdocs/system/Helpers/Table/Db.php(118): log() #1 /var/www/vhosts/x/httpdocs/system/Helpers/Table/Table.php(504): IPS\Helpers\Table\_Db->getRows() #2 /var/www/vhosts/x/httpdocs/applications/core/modules/admin/settings/advanced.php(879): IPS\Helpers\Table\_Table->__toString() #3 /var/www/vhosts/x/httpdocs/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\settings\_advanced->taskLogs() #4 /var/www/vhosts/x/httpdocs/applications/core/modules/admin/settings/advanced.php(38): IPS\Dispatcher\_Controller->execute() #5 /var/www/vhosts/x/httpdocs/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\settings\_advanced->execute() #6 /var/www/vhosts/x/httpdocs/admin/index.php(13): IPS\_Dispatcher->run() #7 {main} Would the above cause the following errors? I created a new thread in the X section, I clicked submit and I got the following message; I then went back into the forum to find the post had been submitted. This has also happened when sending a PM. The same PM was sent 6 times. Thanks for your support. When trying to run any of the tasks manually I get the following: Quote 2C124/2 2C124/2 The task is already running and cannot be ran until it has finished or the lock is removed.
Miss_B Posted 7 hours ago Posted 7 hours ago (edited) 10 minutes ago, Dean Hamer said: I created a new thread in the X section, I clicked submit and I got the following message; The above quoted error is almost always server related and too general. Meaning it doesn't tell us much. Can you check either the System Logsat your Admin Panel, or better yet the Server Error log page and post here the most recent messages logged in there? What versions are your forum and php at? Edited 7 hours ago by Miss_B
Dean Hamer Posted 7 hours ago Author Posted 7 hours ago 13 minutes ago, Miss_B said: The above quoted error is almost always server related and too general. Meaning it doesn't tell us much. Can you check either the System Logsat your Admin Panel, or better yet the Server Error log page and post here the most recent messages logged in there? What versions are your forum and php at? I've not had chance to check the logs in detail but a quick glance does not show anything yet, I will take a further look at lunch. Invision Community v4.7.19 PHP Version 8.1.31 I think there may be some tweeks I need to make to our PHP configuration:
Marc Posted 6 hours ago Posted 6 hours ago Knowing the actual errors in your server error log would be the first place you would start here. Without those, we would simply be guessing.
Dean Hamer Posted 5 hours ago Author Posted 5 hours ago Looking at the logs, I am getting the following errors and warnings: They all seem to be of the following codes: Apache SSL/TLS access: 500 GET /forums/topic/6845-elections-for-the-board/page/15/?csrfKey=96d47f678928082ba449018fd9102052 HTTP/1.0 -------------------------- Apache SSL/TLS access: 403 GET /forums/topic/6845-elections-for-the-board/? HTTP/1.0 -------------------------- Apache SSL/TLS access: 404 GET /home/bury-fc-news/match-info-maghull-h-sat-24th-aug-300pm-ko-r936/maghull.png HTTP/1.0 ------------------------- In terms of warnings I am getting the following main errors: Apache error (32)Broken pipe: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://site.co.uk/forums/ mod_fcgid: read data timeout in 45 seconds, referer: https://site.co.uk/forums/topic/6526-squad-as-it-stands-🤷🏻♂️/page/28/ (110)Connection timed out: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://www.google.com/url?q=https://site.co.uk/forums/&sa=U&sqi=2&ved=2ahUKEwiamsDX1vKKAxWUVUEAHTnREtcQ0gIoAHoECCAQAQ&zccpm=epi&usg=AOvVaw1RWFciK6pxILeX5H0DotgJ
Miss_B Posted 5 hours ago Posted 5 hours ago 1 minute ago, Dean Hamer said: Apache SSL/TLS access: 403 This error means that users are prevented from accessing the topic mentioned with the error. This could be caused by various reasons, such as a permission error in the webroot directory or misconfigured / missing directives in the Apache configuration files. The above error, and the rest of the errors, they all seem to be server related and have nothing to do with Ipb imo.
Jim M Posted 4 hours ago Posted 4 hours ago 32 minutes ago, Dean Hamer said: Apache SSL/TLS access: 500 GET /forums/topic/6845-elections-for-the-board/page/15/?csrfKey=96d47f678928082ba449018fd9102052 HTTP/1.0 -------------------------- Apache SSL/TLS access: 403 GET /forums/topic/6845-elections-for-the-board/? HTTP/1.0 -------------------------- Apache SSL/TLS access: 404 GET /home/bury-fc-news/match-info-maghull-h-sat-24th-aug-300pm-ko-r936/maghull.png HTTP/1.0 This would be from the access log, not the error log. The error log is what is needed here.
Dean Hamer Posted 4 hours ago Author Posted 4 hours ago (edited) @Jim M @Marc and @Miss_B Ok, I think I have the right file? error log.txt Edited 4 hours ago by Dean Hamer
Marc Posted 2 hours ago Posted 2 hours ago You would need to contact your hosting company on this, as the issues you are getting are related to your server setup, rather than the software Seeing this a lot: ap_pass_brigade failed in handle_request_ipc function and data read timeouts. Dean Hamer 1
Dean Hamer Posted 2 hours ago Author Posted 2 hours ago 6 minutes ago, Marc said: You would need to contact your hosting company on this, as the issues you are getting are related to your server setup, rather than the software Seeing this a lot: ap_pass_brigade failed in handle_request_ipc function and data read timeouts. Thanks, I will. IS this something that is Invision related?
Dean Hamer Posted 2 hours ago Author Posted 2 hours ago Just now, Marc said: If you click on "Run now" are these running through? This error comes up: 2C124/2 The task is already running and cannot be ran until it has finished or the lock is removed.
Jim M Posted 1 hour ago Posted 1 hour ago 49 minutes ago, Dean Hamer said: This error comes up: 2C124/2 The task is already running and cannot be ran until it has finished or the lock is removed. You can go to ACP -> System -> Advanced Configuration -> View Tasks -> find the task mentioned and click "Unlock" (padlock unlocking looking icon)
Recommended Posts