HUGZ Posted November 19, 2022 Posted November 19, 2022 (edited) Upgraded to the latest version (v4.7.4 + PHP 8.1) and can no longer embed external images from their url. everything else seems to embed okay. no 3rd party plugins and using the default theme. pasting the image in directly works, but it errors when pasting the image url. Edited November 19, 2022 by HUGZ
HUGZ Posted November 23, 2022 Author Posted November 23, 2022 any help or insights would be appreciated please. (I'd ask Invision directly but email/live chat support seems to have been removed for paying customers)
Ramsesx Posted November 23, 2022 Posted November 23, 2022 22 minutes ago, HUGZ said: (I'd ask Invision directly but email/live chat support seems to have been removed for paying customers) The rignt place to get support from the IPS team now is this forum: https://invisioncommunity.com/forums/forum/497-help-support/ Right now you're posting in the Community Support area "Need advice beyond the scope of Invision Community support?" where the IPS staff isn't answering.
Gary Posted November 28, 2022 Posted November 28, 2022 On 11/23/2022 at 9:47 PM, HUGZ said: any help or insights would be appreciated please. (I'd ask Invision directly but email/live chat support seems to have been removed for paying customers) Hi @HUGZ, Our Help & Support forum is the place to go for official support. We may tend to this forum from time to time, but as @Ramsesx mentioned above, it is more for things beyond the scope of Invision Community where our community here can also chime in and assist. Would you like me to move your topic to the Help & Support forum?
Randy Calvert Posted November 28, 2022 Posted November 28, 2022 It looks like a 500 error is being triggered there. You might want to review your Apache error logs to see what is happening there if n more detail. My guess off hand is it’s mod_security or something similar blocking it.
HUGZ Posted November 28, 2022 Author Posted November 28, 2022 14 hours ago, Gary said: Would you like me to move your topic to the Help & Support forum? Yes please. Might want to update the link and copy on this button in the client area to avoid confusion. Nathan Explosion 1
Marc Posted November 29, 2022 Posted November 29, 2022 As mentioned above, you need to check your server error logs to see exactly what the error is when you are testing this. Its very likely there is something like modsecurity or securi that are blocking these in some manner
HUGZ Posted December 8, 2022 Author Posted December 8, 2022 On 11/29/2022 at 9:09 AM, Marc Stridgen said: As mentioned above, you need to check your server error logs to see exactly what the error is when you are testing this. Its very likely there is something like modsecurity or securi that are blocking these in some manner Here's everything relating to the issue I can find from the logs: TypeError: Unsupported operand types: string * int (0) #0 /home/applications/core/modules/front/system/editor.php(130): IPS\Text\_Parser::imageEmbed() #1 /home/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->validateLink() #2 /home/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #3 /home/index.php(13): IPS\_Dispatcher->run() #4 {main} Backtrace: #0 /home/init.php(1029): IPS\_Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main} and if I hit the link that is returning the 500 error ()... The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information. also to reiterate, this worked perfectly fine before updating the forum and PHP. I haven't got any plugins installed and this is using an uncustomized default theme. other than upgrading the php version, nothing has changed on my server.
Marc Posted December 8, 2022 Posted December 8, 2022 Have you actually tested on a default theme? Asking due to the last item there
HUGZ Posted December 8, 2022 Author Posted December 8, 2022 3 hours ago, Marc Stridgen said: Have you actually tested on a default theme? Asking due to the last item there yes, as mentioned in the above post and in the OP.
Jim M Posted December 8, 2022 Posted December 8, 2022 Are you utilizing mod_security or any other security system which may be blocking the external image request from your server to the external source?
HUGZ Posted December 14, 2022 Author Posted December 14, 2022 On 12/8/2022 at 6:33 PM, Jim M said: Are you utilizing mod_security or any other security system which may be blocking the external image request from your server to the external source? No to mod_security + nothing that wasn't enabled or configured before running the update.
Marc Posted December 14, 2022 Posted December 14, 2022 While I appreciate there are things that may have been there before the update, there may be something on the update that its now triggering. Please disable these and test again in the first instance
HUGZ Posted December 15, 2022 Author Posted December 15, 2022 On 12/14/2022 at 3:24 PM, Marc Stridgen said: While I appreciate there are things that may have been there before the update, there may be something on the update that its now triggering. Please disable these and test again in the first instance disable what?
Jim M Posted December 15, 2022 Posted December 15, 2022 2 minutes ago, HUGZ said: disable what? mod_security or any other security modules which are enabled on your server. Including CloudFlare, sucuri, etc...
Recommended Posts