magento2.4 – Magento2 Admin Backend Child theme Issue

I am trying to create a custom admin child theme from Magento 2 default admin backend theme. But the custom theme not working. I have debugged this issue and find that in the database the theme table the custom theme type value is showing 1. But other all themes types showing 0.

enter image description here

I have checked and find that Magento2 has 3 types of themes (Physical, Virtual, Staging).

  /**
     * Physical theme type
     */
    const TYPE_PHYSICAL = 0;
    /**
     * Virtual theme type
     */
    const TYPE_VIRTUAL = 1;
    /**
     * Staging theme type
     */
    const TYPE_STAGING = 2;

Can anyone please tell me why my custom theme value is saved virtual type in the database?

appsec – Is it a serious security issue if a software crashes on much larger than expected input data?

Background: The software in question is a purpose built mapping system designed originally for Windows XP, but is currently run without any major issues on Windows 10. It can be run locally or by logging into our servers through a built-in UI, but only from registered IP addresses. I do not know what language the software was written in (we think .NET), the devs/maintainers have long since left.

Problem: The software has an option to submit some data as a file or by filling it in a textbox. The issue is that software hard crashes if someone provides too large a list in that textbox (roughly greater than 8200 lines). It also crashes if the data in the text file is large, but the limit there is much higher (seems to be around 750 MB).

It does not give any reason for the crash, but Windows Event Viewer says:

Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 00007FF7BBD6943E

The exception address is occasionally just zeroes and other times an actual memory address.

I’ve tried to get the error after launching the software from the terminal, but it still does not give any error message. The crash is the same whether the software is run locally or server-side.

I know that buffer overflows are a major point of vulnerability, but I’m not sure that is what is happening here, or if it is some sort of UI failure, or what.

Question: Should I be concerned about this as a major security issue?

I’m inclined to not be, considering this is fairly obscure piece of software that is probably used by less than 10 people over the world and probably all of them are in the same department. Plus, the fact that only people whose IPs are registered into the software can run it server-side. But I would appreciate some outside advice.

Issue with using SharePoint’s SendEmail API

We have a custom script that sends emails based on comments added to a page. We use SharePoint’s SendEmail API to do this. At launch this was working fine though we had to sort out some issues with the recipient of the email not being mail-enabled security groups, but otherwise it worked fine and emails were being delivered.

Now, we’ve had complaints from users that the comments are not sending emails. Upon troubleshooting, there seems to be an issue with the API itself.

Upon trying to submit a comment, the browser console shows the following error “#####.min.js:8 POST #####/_api/SP.Utilities.Utility.SendEmail 400 (Bad Request)” with no other information, just the stack trace but nothing jumps out.

When I browse to /_api/SP.Utilities.Utility.SendEmail from my browser, the following is displayed:

enter image description here

This leads me to believe that there is something wrong with the API? Outgoing email is configured correctly based on my understanding.

Is there anything that would cause this API to fail? A service not running correctly perhaps?

upgrade – Ubuntu System Files Upgrading Process Issue

I use Ubuntu-Studio 20.04.2 LTS inside 2 desktop PCs and 1 laptop PC.

Each time there is an Ubuntu “core” files upgrading (linux-image-5.4.0-xx-lowlatency and others), the upgrading process tells me that the oldest files were erased.

But… It is not a reality.

If I use the command dpkg -l | grep linux-image-5.4.0-xx-lowlatency (where xx is the chronological oldest number of those files), I can clearly see that file is still present in my HDD.

The same with the file linux-modules-5.4.0-xx-lowlatency.

I don’t have problems to erase it manually, because I know how to do it.

But… I’m thinking about people who doesn’t know about this “cryptic” part of the system… From time to time, that HDD could become full with all those files.

I wonder if there is a way to avoid this.

Or… Maybe, I missed something in the way? ???

Is there a way to automatically erase all those files inside de upgrading process? ???

data structures – single list in C++ create list issue

I am trying to implement this but getting an error every time
in the main function
link my list and mylist is been passed to the create function
if anyone can solve this plx do a favor

    typedef int Item;
struct node
{
    Item  value;
    node *next;
};
typedef node *link; //link - pointer to node



//Creates an empty list with the head
void create(link &L)

google search console – Major CLS issue – Can´t locate it at all – Core Web Vitals – All Pages effected

