ERROR: The “config.server” property is required and must be of type string

I’m facing the following error: I’m trying to do migrations through Azure Devops using sequelize-cli. Locally it works fine but i’ve been bashing my head against this error. my config.js looks as following: module.exports = { “development”: { “username”: process.env.SQL_USER, “password”: process.env.SQL_PASSWORD, “host”: process.env.SQL_SERVER, “dialect”: “mssql”, “dialectOptions”: { “options”: { “instanceName”: process.env.SQL_INSTANCE, “database”: process.env.SQL_DATABASE, “encrypt”:…

Details

Django logging is sending emails to admins only in debug mode

I opposite to what is documented in the Django Logging doc I am only getting admin emails when DEBUG = True. Here are my settings: LOGGING = { ‘version’: 1, ‘disable_existing_loggers’: False, ‘filters’: { ‘require_debug_false’: { ‘()’: ‘django.utils.log.RequireDebugFalse’, }, ‘require_debug_true’: { ‘()’: ‘django.utils.log.RequireDebugTrue’, }, }, ‘formatters’: { ‘verbose’: { ‘format’ : “[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s”,…

Details

Javascript event not working in epub file

<script> function getSelectedText() { var selectedText = ”; if (window.getSelection) { selectedText = window.getSelection(); } else if (document.getSelection) { selectedText = document.getSelection(); } else if (document.selection) { selectedText = document.selection.createRange().text; } else return; document.testform.selectedtext.value = selectedText; document.designMode = “on”; document.execCommand(“ForeColor”, false, “red”); document.designMode = “off”; } </script> I have a e-book in pdf format and…

Details

Ensure text remains visible during webfont load for google webfonts

Googlepagespeed insights is showing me to -“ensure Ensure text remains visible during webfont load” for google webfonts. Below is the code changes in have made to googlefonts.php file of my theme: echo “<link href='” . $http . “://fonts.googleapis.com/css?family=” . $headtype . “:” . $font_var . “&display=’swap” rel=’stylesheet’ type=’text/css’>”; But still facing the issue.Can someone help?…

Details

Filtering multiple inner join

I have the next query: SELECT courses.id as course_id, student_courses.student_id FROM courses INNER JOIN tutor_courses ON courses.id = tutor_courses.course_id INNER JOIN student_courses ON courses.id = student_courses.course_id INNER JOIN students ON students.id = student_courses.student_id WHERE tutor_courses.tutor_id = ‘201’ GROUP BY course_id,student_id; I get the next result: course_id, student_id ‘100’, ’30’ ‘104’, ’20’ ‘101’, ‘100’ ‘104’, ‘200’…

Details

Filtering multiple inner join

I have the next query: SELECT courses.id as course_id, student_courses.student_id FROM courses INNER JOIN tutor_courses ON courses.id = tutor_courses.course_id INNER JOIN student_courses ON courses.id = student_courses.course_id INNER JOIN students ON students.id = student_courses.student_id WHERE tutor_courses.tutor_id = ‘201’ GROUP BY course_id,student_id; I get the next result: course_id, student_id ‘100’, ’30’ ‘104’, ’20’ ‘101’, ‘100’ ‘104’, ‘200’…

Details