Converting an entity with existing contents to revisionable throws exception

I’m trying to convert a core entity (menu_link_content) to revisionable with existing data. I’m trying to figure out how to accomplish this. I saw this go to guide here – https://www.drupal.org/docs/8/api/entity-api/converting-a-content-entity-type-to-be-revisionable-and-publishable

I have a D8.6 site and I’m trying to make the menu_link_content revisionable. On top of that my site has existing content for custom menus. And I cannot just delete these contents. So these has to be ideally migrated to the new revision tables thats created. When I followed the step by step approach in that guide ‘Section 2’ I get the exception –

“Drupal\Core\Entity\EntityStorageException: The SQL storage cannot change the schema for an existing entity type (menu_link_content) with data. in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->onEntityTypeUpdate() (line 347 of /var/www/myproj/docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php).”

When I delete all the custom menu links content it works.

Please confirm if my understanding is correct in the Section 2 –

“If you are updating the code for an existing site and your entity type already contains some data, you will also need to provide an upgrade path in addition to the changes explained in part 1. The upgrade path is composed of two things “

  • This means before performing the section 2 steps we have to make sure the Section 1 is done. This includes changing the Entity file annotations and setting fields to revisionable etc.

After this step I added the new revision fields like logs, created, time etc to install file and then created a post_update file and specified the fields which revision is set to true in that array.

Any suggestions or examples are welcome. Thanks!

2Captcha Error

Hi, I would like to ask regarding my 2captcha error on my GSA SER software. Currently my 2captcha account still have $ 31.88 (https://prnt.sc/lc2ci5). But on the GSA SER its write only 999 balance, which is supposed to be more balance since my 2captcha still got $ 31.88 credit (https://prnt.sc/lc2cga).

I asked the 2captcha support regarding this issue but they said they have no idea what is going on. So i came here and ask for an advise. Thanks.

Style Sheet loads intermittently only on Microsoft Edge Browser

I am using the Advanced CSS/JS Aggregation module to load css once the page has loaded:

<link type="text/css" rel="stylesheet" href="/sites/default/files/advagg_css/css__fQOpwieSv5u9MLUdCJW8AX3ysBkVaiLC0mNO9bCuF8c__FLUdFFsRYhU7NN2T4QA7b0pMyQP1W1hRmVlZ5H2Saxs__sq6B6dIZCxhnK6op34i0_MkLadmDDYLWNc-Y9yWUjsQ.css" media="all" as="style" onload="window.advagg_mod_loadcss = function() {if (window.jQuery) {if (jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(false);}} else {setTimeout(advagg_mod_loadcss, 100);}};setTimeout(advagg_mod_loadcss, 200);this.onload=null;this.rel='stylesheet'"> 

The problem is that sometimes only on Microsoft Edge, the stylesheet does not get loaded (I don’t see the styles getting applied on my site). Once I reload the page, it works fine. It’s hard to replicate because it does not happen all the time and it only happens one time per page.

What is the fastest way to allow users to RDP into computers?

I have a network with about 20-30 computers which are all on the same network/domain. I just created a non-admin user and tried to RDP to the machines but keep getting the error “The connection was denied because the user account is not authorized for remote login”. I added the user to the Remote Desktop Users group which didn’t work. I also tried to install Windows Server Essentials Experience and to do it through there, but you have to join each computer to it anyways, so it wouldn’t be different from going to each computer and manually adding the user to Remote Desktop Users local group. RDPing for administrators works fine.

Is there a way I can enable RDP to all computers from just the domain controller so there’s minimal work involed?

办南澳大学毕业证成绩单Q薇501058216【仿真澳洲文凭】修改成绩单造假澳洲本科学历/澳洲硕士学历认证代办使馆认证|澳洲留信认证|澳洲教育部认证|国内可查存档办理澳洲本/硕学历University

海外留学服务中心:专业代办外国文凭学历认证,QQ/微信501058216,高效办理国内\外毕业证、成绩单,包括澳洲新西兰,
加拿大,美国,英国,德国等大学学历认证(我们承诺:认证不成功退款!!!)实体公司,注册经营,质量保证,可视频看样本工艺质量,接受面谈。
一、快速办理高仿材料:
1、毕业证+成绩单+留学回国人员证明+教育部学历认证(全套留学回国必备证明材料,给父母及亲朋好友一份完美交代);
2、雅思、托福,OFFER,在读证明,学生卡等留学相关材料(申请学校、转学,甚至是申请工签都可以用到)。
注:上述高仿材料,随时都可以安排办理,毕业证成绩单,学校,专业,学位,毕业时间都可以根据客户要求安排。
二、办理流程:
1、收集客户办理信息;
2、客户付定金下单;
3、公司确认到账转制作点做电子图;
4、电子图做好发给客户确认;
5、电子图确认好转成品部做成品;
6、成品做好拍照或者视频确认再付余款;
7、快递给客户(国内顺丰,国外DHL)。
三、真实网上可查的证明材料
1、教育部学历学位认证,留服官网真实存档可查,永久存档。…

办南澳大学毕业证成绩单Q薇501058216【仿真澳洲文凭】修改成绩单造假澳洲本科学历/澳洲硕士学历认证代办使馆认证|澳洲留信认证|澳洲教育部认证|国内可查存档办理澳洲本/硕学历University

Drupal 8 REST export View shows “This display has no path” in View UI and 404 Error on page

I’ve got a fresh install of Drupal 8.6.x with REST/API/JSON Web Services enabled and I’ve created a Rest export View with path: /api/test which returns the correct JSON View results when I append the required querystring:

?_format=json 

So all is well. Until I either create a second REST export View or a new Display in the working View. These seem to work fine in the View’s UI Preview but also displays “This display has no path” just above the Preview output. If I go to the new View/Display’s URL I get Page Not Found and if I append ?_format=json I get this:

{ "message": "No route found for \"GET /api/temp-view\"" } 

(/api/temp-view is my second View’s path).

It’s the strangest thing. Only the first, original view Display is working. I’ve created all sorts of different URL paths to test (and Saved each time). The View settings are standard and identical.

I’ve spent about 6 hours on this now…

Any help much appreciated.

Unable to set default program for .cpp file type

I’m using the latest edition of Windows 10 Home on a 64-bit computer.

I’ve been struggling to set the default program used to open .cpp files. At first, it was set to Notepad, but at some point I must have set it to Code::Blocks by accident. I was eventually able to get rid of the association to Code::Blocks, but now .cpp files don’t have any association. The best I can do is set them back to Code::Blocks.

I tried many of the suggestions on this question, but still no luck yet.

I’ve tried multiple ways of setting the default program: Through the Windows 10 Settings app, the typical “Right click and select Open With”, through the Properties window. I even tried NirSoft’s FileTypesMan. One interesting observation I made is that on the File Types Manager, it does say next to the User Choice option “NOTEPAD.EXE”, yet it obviously hasn’t worked yet.

I can get through the whole process of setting the program without an error message or anything, yet their is no visible result.

Any ideas on what I may be doing wrong or what I should try?