Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
JuanP Posted January 29, 2023 Posted January 29, 2023 I am having an issue with resizing images in the forum. When I double-click an image that I have pasted into the thread, I get this message: Something Went Wrong. Please try again. Any ideas? Thanks
Jim M Posted January 29, 2023 Posted January 29, 2023 Do you receive any errors in your browser console? (press F12 -> console on most browsers)
JuanP Posted January 30, 2023 Author Posted January 30, 2023 Thanks @Jim M for replying. I'm getting the following: TypeError: Unsupported operand types: float * string (0) #0 /ips/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->image() #1 /ips/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #2 /ips/index.php(13): IPS\_Dispatcher->run() #3 {main}
Jim M Posted January 30, 2023 Posted January 30, 2023 Did you obtain the TypeError message you posted the 500 Internal Server Error log from your server? If so, could you please provide an example URL that you're trying this with? Unfortunately, trying here (on our latest beta) and on my own test community of 4.7.6, copying the image (not the URL of the image) and pasting in the editor, upon resizing, I am not getting an error.
JuanP Posted February 7, 2023 Author Posted February 7, 2023 Is this the info you are looking for?: JQMIGRATE: Migrate is installed with logging active, version 3.3.0 root_library.js?v=80f8f5c59d1675226647:12 JQMIGRATE: jQuery.fn.bind() is deprecated migrateWarn @ root_library.js?v=80f8f5c59d1675226647:12 root_library.js?v=80f8f5c59d1675226647:12 console.trace migrateWarn @ root_library.js?v=80f8f5c59d1675226647:12 root_library.js?v=80f8f5c59d1675226647:12 JQMIGRATE: JQMIGRATE: jQuery.cssProps is deprecated migrateWarn @ root_library.js?v=80f8f5c59d1675226647:12 root_library.js?v=80f8f5c59d1675226647:12 console.trace migrateWarn @ root_library.js?v=80f8f5c59d1675226647:12 root_library.js?v=80f8f5c59d1675226647:71 This is a browser feature intended for developers. Do not paste any code here given to you by someone else. It may compromise your account or have other negative side effects. plupload.full.min.js?v=80f8f5c59d1675226647:13 Instantiating FileInput... plupload.full.min.js?v=80f8f5c59d1675226647:13 Trying runtime: html5 plupload.full.min.js?v=80f8f5c59d1675226647:13 Object plupload.full.min.js?v=80f8f5c59d1675226647:13 default mode: browser plupload.full.min.js?v=80f8f5c59d1675226647:13 selected mode: browser plupload.full.min.js?v=80f8f5c59d1675226647:13 Runtime 'html5' initialized plupload.full.min.js?v=80f8f5c59d1675226647:13 Instantiating FileDrop... plupload.full.min.js?v=80f8f5c59d1675226647:13 Trying runtime: html5 plupload.full.min.js?v=80f8f5c59d1675226647:13 Object plupload.full.min.js?v=80f8f5c59d1675226647:13 default mode: browser plupload.full.min.js?v=80f8f5c59d1675226647:13 selected mode: browser plupload.full.min.js?v=80f8f5c59d1675226647:13 Runtime 'html5' initialized index.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received /index.php?app=core&module=system&controller=editor&do=image&editorId=topic_content&editorUniqueId=cke_1&actualWidth=1000&actualHeight=563&width=790&height=445&border=0&margin=0&float=none&link=https%3A%2F%2Fforum.vectorworks.net%2Fuploads%2Fmonthly_2023_02%2FWIN_20221104_10_55_40_Pro.jpg.3175c216c73d8d10ff9ff133e8a31fa1.jpg&imageAlt=&csrfKey=b7cc43e2ca2212c74fcfd5aa4e1842d8:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error) DevTools failed to load source map: Could not load content for chrome-extension://hfapbcheiepjppjbnkphkmegjlipojba/js/content.js.map: System error: net::ERR_BLOCKED_BY_CLIENT Thanks
Jim M Posted February 7, 2023 Posted February 7, 2023 On 1/30/2023 at 11:28 AM, JuanP said: TypeError: Unsupported operand types: float * string (0) #0 /ips/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->image() #1 /ips/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #2 /ips/index.php(13): IPS\_Dispatcher->run() #3 {main} I was referring to what you posted in your first post, quoted above 🙂 .
JuanP Posted February 13, 2023 Author Posted February 13, 2023 Yes, I can't reproduce the same TypeError message, but I still have the same issue. I checked with our team internally, and they think it is a bug introduced in one of the latest updates. Any other information that I can provide you with to help fix this issue? - thanks
JuanP Posted February 15, 2023 Author Posted February 15, 2023 The URL of page the error occurred on was https://forum.vectorworks.net/index.php?app=core&module=system&controller=editor&do=image&editorId=content_field_2&editorUniqueId=cke_1&actualWidth=1000&actualHeight=173&width=933&height=161&border=0&margin=0&float=none&link=https://forum.vectorworks.net/uploads/monthly_2023_02/1931588758_Screenshot2023-02-15at10_35_51AM.png.384526e78b50a2fb6d59e39488e4f201.png&imageAlt=&csrfKey=5be828cbd1029bf2000963e02cd44280 TypeError: Unsupported operand types: float * string (0) #0 /ips/system/Dispatcher/Controller.php(107): IPS\core\modules\front\system\_editor->image() #1 /ips/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() #2 /ips/index.php(13): IPS\_Dispatcher->run() #3 {main} thanks
Jim M Posted February 15, 2023 Posted February 15, 2023 Testing this with the image there you've outlined and making changes as outlined, I am unable to reproduce this. 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.
Jim M Posted March 15, 2023 Posted March 15, 2023 3 hours ago, JuanP said: Updated - thanks Unfortunately, the credentials are invalid still. Please verify and update.
Jim M Posted March 16, 2023 Posted March 16, 2023 Unfortunately, credentials to your ACP are still invalid. Please ensure you are testing the credentials before providing.
Jim M Posted March 29, 2023 Posted March 29, 2023 Would advise upgrading to the latest release and then trying again. I would also recommend disabling mod_security if you have this enabled on your server or any other security modules.
JuanP Posted April 17, 2023 Author Posted April 17, 2023 Perfect, will do - thanks for your help. One more question: I’ve just noticed that when uploading and downloading files on the General Forum, there is a load of numbers now added to the file name? Any clues, it doesn't seem to happen with image files. Thanks
Stuart Silvester Posted April 18, 2023 Posted April 18, 2023 I would recommend upgrading to 4.7.9 first, the prefix has less chance of being added in 4.7.7+.
JuanP Posted June 27, 2023 Author Posted June 27, 2023 Unfortunately, upgrading to the latest build has not fixed the issue. Do you have any other idea?
Jim M Posted June 27, 2023 Posted June 27, 2023 3 minutes ago, JuanP said: Unfortunately, upgrading to the latest build has not fixed the issue. Do you have any other idea? If you're using a custom theme, please switch to an unmodified theme. Do you have an example topic or content item with an attachment like this which you can link us to? Have you tried with newly uploaded items too?
Recommended Posts