Successfully install the second CMS in the subdirectory now I have a problem with the rewrite rules

Field www.mymaindomain.com running CMS-1 and now I want to run the 2nd CMS in a subdirectory, for example [B] [url] www.mymaindomain …. | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1807138&goto=newpost

dnd 5th – Does the creature know it has been charmed if it successfully saves?

According to the description of the spell, the knowledge of creatures depends on the Charm state.

Of Charming person spelling, emphasis being where the text calls for Charm state:

the charm creature regards you as friendly acquaintance. When
the spell ends, the creature knows it was charm by you.

The spell description says that to know that you have been charmed, you must have experienced the Charm state. This is reinforced by the word was, which shows that the condition must have existed in the past. Not that the condition almost existed (you have made your backup), but this is indeed the case.

Spam prevention – Let spambots send the form successfully?

I am about to configure my HTML forms so that spam robots are caught and rejected.

I wonder .. Let's say that a spambot submits the form in a way that is not accepted.

Should I then leave the page with the form as it is, displaying the errors?
Or should I let the page change and not display the form?
(failure / success reporting).

If I let the spambot stay on the form page, it can more easily submit and try continuously with different data.

If I show the page displaying an error (maybe with a defined error header) but no longer the form, how would most spambots react to this?

When would he probably try again or leave the site?

What is the best way to report a bot about falling into traps?

Google has successfully indexed my sitemap, but displays 0 discovered URLs. How can I fix it?

About two weeks ago, I submitted my sitemap to my site's webmaster https://example.com. Its indexing was successful, but no unique URL was found. It shows 0 now. Three weeks have passed, but nothing has changed. I manually indexed each message.

Google has successfully indexed my sitemap, but the URLs have been discovered.

I recently about two weeks ago submitted the sitemap in my site's webmaster https://uzairch.com and its success index but there is no single URL discovered about its shows 0 now 3 weeks ago but nothing changes i have indexed my each post manually please help.

php – load BD successfully from ajax (pass a JSON)

I have a json that i intend to browse ajax to a file php, and in this my database is loaded, passing each element of the file json as a new row in the table.

ajax:

    var data = { 'data': JSON.stringify(arrayEventos) }

    $.ajax({
        type: 'POST',
        url: 'ajax/turnos.ajax.php',
        dataType: 'json',
        data: data,
        success: function(data, status, xhr) {
            alert("response was " + data);
        },
        error: function(xhr, status, errorMessage) {
            $("#debug").append("RESPONSE: " + xhr.responseText + ", error: " + errorMessage);
        }
    });

value of what I'm going through ajax

data = ({"title":"Agustin Guerra","start":"2020-03-13T09:00:00","end":"2020-03-13T10:00:00"},{"title":"Mariel Guerrieri","start":"2020-03-13T11:30:00","end":"2020-03-13T12:30:00"})

php where i get the variable data

data;


        $respuesta = ModeloTurnos::mdlActualizarTurnos($datos);

        return $respuesta;

    }

}

/*==============================
    ACTUALIZAR TURNOS
    ==============================*/
    if(isset($_POST("data"))){
        $turnos = new AjaxTurnos();
        $turnos -> data = $_POST("data");
        $turnos -> ajaxActualizarTurnos();
    }

php which saves in the database

static public function mdlActualizarTurnos($datos){

    $tabla = "turnos";
    $stmt1 = Conexion::conectar()->prepare("TRUNCATE $tabla");
    $stmt1->execute();

    $stmt = Conexion::conectar()->prepare("INSERT INTO $tabla(datos) VALUES (:datos)");

    $stmt->bindParam(":datos", $datos, PDO::PARAM_STR);


    if($stmt->execute()){
        return "ok";
    }else{
        return "error";
    }

    $stmt ->close();

    $stmt -> null;
}

What happens to me is that ALL the content of the data variable is saved in the database on one line:

ID:1 | DATOS: ({"title":"Agustin Guerra","start":"2020-03-13T09:00:00","end":"2020-03-13T10:00:00"},{"title":"Mariel Guerrieri","start":"2020-03-13T11:30:00","end":"2020-03-13T12:30:00"})

When what I need is that it is saved as follows:

ID:1 | DATOS: {"title":"Agustin Guerra","start":"2020-03-13T09:00:00","end":"2020-03-13T10:00:00"}
ID:2 | DATOS: {"title":"Mariel Guerrieri","start":"2020-03-13T11:30:00","end":"2020-03-13T12:30:00"}

I tried to put a foreach in it ajax.php but i have not been successful, any suggestion is welcome.

jsom – Why does my oListItem.get_id () return -1 even if executeQueryAsync successfully created a list item?