since a few weeks already I am trying to fix my CLS-issues. My sitemap contains of 150 single pages in total. All of those 150 pages are affected by BOTH the Mobile and Desktop CLS issue (>0.25 & >0.5).

Taking a look at the Lab Data all pages are good, CLS and performance-wise.
Also, working with the Web Vitals Chrome Plugin it doesn´t show me any issues even when interacting for minutes with the site.

Has someone a different approach/way to find CLS issues?

Any help is appreciated.
Thank you!

Tim

can i go to jail or be in illegal issue cause own Web Hosting Service?

So i’m wondering. if i own web hosting service and put in my terms That we don’t allow illegal things like ( Cack,ddos,carding,etc)

and in… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1848893&goto=newpost

dnd 5e – Is a Dryad able to issue commands to a charmed creature that doesn’t understand Sylvan or Elvish?

A Dryad can use Fey Charm to charm a beast or humanoid. The result is that:

  • The target is charmed; it cannot willingly harm the Dryad.
  • The target is charmed; the Dryad’s social checks against it have advantage.
  • The target ‘regards the dryad as a trusted friend to be heeded and protected.’
  • The target ‘takes the Dryad’s requests or actions in the most favourable way it can.’

The Dryad can issue commands to beasts using its ability to speak with beasts and plants. Can it also issue commands to charmed humanoids who do not share an understanding of Elvish or Sylvan (the two languages spoken by the Dryad), or is the ability’s effect limited in these cases to the effects of the charmed condition and the regarding of the Dryad as a trusted friend?

magento2.3.6 – Payment Issue – Magento 2.3.6

I upgraded my Magento 2.3.3 to 2.3.6.

We have issues where the payment is now working anymore.
(https://lsxgarasjen.no/checkout/#payment)
If you inspect this page there is a lot off error and a error 500

In exception.log I get this error:

{ (2021-06-06 11:57:04) main.CRITICAL: Report ID: webapi-60bcb810c6427; Message: Infinite loop detected, review the trace for the looping path {“exception”:”(object) (Exception(code: 0): Report ID: webapi-60bcb810c6427; Message: Infinite loop detected, review the trace for the looping path at /chroot/home/a96f0e0b/stores.etailhandel.no/html/vendor/magento/framework/Webapi/ErrorProcessor.php:208, LogicException(code: 0): Infinite loop detected, review the trace for the looping path at /chroot/home/a96f0e0b/stores.etailhandel.no/html/vendor/magento/module-checkout/Model/Session.php:241)”} () }

I do use a 3rd party extension Nets Easy checkout, but the error messages are not from them.

I see error logs from Klarna and Magento.

Does anyone know what this can be?

file ownership and permissions issue with phpBB on Ubuntu 20.04 VPS

I am porting a phpBB site from a shared server to a VPS, running Ubuntu 20.04. I have configured apache2 for virtual domains, since I have more than one. Here’s where the boards are:

    /var/www/example1.com/public_html/phpbb
    /var/www/example2.com/public_html/phpbb

I want there to be a single user “userA” that makes changes to both sites, so I’ve made a sftp group “sftp_users” and added userA to it. I have also added userA to the www-data group, and changed this line in envvars:

export APACHE_RUN_USER=www-data

to this:

export APACHE_RUN_USER=userA

example1.com is owned by root:root, public_html by root:sftp_users, and phpbb and everything underneath recursively by userA:www-data. Permissions have been set recursively as well – 755 for directories, and 644 for files, per phpBB guidelines. And per those guidelines, the exceptions are the files, store, cache and images/avatars/uploads directories (all 777), and the phpbb/config.php file (640).

The board seems to be working – however, I make two observations:

  1. Board members can upload attachments. However, unlike the files I ported from the shared server that members had previously loaded, and whose ownership I made userA:www-data, these uploaded files show www-data:www-data ownership. (This is also true of files and directories that get created by PHP in the cache on demand.) The change I made to envvars does not seem to have taken effect.

  2. The permissions of the uploaded files is 666, and not 644 as I set the ported files (per phpBB guidelines).

I’m guessing that I want to do something along the lines recommended by @Zoredache and @Tom here:

What’s the best way of handling permissions for Apache 2’s user www-data in /var/www?

But if userA owned the files, couldn’t I get by with the recommended 644 file permissions instead of 664? Why isn’t userA the file owner – and is a umask of 0022 the answer to forcing permissions?