Error message every time I tried to invite friends to my business page!

Hi All,

As the title says I get an Error message every time I tried to invite friends to my business page.

I’ve had this since I launched the page therefore haven’t been able to invite anyone which obviously means I’m missing out on potential customers!
SEMrush

I’ve attached an image of the message I get below.

Thanks in advance for any help!

Facebook error.PNG

 

web hosting – Error 403 returned

What do I need to do in order to avoid the message below?
I am hosting my first website site on GoDaddy. I did so watching the video here.

I ran a tiny bit of HTML as shown below:

<!DOCTYPE html>
<html>
<h1>
    Hello
</h1>
</html>

I go to the domain name mathtyper.com that I recently purchased through GoDaddy, and I get the following message.

enter image description here

security – Why php-reverse-shell brings an error on Drupal 7

I am new learning Security with this CTF Challenge from VULNHUB but when i run my php-reverse-shell on a target host I get the below error from Drupal . What is the cause of this

Notice: Undefined variable: daemon in printit() (line 184 of /var/www/html/modules/php/php.module(80) : eval()'d code).
Warning: fsockopen(): unable to connect to 192.xx.xx.xx:1234 (Connection timed out) in eval() (line 100 of /var/www/html/modules/php/php.module(80) : eval()'d code).
Notice: Undefined variable: daemon in printit() (line 184 of /var/www/html/modules/php/php.module(80) : eval()'d code).

web hosting – How to Webhost – Beginner? (Error Message)

What do I need to do in order to avoid the message below?
I am hosting my first website site on GoDaddy. I did so watching the video here.

I ran a tiny bit of HTML as shown below:

<!DOCTYPE html>
<html>
<h1>
    Hello
</h1>
</html>

I go to the domain name mathtyper.com that I recently purchased through GoDaddy, and I get the following message.

enter image description here

magento2 – Magento 2 Error During Update Module Via Composer

 magento/product-community-edition is locked to version 2.4.1 and an update of this package was not requested.
- magento/product-community-edition 2.4.1 requires magento/module-configurable-product 100.4.1 -> found magento/module-configurable-product[100.4.1] but it conflicts with another require.

Please help me about this

php – error inserting comment with AMP ajax

I found this code on the web but it gives me a 500 error when trying to insert a comment using AMP:

> xhr-impl.js:86 POST
> https://grama-cesped.com/wp-admin/comen2.php?action=amp_comment_submit&__amp_source_origin=https%3A%2F%2Fgrama-cesped.com 500 (anonymous) @ xhr-impl.js:86 Promise.then (async) g.xg @
> xhr-impl.js:75 vg @ xhr-impl.js:105 g.fetch @ xhr-impl.js:181
> push.f.m.ca @ amp-form.js:967 Ic @ amp-form.js:926 (anonymous) @
> amp-form.js:708 Promise.then (async) (anonymous) @ amp-form.js:667
> Promise.then (async) wc @ amp-form.js:662 (anonymous) @
> amp-form.js:522 Promise.then (async) push.f.m.Ea @ amp-form.js:378 Qf
> @ action-impl.js:733 g.execute @ action-impl.js:449 Lh @
> document-submit.js:164 log.js:258 (amp-form) Form submission failed:
> Error: HTTP error 500​​​
>     at jb (https://cdn.ampproject.org/v0.js:30:169)
>     at db.g.createError (https://cdn.ampproject.org/v0.js:25:149)
>     at https://cdn.ampproject.org/v0.js:141:399
>     at new Promise (<anonymous>)
>     at tg (https://cdn.ampproject.org/v0.js:141:334)
>     at https://cdn.ampproject.org/v0.js:143:276
<form method="post" id="commentform" target="_top" class="comment-form" novalidate="" action-xhr="<?php echo admin_url('comentario.php?action=amp_comment_submit') ?>" target="_top">
 
    <label for="comment">Comment</label> 
    <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" aria-required="true" required="required"></textarea>
  </p>
  <p class="comment-form-author">
    <label for="author">Name <span class="required">*</span></label> 
    <input id="author" name="author" type="text" value="" maxlength="245" aria-required="true" required="required" />
  </p>
  <p class="form-submit">
    <input name="submit" type="submit" id="submit" class="submit" value="Post Comment" />
    <input type="hidden" name="comment_post_ID" value="1" id="comment_post_ID" /><br/>
    <input type="hidden" name="comment_parent" id="comment_parent" value="0" />
  </p>
  <div submit-error>
    <template type="amp-mustache">
      {{msg}}
    </template>
  </div>
</form>

comentario.php :

 <?php 
    function amp_comment_submit(){
      $comment = wp_handle_comment_submission( wp_unslash( $_POST ) );
      if ( is_wp_error( $comment ) ) {
        $data = intval( $comment->get_error_data() );
        if ( ! empty( $data ) ) {
          status_header(500);
          wp_send_json(array('msg' => $comment->get_error_message(),
                            'response' => $data, 
                            'back_link' => true ));
        }
      }
      else {
        @header('AMP-Redirect-To: '. get_permalink($_POST('comment_post_ID')));
        @header('AMP-Access-Control-Allow-Source-Origin: ' . $_REQUEST('__amp_source_origin') );
        wp_send_json(array('success' => true));
      }
    }
    add_action('wp_ajax_amp_comment_submit', 'amp_comment_submit');
    add_action('wp_ajax_nopriv_amp_comment_submit', 'amp_comment_submit');

I would appreciate your help

sql server – Error converting data type varchar to numeric

I keep getting this error and I dont understand why. I checked all CONVERT functions but not sure where is the issue.

Msg 8114, Level 16, State 5, Line 1
Error converting data type varchar to numeric.

This is the query and you can see Line 1 does not have any type of conversion.

SELECT 
  'Entity Code|Department Code|Job Code|Pay Code|Pay Period Code|Employee Code|Fiscal Year|Time 
  Class|Unit Type|Amount|Home Entity Code|Home Department|Pay Period End Date' AS PRL_HEADERR
UNION ALL SELECT       
  (ISNULL(RTRIM(LTRIM(RIGHT(REPLICATE(0, 4) + SUB.DIST_COMPANY, 4))), '')    
  + '|' + ISNULL(RTRIM(LTRIM(RIGHT(REPLICATE(0, 4) + SUB.DST_ACCT_UNIT2, 4))), '')   
  + '|' + ISNULL((SUB.JOB_CODE2), '')                      
  + '|' + ISNULL((SUB.PAY_CODE2), '')                      
  + '|' + ISNULL((SUB2.PAYPERIOD), '')                     
  + '|' + ISNULL(
      (CASE WHEN SUBSTRING(RIGHT(REPLICATE(0, 7) + SUB.EMPLOYEE, 7),1,1)='0' 
      THEN SUBSTRING(RIGHT(REPLICATE(0, 7) + SUB.EMPLOYEE, 7),2,LEN(RIGHT(REPLICATE(0, 7) + 
      SUB.EMPLOYEE, 7))) 
      ELSE RIGHT(REPLICATE(0, 7) + SUB.EMPLOYEE, 7) END), '')    
  + '|' +       ISNULL((SUB.FISCAL_YEAR), '')                    
  + '|' +       ISNULL((SUB.TIME_CLASS), '')                     
  + '|' +       ISNULL((SUB.UNIT_TYPE), '')                      
  + '|' +       ISNULL((SUB.UNIT_VALUE), '')                     
  + '|' +       ISNULL(HOME_ENTITY_CODE, '')                     
  + '|' +       ISNULL(HOME_DEPARTMENT, '')                     
  + '|' +     ISNULL(PAY_PER_END_DATE, ''))  AS PRL_HEADER
FROM
 (
  SELECT
     TOP 100 PERCENT DIST_COMPANY,
     LTRIM(RTRIM(DST_ACCT_UNIT)) AS DST_ACCT_UNIT2,
     LTRIM(RTRIM(JOB_CODE)) AS JOB_CODE2,
     LTRIM(RTRIM(PAY_CODE)) AS PAY_CODE2,
     PER_END_DATE,
     EMPLOYEE,
     (CONVERT(VARCHAR(4), GL_DATE, 112)) AS FISCAL_YEAR,
     'A' AS TIME_CLASS,
     'Hours' AS UNIT_TYPE,
     HOURS AS UNIT_VALUE,
     COMPANY AS HOME_ENTITY_CODE,
     LTRIM(RTRIM(HM_ACCT_UNIT)) AS HOME_DEPARTMENT,
     CONVERT(VARCHAR(8), PER_END_DATE,112) AS PAY_PER_END_DATE 
  FROM
     TEST_TABLE
  WHERE
     (
        GL_DATE >= CAST('20200101' AS DATETIME)
        AND GL_DATE <= CAST('20201231' AS DATETIME)
     )
  UNION ALL
  SELECT TOP 1000
     DIST_COMPANY,
     LTRIM(RTRIM(DST_ACCT_UNIT)) AS DST_ACCT_UNIT2,
     LTRIM(RTRIM(JOB_CODE)) AS JOB_CODE2,
     LTRIM(RTRIM(PAY_CODE)) AS PAY_CODE2,
     PER_END_DATE,
     EMPLOYEE,
     (CONVERT(VARCHAR(4), GL_DATE, 112)) AS FISCAL_YEAR,
     'A' AS TIME_CLASS,
     'Amount' AS UNIT_TYPE,
     WAGE_AMOUNT AS UNIT_VALUE,
     COMPANY AS HOME_ENTITY_CODE,
     LTRIM(RTRIM(HM_ACCT_UNIT)) AS HOME_DEPARTMENT,
     CONVERT(VARCHAR(8), PER_END_DATE,112) AS PAY_PER_END_DATE 
  FROM
     TEST_TABLE
  WHERE
     (
        GL_DATE >= CAST('20200101' AS DATETIME)
        AND GL_DATE <= CAST('20201231' AS DATETIME)
     )
  ORDER BY
     EMPLOYEE,
     PER_END_DATE 
 )
 AS SUB 
 INNER JOIN
  (
     SELECT
        ROW_NUMBER() OVER (ORDER BY PP_END_DATE) AS ROWNUM,
        SUB3.PP_END_DATE,
        (
           (CONVERT(VARCHAR(4), SUB3.PP_END_DATE, 112) + '-') + ROWNUM
        )
        AS PAYPERIOD
     FROM
        (
           SELECT DISTINCT
              TOP 100 PERCENT PER_END_DATE AS PP_END_DATE 
           FROM
              TEST_TABLE
           WHERE
              (
                 PER_END_DATE >= CAST('20200101' AS DATETIME)
                 AND PER_END_DATE <= CAST('20201231' AS DATETIME) 
              )
           ORDER BY
              PER_END_DATE 
        )
        AS SUB3 
  )
  AS SUB2 
  ON SUB2.PP_END_DATE = SUB.PER_END_DATE

nodejs – Nodemailer – Error: Invalid greeting. response=* OK [CAPABILITY IMAP4rev1 UNSELECT ID CHILDREN NAMESPACE IDLE UIDPLUS STARTTLS AUTH=PLAIN]

Estoy tratando de enviar un correo tras recibir el formulario de contacto pero me da un error estoy usando node js y el modulo nodemailer y segun yo todo debería estar bien pero me da un error.

Este es el error de consola:
Este es el error de consola

Código JS:

    let { name, lastname, email, quest } = req.body;
    contentHTML = `
        <h1>User Information</h1>
        <ul>
            <li>Username: ${name}</li>
            <li>User lastname: ${lastname}</li>
            <li>User correo: ${email}</li>
        </ul>
        <p>${quest}</p>
    `;

    let transporter = nodemailer.createTransport({
        host: 'imap.secureserver.net',
        port: 143,
        secure: false,
        auth: {
            user: config.email,
            pass: config.pass
        },
        tls: {
            rejectUnauthorized: false
        }
    });
    await transporter.sendMail({
        from: `"Team" <${config.email}>`, 
        to: `${email}`,
        subject: 'Solicitud',
        html: contentHTML,
        text: "is a test"
    })

c++ – Thrust thrust::system::tbb::par Compiling Error

I’m new to CUDA programming. Since memory allocation time is very high, I’m trying to use Thrust with lambda function in the .cpp file. My question is about execution policy of Thrust.

If I use thrust::system::cpp::par as an execution policy, the codes below works well, but when I try to use thrust::system::tbb::par, I get compiling error:

/usr/bin/ld: CMakeFiles/darknet_ros_msgs.dir/src/camera_projection.cpp.o: undefined reference to symbol '_ZN3tbb18task_group_contextD1Ev'
//usr/lib/x86_64-linux-gnu/libtbb.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/darknet_ros_msgs.dir/build.make:487: recipe for target 'devel/lib/darknet_ros_msgs/darknet_ros_msgs' failed
make(3): *** (devel/lib/darknet_ros_msgs/darknet_ros_msgs) Error 1
CMakeFiles/Makefile2:275: recipe for target 'CMakeFiles/darknet_ros_msgs.dir/all' failed
make(2): *** (CMakeFiles/darknet_ros_msgs.dir/all) Error 2
CMakeFiles/Makefile2:282: recipe for target 'CMakeFiles/darknet_ros_msgs.dir/rule' failed
make(1): *** (CMakeFiles/darknet_ros_msgs.dir/rule) Error 2
Makefile:195: recipe for target 'darknet_ros_msgs' failed
make: *** (darknet_ros_msgs) Error 2

My codes:

thrust::host_vector<bool> vec_in_image_bool(N);

Cloud::Ptr result_cloud(new Cloud);

auto ff = (this,img_width, img_height, mat_point_transformer, interested_detections, id, result_cloud)(const Point &p) -> bool {

    const double& distance = sqrt(pow(p.x, 2) + pow(p.y, 2));

    if (distance <= 0.2)
        return false;

    double r0 = mat_point_transformer.matrix().coeff(0,0) * p.x + mat_point_transformer.matrix().coeff(0,1) * p.y
                + mat_point_transformer.matrix().coeff(0,2) * p.z + mat_point_transformer.matrix().coeff(0,3) * 1;
    double r1 = mat_point_transformer.matrix().coeff(1,0) * p.x + mat_point_transformer.matrix().coeff(1,1) * p.y
                + mat_point_transformer.matrix().coeff(1,2) * p.z + mat_point_transformer.matrix().coeff(1,3) * 1;
    double r2 = mat_point_transformer.matrix().coeff(2,0) * p.x + mat_point_transformer.matrix().coeff(2,1) * p.y
                + mat_point_transformer.matrix().coeff(2,2) * p.z + mat_point_transformer.matrix().coeff(2,3) * 1;

    if (r2 <= 0)
        return false;

    int point_in_image_x = (int) (r0 / r2);
    int point_in_image_y = (int) (r1 / r2);


    if (point_in_image_x < 0|| point_in_image_y < 0 || point_in_image_x >= img_width || point_in_image_y >= img_height)
        return false;

    //result_cloud->points.push_back(p);

    for (size_t j = 0; j < interested_detections.detections.size(); ++j)
    {

        const auto &detection = interested_detections.detections(j);
        auto bbox = detection.bbox;

        const auto &bbox_orig = bbox;
        auto new_bbox = bbox;

        float scale_factor;
        if (id == 8 || id == 9) {
            scale_factor = 1.0;
        } else {
            scale_factor = 1.66666;
        }

        new_bbox.center.x *= scale_factor;
        new_bbox.center.y *= scale_factor;
        new_bbox.size_x *= scale_factor;
        new_bbox.size_y *= scale_factor;

        double re_align_size = 5;

        double x_min = new_bbox.center.x - new_bbox.size_x / 2;
        x_min = ((x_min - re_align_size) >= 0 ? (x_min - re_align_size) : 0);
        double x_max = new_bbox.center.x + new_bbox.size_x / 2;
        x_max = ((x_max + re_align_size) >= img_width ? img_width : (x_max + re_align_size));
        double y_min = new_bbox.center.y - new_bbox.size_y / 2;
        y_min = ((y_min - re_align_size) > 0 ? (y_min - re_align_size) : 0);
        double y_max = new_bbox.center.y + new_bbox.size_y / 2;
        y_max = ((y_max + re_align_size) > img_height ? img_height : (y_max + re_align_size));

        bool in_detection = point_in_image_x > x_min &&
                point_in_image_y > y_min &&
                point_in_image_x < x_max &&
                point_in_image_y < y_max;

        if(in_detection)
            result_cloud->points.push_back(p);
    }

    return true;
};

thrust::transform(thrust::system::tbb::par,cloud_in->points.begin(),cloud_in->points.end(),vec_in_image_bool.begin(),ff);

java – Connection error sql remote communications link Failure g cloud

Hello at all I try to connect through a server Tomcat hosted on google cloud to my host DB (Green Geek) I have donats created two rule firewall between /out on google is one on GreenGreek for the sql Distant cepandant after multiple attempt the system answers me:
Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
I attach my java ee code

private Connection appelBD(String dataBase, String user, String motDePasse) {
    Connection connection = null;

    try {
        Class.forName("com.mysql.cj.jdbc.Driver");
    } catch (ClassNotFoundException e1) {

        modelI18n = new ModelI18n();
        modelI18n.setName(e1.getMessage());
        modelI18n.setUrl(e1.getLocalizedMessage());

        e1.printStackTrace();
    }
    try {
        connection = DriverManager.getConnection("jdbc:mysql://184.154.119.210:3306/" + dataBase, user, motDePasse);
        /*
         * MysqlDataSource ds = new MysqlDataSource(); ds.setDatabaseName(dataBase);
         * ds.setUser(user); ds.setPassword(motDePasse);
         * ds.setServerName("184.154.119.210"); ds.setServerTimezone("UTC");
         * ds.setPort(3306);
         */
        return connection;
    } catch (Exception e) {

        modelI18n2 = new ModelI18n();
        modelI18n2.setName(e.getMessage());
        modelI18n2.setUrl(e.getLocalizedMessage());

        return null;
    }
}

would have leads to help me thank you in advance