Jump to content

Recommended Posts

Posted (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.

Could contain: Plot, Chart, Page, Text

Could contain: Page, Text, Plot, Chart

pasting the image in directly works, but it errors when pasting the image url.

Edited by HUGZ
Posted

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)

Posted
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?

Posted

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. 

Posted
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.

Could contain: Text, Page

Posted

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

  • 2 weeks later...
Posted
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.

Posted
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.

Posted

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?

Posted
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.

Posted

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

Posted
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?

Posted
2 minutes ago, HUGZ said:

disable what?

mod_security or any other security modules which are enabled on your server. Including CloudFlare, sucuri, etc...

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...