magento2 – Magneto 2.3 SMTP configured but mails not send

after setting up SMTP extension ,when send test mail giving error “Unable to send mail:unknown error” and
in exception log gives bellow exception.

” main.CRITICAL: Unable to send mail: Unknown error {“exception”:”(object) (MagentoFrameworkExceptionMailException(code: 0): Unable to send mail: Unknown error at /var/www/magento/app/code/Magento/Email/Model/Transport.php:104, LaminasMailTransportExceptionRuntimeException(code: 0): Unable to send mail: Unknown error at /var/www/magento/vendor/laminas/laminas-mail/src/Transport/Sendmail.php:306)”} ()

what would be the reason, and how could I get out of this.. Thank you.

flutter – Import a SQLite database that has already been configured through assets

Guys, in my project, I'm using a SQLite database that comes with the configured tables, and some of them are already filled with hundreds of records, which makes creating the database through embedded SQL practically impossible.
So I'm trying to get this bank through assets:
in my pubspec.yaml I have:

- libdatabasemyglico.db

and I have a function that the bank is supposed to create:

Future initDb() async {
Directory documentDirectory = await getApplicationDocumentsDirectory();
String path = join(documentDirectory.path, "myglico.db");

// Only copy if the database doesn't exist
if (FileSystemEntity.typeSync(path) == FileSystemEntityType.notFound) {
  // Load database from asset and copy
  ByteData data = await rootBundle.load(join('assets', 'lib/database/myglico.db'));
  List bytes = data.buffer.asUint8List(data.offsetInBytes,
      data.lengthInBytes); // Save copied asset to documents
  await new File(path).writeAsBytes(bytes);
var ourDb = await openDatabase(path);
return ourDb;

But I always get an exception:

E/flutter (18890): (ERROR:flutter/lib/ui/ Unhandled Exception: Unable to load asset: assets/lib/database/myglico.db
E/flutter (18890): #0      PlatformAssetBundle.load 
E/flutter (18890): 
E/flutter (18890): #1      MyDb.initDb 
E/flutter (18890): 
E/flutter (18890): #2      MyDb.db 
E/flutter (18890): #3 
E/flutter (18890): #4      _GlicosePageState._formCreate. 
E/flutter (18890): #5      _InkResponseState._handleTap 
E/flutter (18890): #6 
E/flutter (18890): #7      GestureRecognizer.invokeCallback 
E/flutter (18890): #8      TapGestureRecognizer.handleTapUp 
E/flutter (18890): #9      BaseTapGestureRecognizer._checkUp 
E/flutter (18890): #10     BaseTapGestureRecognizer.handlePrimaryPointer 

iis 7.5 – Can IIS be configured to provide a preferred content type but also to match another Accept header?

I have an older IIS system that provides * .js files with the content type "Text / Javascript". It is an LMS (Learning Management System) that allows clients to submit third-party course modules that add pages to the server. One of these modules requests its JavaScript pages with an Accept header from "application / javascript", in which a 406 error occurs.

The content type "application / javascript" is the current modern standard, but it is possible that existing courses have similar requirements with an Accept header of "text / javascript". Therefore, the content type of my server may be changed for * .js break change.

Is it possible to configure the server to use "application / javascript" as the default content type but to replace it with "text / javascript" when sending an acceptance header that prefers or requires this?

Block size larger than configured

We have a Sharded Mongo cluster. We configured the block size to 256MB, but it's ~ 1.5GB each. There are no jumbo pieces because our shard key is well balanced (we also looked specifically for them).
What can be the cause of larger than configured block sizes? And what can I do to share them automatically?

8 – Site cannot be configured when setting up Drupal

I installed MAMP and Drupal 8 on my Windows 10 computer.

I can successfully set up the database and installed modules, but I get the following error when setting up the site.

Call a member function setRecipients () to null in standard_form_install_configure_submit () (line 25 of core profile standard standard.profile).
standard_form_install_configure_submit (array, object)

magento2.2.2 – Braintree API Client configured incorrectly: The analyse.url provided in the gateway configuration is invalid

I'm not sure where that comes from, but as of today my sandbox spits out this error. has anyone experienced this? What is the problem?

I can see that the domain was never a problem especially with sandbox due to the allowed domain:

if ( && !isAllowedDomain( {
throw new Error('Braintree API Client Misconfigured: the analytics.url provided in the gateway configuration is invalid.');


cron – How should the daily updated cron job be configured?

For the longest time I have had a big performance problem in my Ubuntu VM because the CPU is 100% at a certain time every day, which indicates the backup process under which the shared directories are provided /mnt/hgfs than the problem. To find out what caused it, I did it

$ sudo lsof /mnt/hgfs/
(sudo) passord for myuser: 
find    20811 nobody    4r   DIR   0,45   327680 1644542 /mnt/hgfs/SharedData/Users/myuser/Pictures/Lightroom/Main Previews.lrdata/9

Then you will find the parents of it find Process:

$ sudo pstree -s -p 20811

So it was a cron job that caused this to be called updatedb, That's fine, I know updatedb has a configuration file with /etc/updatedb.conf and so I added /mnt/hgfs to the PRUNEPATHS variable and thought that would be it.

It turned out that it wasn't. The same problem kept popping up.

OK, so grab it /etc/cron.* I quickly discovered directories /etc/cron.daily/locateand this time I took a look and found that the script sets its own custom configuration, including PRUNEPATHS, It doesn't seem to consult /etc/updatedb.conf at all. It seems very confusing to me. What is the point of a configuration file that is not used in the daily updates? Now I have to hack a system provided file for this to work. That doesn't seem intuitive and is something I'm not used to from Ubuntu.

Could someone explain the logic here, alternatively how it was should work?

Can shared and VPS hosting be configured on one server?

Well, it really depends on how powerful your server is, but the answer is yes, you can.

You can set up a VPS for your shared hosting. Use the remaining server resources for more VPS.

If you run your shared hosting on a VPS, you can also save on licensing costs as these are usually cheaper for VPS.

What are the specifications of your current server?