I have created a function which adds an oListItem with a few search columns as shown

    function on_click(){
        console.log("creating new assessment")
        var siteUrl = _spPageContextInfo.webAbsoluteUrl;
        var clientContext = new SP.ClientContext(siteUrl);
        var oList = clientContext.get_web().get_lists().getByTitle('AssessmentAnswersList'); 

        var itemCreateInfo = new SP.ListItemCreationInformation();
        var oListItem = oList.addItem(itemCreateInfo);

        var lookupCourse = new SP.FieldLookupValue();
        var lookupTrainee = new SP.FieldLookupValue();
        var lookupAssessment = new SP.FieldLookupValue();
        lookupCourse.set_lookupId(48); //selected ddl value
        lookupTrainee.set_lookupId(1132); //selected ddl value
        lookupAssessment.set_lookupId(21); //selected ddl value
        oListItem.set_item('Title', "Course Assessment Results"); //input val()
        oListItem.set_item('CourseName', lookupCourse);
        oListItem.set_item('AnswerBy', lookupTrainee);
        oListItem.set_item('AssessmentTaken', lookupAssessment);
        oListItem.set_item('TotalScore', 0); //input val()
        oListItem.set_item('NoOfAttempts', 1); //input val()

        console.log("Saving assessments...")
        //console.log(oListItem);   
        oListItem.update();

        clientContext.load(oListItem);

        clientContext.executeQueryAsync(Function.createDelegate(onSaveSucceeded(oListItem)), Function.createDelegate(onQueryFailed));
    }

    function onSaveSucceeded(item){
        var id = item.get_id();

        alert("Saved! The ID is: " + id + ' and ' + item.get_item('TotalScore'));
    }
    function onQueryFailed(){
        alert("Error");
    }

For some reason, onSaveSucceeded the functions item.get_id() always comes back -1, but when I check the list, the item has been created correctly. How to rectify this? I need the ID to continue treatment and I cannot understand why I am not receiving the correct ID.

amazon web services – Can I delete the snapshots and AMI in the zone zone after successfully copying the AMI in another zone?

I have created a FRIEND in an Asian area, ap-southeast-1.
The associated snapshot is saved and of course cannot be deleted.

I then copied this FRIEND to eu-west-1.

Can I somehow get rid of ap snapshots and FRIEND?
I noticed that the snapshot is also copied to the destination area, so it should be fine, but I can't find any documents about it.

unit – null reference on gameObject that was successfully referenced

It is exactly as the title says. I receive a null reference error even if I have correctly referenced the object. I have debugged my code to show that the result is still exactly what I need, but each time it is put into practice, the code returns an error.

                if(hit == true && canSee.transform.CompareTag("Unit"))
                {
                    //var Obehaviour = other.gameObject.transform.parent.gameObject.GetComponent().Health; <--- Error is here.
                    float Health = other.gameObject.transform.parent.gameObject.GetComponent().Health;
                    float fullHealth = other.gameObject.transform.parent.gameObject.GetComponent().MaxHealth;
                    //Debug.Log("Object " + other.gameObject.transform.parent.gameObject);
                    //Debug.Log("Component and name " + Obehaviour.Name);
                    ReferenceScript.GetComponent(other.gameObject.transform.parent.gameObject);
                    if(Health < fullHealth)
                    {
                        if(fullHealth - Health < Ubehaviour.supplies)
                        {
                            Health += Ubehaviour.supplyTransferRate;
                            Health = Mathf.Clamp(Health, 0, fullHealth);
                            other.gameObject.transform.parent.gameObject.GetComponent().UpdateHealth();
                            Ubehaviour.supplies -= Ubehaviour.supplyTransferRate;
                            Ubehaviour.supplies = Mathf.Clamp(Ubehaviour.Health, 0, Ubehaviour.maxSupplies);
                            Ubehaviour.LoseSupplies();
                        }
                        else
                        {
                            return;
                        }

                    }
                }

As stated in the code above, I tried to get the values ​​I need by storing them in variables other than caching the entire class. But it didn't work either. What's wrong? The debugging below also works perfectly.

How to successfully delete the class ** in c ++?

class vertice{
public:
    int id;
    int juntadoCon = -1;
    ~vertice() {}
};

class grafoKarger{
private:
    int nv;
    vertice **vertices;
public:
   ~grafoKarger(){
        for(int i = 0; i < nV; ++i){
            if(vertices(i) != nullptr){
                delete vertices(i);
            }
        }
        delete ()vertices;
    }
};

Destroyer does not work with ** vertices (pointer vector, no matrix)
To eliminate for example the class *, a simple delete () pointer is worth it, but here I tried both the delete vertices (i) and delete () vertices (i) loop and nothing
What am i doing wrong?