Jump to content

Recommended Posts

Posted

 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? ThanksCould contain: Text, Paper, Symbol, White Board

Posted

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}

Could contain: Text, Page

 

Posted

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.

Posted

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

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

Posted

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

Posted

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

Posted

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. 

 

  • 4 weeks later...
  • 2 weeks later...
Posted

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.

  • 3 weeks later...
Posted

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 Could contain: Text

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

  • Recently Browsing   0 members

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