Re: Stream from Soundcloud
Check your change saved and refresh all caches. If you view your page source your sandbox only has allow-scripts and not allow-same-origin. You could also try adding allow-same-origin to your iframe code.
Jump to post- Fri Feb 16, 2024 5:44 pm
- Replies 21
- Views 1626
Re: Stream from Soundcloud
They are space separated. See the example at the link I posted.
https://ckeditor.com/docs/ckeditor4/lat ... attributes
- Fri Feb 16, 2024 7:42 am
- Replies 21
- Views 1626
Re: Stream from Soundcloud
I think you will need both and maybe others once you have tested that.
Code: Select all
config.iframe_attributes = {
sandbox: 'allow-scripts allow-same-origin'
}
- Fri Feb 16, 2024 12:15 am
- Replies 21
- Views 1626
Re: Question about weight conversion
That would give you 5kg * (1/1000) = 0.005g which is wrong. 5kg = 5000g. That is why it's quantity * ('to g value'/'from kg value'). Jump to post
- Fri Feb 16, 2024 12:11 am
- Replies 3
- Views 199
Re: Stream from Soundcloud
In Chrome go to the web developer tools, by pressing F12 or 'Developer tools' under 'More tools' in the menu. Other web browsers may have a different method for the developer tool. In the developer tool look under 'Console', where you can see messages and error about your site. Just checked your lin...
Jump to post- Thu Feb 15, 2024 10:29 pm
- Replies 21
- Views 1626
Re: Question about weight conversion
If you have a weight of 5kg it would be 5 * (1000 / 1 = 5000g. Which is corrct.
If you have a weight of 5000g it would be 5000 * (1 / 1000) = 5kg. Which again is correct.
- Thu Feb 15, 2024 8:47 pm
- Replies 3
- Views 199
Re: Stream from Soundcloud
Check your web browser's developer tool. You may see a message like the following.
In which case you also need to add allow-same-origin to the config. Jump to postUncaught DOMException: Failed to read the 'cookie' property from 'Document': The document is sandboxed and lacks the 'allow-same-origin' flag.
- Thu Feb 15, 2024 6:57 pm
- Replies 21
- Views 1626
Re: Hiding Price for 0 Quantity Products & Excluding from Search in OpenCart
Check the file in storage/modification. Perhaps an extension is changing that file.
Jump to post- Thu Feb 15, 2024 7:58 am
- Replies 2
- Views 382
Re: Stream from Soundcloud
You may be able to change the sandbox to sandbox="allow-scripts".
If that doesn't work you may have to add the following to admin/view/javascript/ckeditor/config.js.
Code: Select all
config.iframe_attributes = {
sandbox: 'allow-scripts'
}
- Wed Feb 14, 2024 7:16 pm
- Replies 21
- Views 1626
Re: Session token in URL
When you follow a link to the OpenCart admin you should see the login page. However, once you login, you should be redirected to the page of the original link. Although clicking on links to your admin and logging in is a really bad idea from a security perspective. OpenCart doesn't follow RFC 7231 a...
Jump to post- Wed Feb 14, 2024 7:08 pm
- Replies 3
- Views 503
Re: edit ocmod in product/category
You will need to give more details, such a OpenCart version, theme used and why you think that code is not working as it should.
Jump to post- Tue Feb 13, 2024 10:31 pm
- Replies 10
- Views 338
Re: Developer Support
I think you are right not to give full access. Sounds like a really poor developer. Have you tried complain to OpenCart directly and asking for a refund? https://www.opencart.com/index.php?route=support/contact The the strftime issue sounds like the extension was not compatible with your PHP version...
Jump to post- Tue Feb 13, 2024 6:50 pm
- Replies 9
- Views 1207
Re: Session token in URL
OpenCart has never had the option to put the session ID in the URL. Are you sure you're not getting mixed up with the token? Which is something very different and needed for security.
Jump to post- Tue Feb 13, 2024 6:17 pm
- Replies 3
- Views 503
Re: Upgrading 3.0.2.0 to 3.0.3.8 Issues
That's understandable. But do you know how much developers of certain extensions and themes ask for re-support after 1 or 2 years after first buy? They ask for so much money that it is not normal. I literally have to pay for the theme and modules again as if I was buying for the first time in order...
Jump to post- Tue Feb 13, 2024 6:13 pm
- Replies 8
- Views 1732
Re: Stream from Soundcloud
As I said, use your web browser's developer tool to check for any messages. You will find some relating to your iframe. Blocked script execution in '...' because the document's frame is sandboxed and the 'allow-scripts' permission is not set. Your iframes are sandboxed and won't allow scripts. It co...
Jump to post- Tue Feb 13, 2024 5:40 pm
- Replies 21
- Views 1626
Re: Stream from Soundcloud
Use your web browser's developer tool to check for any messages and to inspect the page to see if the code you added is there.
Jump to post- Mon Feb 12, 2024 11:50 pm
- Replies 21
- Views 1626
Re: PHP Warning: mysqli::query(): (40001/1213): Deadlock found when trying to get lock; try restartin
Should of been. viewtopic.php?t=232515 Jump to post
- General Support
- PHP Warning: mysqli::query(): (40001/1213): Deadlock found when trying to get lock; try restartin
- Mon Feb 12, 2024 8:29 am
- Replies 3
- Views 274
Re: How do I remove "Google Shopping" from the extensions?
I have the same question. Could you please clarify? For me, it is a useless resource because in opencart there is another (free) way to register for Google shopping via Google Merchant Center. The link to Google Shopping feature asks for payment which may encourage people to pay for something unnec...
Jump to post- Mon Feb 12, 2024 2:01 am
- Replies 5
- Views 423
Re: Upgrading 3.0.2.0 to 3.0.3.8 Issues
I would like to ask about the 3020 version on php 7. I have many extensions for 3020. Due to numerous bugs, it is not easy to change oc versions. I looked at the OC on GitHub https://github.com/opencart/opencart/tree/3.0.x.x/ Can I use the files from this page to work with the extensions I have for...
Jump to post- Mon Feb 12, 2024 1:51 am
- Replies 8
- Views 1732