Pagina 2 di 2 PrimoPrimo 12
Visualizzazione risultati 31 fino 53 di 53
Like Tree4Likes

Discussione: Traceroute script da Altervista ad altro sito

  1. #31
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Tecnicamente non so cosa risponderti.... non c'è nulla di quello che puoi servirti a darti un idea nei post precedenti?

    Questo è quello di pubblicizza IPB, ma penso che non ti aiuti

    http://www.invisionpower.com/services/spam-monitor

    Se vuoi prova a formulare una domanda precisa, meglio se direttamente in inglese, la "giro" all'assistenza di IPB

    Altrimenti, ma mi devi dare il permesso, vi metto in contatto diretto in qualche modo...

  2. #32
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Ciao

    Ieri il supporto di IPB mi ha mandato questa mail:

    If we do not receive a response within the next 48 hours we will assume the matter is resolved.
    If this is not the case, please respond to your support request so we can look into the matter further.


    Io non so ancora cosa devo rispondere....

  3. #33
    L'avatar di Gianluca
    Gianluca non è connesso Amministratore
    Data registrazione
    15-02-2001
    Messaggi
    18,035

    Predefinito

    Altrimenti, ma mi devi dare il permesso, vi metto in contatto diretto in qualche modo...
    Lo puoi fare dando il riferimento che a suo tempo ti aveva contattato, fermo restando che non è detto che la questione sia risolvibile in qualche modo da AlterVista e che il tutto va molto oltre il supporto previsto, che non riguarda gli applicativi installati.
    Ultima modifica di Gianluca : 18-11-2013 alle ore 13.09.57
    Gianluca

  4. #34
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Ti ringrazio lo stesso, la cosa è troppo complessa sia da una parte che dall'altra e a questo punto rimetto tutto di nuovo in standby considerato che non è un errore bloccante, ma solo un "fastidio" nel vedere questo alert nel pannello di controllo.

    So già che la prossima volta che ricontatterò il servizio di IPB mi rifaranno le stesse domande... vedremo, dai!

    Per adesso ti ringrazio
    Ultima modifica di BMWS1VC : 18-11-2013 alle ore 16.16.29

  5. #35
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Buongiorno a tutti

    Scusate se riprendo questa discussione, ma ci risiamo di nuovo e se non si trova una soluzione sarò "costretto" a lasciare Altervista per mettere il mio DB su Invision Power Board.

    Stavo provando l'aggiornamento del mio forum su IPB dalla versione 3.x alla 4.1 e la cosa è fatta manualmente dal supporto di IPB

    Funzionato tutto, tranne che ancora fanno riferimento allo stesso problema di questa discussione ( ticket 873921 )

    Hello,

    Unfortunately, we are unable to complete your upgrade. The call to verify your license is failing, due to the same reason I outlined in ticket 873921.

    Any cURL request that is made, using SSL, from the server is returning two sets of headers. As such, this is causing the license verification to fail. I have set up a test script here, which outlines the issue.

    http://bmws1vc.alter...um/curltest.php

    I would recommend contacting your host regarding this issue, as it appears to be a server side problem.

    For now, however, I have restored the IP.Board 3.4.x files so the site is online again. Once this issue has been resolved, we can proceed with the upgrade.

    Regards,

    Ryan Ashbrook
    Invision Power Services, Inc.





    Il link porta a questo:

    string(649) "HTTP/1.1 200 OK
    Date: Thu, 11 Aug 2016 08:00:26 GMT
    Transfer-Encoding: chunked
    Server: Apache

    HTTP/1.1 200 OK
    Date: Thu, 11 Aug 2016 08:00:26 GMT
    Server: Apache
    X-Powered-By: PHP/5.6.16
    Transfer-Encoding: chunked
    Content-Type: application/json

    {
    "key": "1375867602-464876-240428-9827891452",
    "url": "http:\/\/bmws1vc.altervista.org\/forum",
    "test_url": "",
    "active": true,
    "cloud": false,
    "expires": "2017-02-17 21:52:46",
    "products": {
    "forums": true,
    "calendar": true,
    "spam": true
    },
    "chat_limit": 5,
    "support": "Standard",
    "account": 464876,
    "legacy": false
    }"

  6. #36
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Su AlterVista le richieste HTTP esterne passano per un proxy, e per come funziona cURL gli header di risposta del proxy non vengono omessi. L'unico modo per risolvere è modificare il file del CMS in modo da rimuovere il primo insieme di header. Riporta qua il contenuto del file in cui vengono richiamate le funzioni cURL in modo che ti possa indicare come modificarlo.
    BMWS1VC likes this.

  7. #37
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    Su AlterVista le richieste HTTP esterne passano per un proxy, e per come funziona cURL gli header di risposta del proxy non vengono omessi. L'unico modo per risolvere è modificare il file del CMS in modo da rimuovere il primo insieme di header. Riporta qua il contenuto del file in cui vengono richiamate le funzioni cURL in modo che ti possa indicare come modificarlo.
    Io ti ringrazio tantissimo per la risposta!!!

    Però io sono "ignorante" in materia, mi puoi spiegare dove lo trovo questo file in modo da copia/incollarlo qui?

    Non vorrei fare danni o far vedere il file sbagliato

  8. #38
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    In una vecchia versione si chiamava system/Http/Request/Curl.php, dovrebbe essere ancora sotto quel nome.
    BMWS1VC likes this.

  9. #39
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    In una vecchia versione si chiamava system/Http/Request/Curl.php, dovrebbe essere ancora sotto quel nome.
    Trovato grazie!

    Te lo copio/incollo in 2 parti perchè è troppo lungo (max 10000 caratteri e sono 10730)

  10. #40
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    In una vecchia versione si chiamava system/Http/Request/Curl.php, dovrebbe essere ancora sotto quel nome.
    Trovato, grazieeeee!

    Ecco sotto il contenuto copia/incollato:

    Codice PHP:
    <?php
    /**
    * @brief cURL REST Class
    * @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
    * @copyright (c) 2001 - 2016 Invision Power Services, Inc.
    * @license [url]http://www.invisionpower.com/legal/standards/[/url]
    * @package IPS Community Suite
    * @since 18 Mar 2013
    * @version SVN_VERSION_NUMBER
    */

    namespace IPS\Http\Request;

    /* To prevent PHP errors (extending class does not exist) revealing path */
    if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
    {
    header( ( isset( $_SERVER['SERVER_PROTOCOL'] ) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0' ) . ' 403 Forbidden' );
    exit;
    }

    /**
    * cURL REST Class
    */
    class _Curl
    {
    /**
    * @brief URL
    */
    protected $url = NULL;

    /**
    * @brief Curl Handle
    */
    protected $curl = NULL;

    /**
    * @brief Has the Content-Type header been set?
    * @note Because cURL will automatically set the Content-Type header to multipart/form-data if we send a POST request with an array, we need to change it to a string if we want to send a different Content-Type
    * @see <a href='http://www.php.net/manual/en/function.curl-setopt.php'>PHP: curl_setopt - Manual</a>
    */
    protected $modifiedContentType = FALSE;

    /**
    * @brief HTTP Version
    */
    protected $httpVersion = '1.1';

    /**
    * @brief Timeout
    */
    protected $timeout = 5;

    /**
    * @brief Follow redirects?
    */
    protected $followRedirects = TRUE;

    /**
    * @brief Data sent
    */
    protected $dataForLog = NULL;

    /**
    * Contructor
    *
    * @param \IPS\Http\Url $url URL
    * @param int $timeout Timeout (in seconds)
    * @param string $httpVersion HTTP Version
    * @param bool|int $followRedirects Automatically follow redirects? If a number is provided, will follow up to that number of redirects
    * @return void
    */
    public function __construct( $url, $timeout=5, $httpVersion=NULL, $followRedirects=TRUE )
    {
    /* Init */
    $this->url = $url;
    $this->curl = curl_init();
    $this->httpVersion = $httpVersion ?: '1.1';
    $this->timeout = $timeout;
    $this->followRedirects = $followRedirects;

    /* Need to adjust if this is FTP */
    $user = null;
    $pass = null;

    if( isset(
    $this->url->data['scheme'] ) AND $this->url->data['scheme'] == 'ftp' )
    {
    if( isset(
    $this->url->data['user'] ) AND $this->url->data['user'] AND isset( $this->url->data['pass'] ) AND $this->url->data['pass'] )
    {
    $user = $this->url->data['user'];
    $pass = $this->url->data['pass'];

    $this->url->data['user'] = null;
    $this->url->data['pass'] = null;
    $this->url = $this->url->setFragment( null );
    }

    /* Set our basic settings */
    curl_setopt_array( $this->curl, array(
    CURLOPT_HEADER => TRUE, // Specifies that we want the headers
    CURLOPT_RETURNTRANSFER => TRUE, // Specifies that we want the response
    CURLOPT_SSL_VERIFYPEER => FALSE, // Specifies that we don't need to validate the SSL certificate, if applicable (causes issues with, for example, API calls to CPanel in Nexus)
    CURLOPT_TIMEOUT => $timeout, // The timeout
    CURLOPT_URL => (string) $this->url, // The URL we're requesting
    ) );

    /* Need to set user and pass if this is FTP */
    if( $user !== null AND $pass !== null )
    {
    curl_setopt( $this->curl, CURLOPT_USERPWD, $user . ':' . $pass );
    }
    }
    else
    {
    /* Work out HTTP version */
    if( $httpVersion === null )
    {
    $version = curl_version();

    /* Before 7.36 there are some issues handling chunked-encoded data */
    if( version_compare( $version['version'], '7.36', '>=' ) )
    {
    $httpVersion = '1.1';
    }
    else
    {
    $httpVersion = '1.0';
    }
    }

    $httpVersion = ( $httpVersion == '1.1' ? CURL_HTTP_VERSION_1_1 : CURL_HTTP_VERSION_1_0 );

    /* Set our basic settings */
    curl_setopt_array( $this->curl, array(
    CURLOPT_HEADER => TRUE, // Specifies that we want the headers
    CURLOPT_HTTP_VERSION => $httpVersion, // Sets the HTTP version
    CURLOPT_RETURNTRANSFER => TRUE, // Specifies that we want the response
    CURLOPT_SSL_VERIFYPEER => FALSE, // Specifies that we don't need to validate the SSL certificate, if applicable (causes issues with, for example, API calls to CPanel in Nexus)
    CURLOPT_TIMEOUT => $timeout, // The timeout
    CURLOPT_URL => (string) $this->url, // The URL we're requesting
    ) );
    }
    }

    /**
    * Destructor
    *
    * @return void
    */
    public function __destruct()
    {
    curl_close( $this->curl );
    }

    /**
    * Login
    *
    * @param string $username Username
    * @param string $password Password
    * @return \IPS\Http\Request\Curl
    */
    public function login( $username, $password )
    {
    curl_setopt_array( $this->curl, array(
    CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
    CURLOPT_USERPWD => "{$username}:{$password}"
    ) );

    return
    $this;
    }

    /**
    * Set Headers
    *
    * @param array $headers Key/Value pair of headers
    * @return \IPS\Http\Request\Curl
    */
    public function setHeaders( $headers )
    {
    $extra = array();

    foreach (
    $headers as $k => $v )
    {
    switch (
    $k )
    {
    case
    'Cookie':
    curl_setopt( $this->curl, CURLOPT_COOKIE, $v );
    break;

    case
    'Accept-Encoding':
    curl_setopt( $this->curl, CURLOPT_ENCODING, $v );
    break;

    case
    'Referer':
    curl_setopt( $this->curl, CURLOPT_REFERER, $v );
    break;

    case
    'User-Agent':
    curl_setopt( $this->curl, CURLOPT_USERAGENT, $v );
    break;

    default:
    if (
    $k === 'Content-Type' )
    {
    $this->modifiedContentType = TRUE;
    }
    $extra[] = "{$k}: {$v}";
    break;
    }
    }

    if ( !empty(
    $extra ) )
    {
    curl_setopt( $this->curl, CURLOPT_HTTPHEADER, $extra );
    }

    return
    $this;
    }


    /**
    * Toggle SSL checks
    *
    * @param boolean $value True will enable SSL checks, false will disable them
    * @return \IPS\Http\Request\Socket
    */
    public function sslCheck( $value=TRUE )
    {
    curl_setopt_array( $this->curl, array(
    CURLOPT_SSL_VERIFYHOST => ( $value ) ? 2 : FALSE,
    CURLOPT_SSL_VERIFYPEER => (boolean) $value
    ) );

    return
    $this;
    }

    /**
    * HTTP GET
    *
    * @return \IPS\Http\Response
    * @throws \IPS\Http\Request\CurlException
    */
    public function get()
    {
    /* Specify that this is a GET request */
    curl_setopt( $this->curl, CURLOPT_HTTPGET, TRUE );
    $this->dataForLog = NULL;

    /* Execute */
    $response = $this->_execute();

    /* Either return it or follow it */
    if ( $this->followRedirects and in_array( $response->httpResponseCode, array( 301, 302, 303, 307, 308 ) ) )
    {
    $newRequest = \IPS\Http\Url::external( $response->httpHeaders['Location'] )->request( $this->timeout, $this->httpVersion, is_int( $this->followRedirects ) ? ( $this->followRedirects - 1 ) : $this->followRedirects );
    return
    $newRequest->get();
    }
    return
    $response;
    }

    /**
    * HTTP POST
    *
    * @param mixed $data Data to post (can be array or string)
    * @return \IPS\Http\Response
    * @throws \IPS\Http\Request\CurlException
    */
    public function post( $data=NULL )
    {
    /* Specify that this is a POST request */
    curl_setopt( $this->curl, CURLOPT_POST, TRUE );

    /* Set the data */
    curl_setopt( $this->curl, CURLOPT_POSTFIELDS, $this->_dataToSend( $data ) );

    /* Execute */
    return $this->_executeAndFollowRedirects( 'POST', $data );
    }

    /**
    * HTTP HEAD
    *
    * @return \IPS\Http\Response
    * @throws \IPS\Http\Request\CurlException
    */
    public function head()
    {
    /* Specify the request method */
    curl_setopt( $this->curl, CURLOPT_CUSTOMREQUEST, 'HEAD' );

    /* For HEAD requests, do not try to fetch the body or curl times out */
    curl_setopt( $this->curl, CURLOPT_NOBODY, true );

    /* Execute */
    return $this->_executeAndFollowRedirects( 'HEAD', array() );
    }

    /**
    * Magic Method: __call
    * Used for other HTTP methods (like PUT and DELETE)
    *
    * @param string $method Method (A HTTP method)
    * @param array $params Parameters (a single parameter with data to post, which can be an array or a string)
    * @return \IPS\Http\Response
    * @throws \IPS\Http\Request\CurlException
    */
    public function __call( $method, $params )
    {
    /* Specify the request method */
    curl_setopt( $this->curl, CURLOPT_CUSTOMREQUEST, mb_strtoupper( $method ) );

    /* If we have any data to send, set it */
    if ( isset( $params[0] ) )
    {
    curl_setopt( $this->curl, CURLOPT_POSTFIELDS, $this->_dataToSend( $params[0] ) );
    }

    /* Execute */
    return $this->_executeAndFollowRedirects( mb_strtoupper( $method ), $params );
    }

    /**
    * Data to send
    *
    * @param mixed $data Data to post (can be array or string)
    * @return mixed
    */
    protected function _dataToSend( $data=NULL )
    {
    $this->dataForLog = $data;
    if ( !
    $this->modifiedContentType and is_array( $data ) )
    {
    $data = http_build_query( $data, '', '&' );
    }
    return
    $data;
    }

    /**
    * Execute the request
    *
    * @return \IPS\Http\Response
    * @throws \IPS\Http\Request\CurlException
    */
    protected function _execute()
    {
    /* Execute */
    $output = curl_exec( $this->curl );

    /* Log - but because the output can be large, only do this if we explicitly have debug logging enabled */
    if ( defined('\IPS\DEBUG_LOG') and \IPS\DEBUG_LOG )
    {
    \
    IPS\Log::debug( "\n\n------------------------------------\ncURL REQUEST: {$this->url}\n------------------------------------\n\n" . var_export( $this->dataForLog, TRUE ) . "\n\n------------------------------------\nRESPONSE\n------------------------------------\n\n" . $output, 'request' );
    }
    Ultima modifica di karl94 : 16-08-2016 alle ore 13.50.51 Motivo: Formattazione

  11. #41
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Codice PHP:
    /* Errors? */
    if ( $output === FALSE )
    {
    throw new
    CurlException( curl_error( $this->curl ), curl_errno( $this->curl ) );
    }

    /* If this is FTP we need to fudge the headers a little */
    if( isset( $this->url->data['scheme'] ) and $this->url->data['scheme'] == 'ftp' )
    {
    $output = "HTTP/1.1 200 OK\nFTP: True\r\n\r\n" . $output;
    }

    /* Return it */
    return new \IPS\Http\Response( $output );
    }

    /**
    * Execute the request and follow redirects id necessary
    *
    * @return \IPS\Http\Response
    * @throws \IPS\Http\Request\CurlException
    */
    protected function _executeAndFollowRedirects( $method, $params )
    {
    /* Execute */
    $response = $this->_execute();

    /* Either return it or follow it */
    if ( $this->followRedirects and in_array( $response->httpResponseCode, array( 301, 302, 303, 307, 308 ) ) )
    {
    $newRequest = \IPS\Http\Url::external( $response->httpHeaders['Location'] )->request( $this->timeout, $this->httpVersion, is_int( $this->followRedirects ) ? ( $this->followRedirects - 1 ) : $this->followRedirects );
    return
    call_user_func_array( array( $newRequest, $method ), $params );
    }
    return
    $response;
    }
    }

    /**
    * CURL Exception Class
    */
    class CurlException extends \IPS\Http\Request\Exception { }
    Ultima modifica di karl94 : 16-08-2016 alle ore 13.51.22 Motivo: Formattazione

  12. #42
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Nella riga sotto curl_exec aggiungi
    Codice PHP:
    /* AV compatibility patch - START*/
    $output_offset = strpos( $output, "\r\n\r\n" );
    if(
    $output_offset !== FALSE ){
    $output_offset += 4;// CRLFCRLF is 4 bytes
    if( $output_offset < curl_getinfo($this->curl, CURLINFO_HEADER_SIZE) ){
    $output = substr( $output, $output_offset );
    }
    }
    /* AV compatibility patch - END*/
    Ultima modifica di karl94 : 05-10-2016 alle ore 14.08.33
    BMWS1VC likes this.

  13. #43
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Ciao karl94

    Prima di tutto ti ringrazio, e ho aggiunto le righe dove mi hai detto tu dopo curl_exec e ho applicato e salvato.

    Però se vai a vedere nel messaggio #35 l'assistenza di IPB mi aveva dato un script di test che indica l'errore (che non so leggere e quindi non capisco cosa sia sbagliato cosa dovrebbe cambiare)

    Rifatto oggi 17, con le modifiche, ottengo un risultato che mi pare uguale a quello dell'11 agosto pre modifiche.

    Quindi, è cambiato qualcosa anche se lo scritp è rimasto uguale tranne le date?

    Codice:
    string(651) "HTTP/1.1 200 OK
    Date: Wed, 17 Aug 2016 07:10:35 GMT
    Transfer-Encoding: chunked
    Server: Apache
    
    HTTP/1.1 200 OK
    Date: Wed, 17 Aug 2016 07:10:35 GMT
    Server: Apache
    X-Powered-By: PHP/5.6.16
    Transfer-Encoding: chunked
    Content-Type: application/json
    
    {
        "key": "1375867602-464876-240428-9827891452",
        "url": "http:\/\/bmws1vc.altervista.org\/forum",
        "test_url": null,
        "active": true,
        "cloud": false,
        "expires": "2017-02-17 21:52:46",
        "products": {
            "forums": true,
            "calendar": true,
            "spam": true
        },
        "chat_limit": 5,
        "support": "Standard",
        "account": 464876,
        "legacy": false
    }"
    Ultima modifica di karl94 : 17-08-2016 alle ore 13.08.14 Motivo: Formattazione

  14. #44
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Immagino che quello script non utilizzi il file che hai modificato, ma effettui direttamente la richiesta con CURL, ignoralo.
    Dopo la modifica funziona? Riesci ad effettuare la verifica della licenza?

  15. #45
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    Immagino che quello script non utilizzi il file che hai modificato, ma effettui direttamente la richiesta con CURL, ignoralo.
    Dopo la modifica funziona? Riesci ad effettuare la verifica della licenza?
    Non sono io che faccio la procedura della verifica della licenza ma direttamente IPB

    Io posso dire di riprovare, ma se lo script che mi segnalano non è cambiato...non è che non cambia il risultato finale?

    Hello,

    Unfortunately, we are unable to complete your upgrade. The call to verify your license is failing, due to the same reason I outlined in ticket 873921.

    Any cURL request that is made, using SSL, from the server is returning two sets of headers. As such, this is causing the license verification to fail. I have set up a test script here, which outlines the issue.

    http://bmws1vc.alter...um/curltest.php

    I would recommend contacting your host regarding this issue, as it appears to be a server side problem.

    For now, however, I have restored the IP.Board 3.4.x files so the site is online again. Once this issue has been resolved, we can proceed with the upgrade.

    Regards,

    Ryan Ashbrook
    Invision Power Services, Inc.
    Ultima modifica di karl94 : 18-08-2016 alle ore 17.06.37 Motivo: Formattazione

  16. #46
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Citazione Originalmente inviato da BMWS1VC Visualizza messaggio
    Io posso dire di riprovare, ma se lo script che mi segnalano non è cambiato...non è che non cambia il risultato finale?
    No, spiega loro che è necessario applicare quella patch a quel file e di ignorare il test.
    BMWS1VC likes this.

  17. #47
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    No, spiega loro che è necessario applicare quella patch a quel file e di ignorare il test.
    Mi hanno risposto che secondo loro dovrebbe andare bene e entro oggi provano di nuovo a fare l'upgrade.

    Speriamo lo facciano veramente entro oggi, perché da domani sono in ferie fuori dall'italia per 2 settimane e tutto verrebbe lasciato in sospeso...

    Grazie, comunque!!!! Ti aggiorno!

  18. #48
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Ciao Karl94

    Purtroppo non è andata bene, e sempre per lo stesso motivo. Continuano a insistere sullo stesso punto linkato che effettivamente non è cambiato anche dopo le modifiche fatte al CURL

    Nei prossimi giorni non ci sarò, ma ci deve essere un altra soluzione anche se non capisco esattamente cosa significa " sending two sets of headers ".

    Qui sotto ti copio/incollo quello che mi ha scritto IPB


    Hello.



    Apologies but we can't complete the upgrade.



    The problem with the license key check is still happening, and that's because Altervista has not fixed the issue.



    Please tell their Support to visit that URL my colleague provided earlier:



    http://bmws1vc.altervista.org/forum/curltest.php



    and note that it is sending two sets of headers. That is the issue.



    Once they have fixed the problem, so that your server is not returning two sets of headers, please let us know and we can proceed with the upgrade.



    Thank you.



    Mark Higgins
    Invision Power Services, Inc.
    Ultima modifica di BMWS1VC : 19-08-2016 alle ore 22.29.50

  19. #49
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Ciao

    Riprendo la discussione, eravamo rimasti al problema del post precedente...

  20. #50
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Up!

    Qualche idea per ulteriori modifiche?

  21. #51
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Temo non abbiano ancora capito che quella patch è da applicare alla tua installazione di IPB qua su AlterVista, e che risolve il problema degli header doppi. Controllando con uno script differente che effettua direttamente la chiamata a cURL ovviamente porterà sempre al medesimo risultato in quanto le connessioni esterne su AlterVista passano per un proxy e in quelle condizioni cURL si comporta così: restituisce ambedue le intestazioni.
    La patch che ti ho indicato risolve appunto questo problema: rimuove la prima intestazione, quella della risposta del proxy, se presente.

  22. #52
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    Citazione Originalmente inviato da karl94 Visualizza messaggio
    Temo non abbiano ancora capito che quella patch è da applicare alla tua installazione di IPB qua su AlterVista, e che risolve il problema degli header doppi. Controllando con uno script differente che effettua direttamente la chiamata a cURL ovviamente porterà sempre al medesimo risultato in quanto le connessioni esterne su AlterVista passano per un proxy e in quelle condizioni cURL si comporta così: restituisce ambedue le intestazioni.
    La patch che ti ho indicato risolve appunto questo problema: rimuove la prima intestazione, quella della risposta del proxy, se presente.
    Ti ho risposto in PM

  23. #53
    BMWS1VC non è connesso Utente giovane
    Data registrazione
    17-12-2005
    Messaggi
    62

    Predefinito

    ciao

    Ho risolto applicando la patch che mi avevi indicato nel messaggio #42 al file in questione dopo aver effettuato l'aggiornamento dei file.

    Grazie infinite!

    Grazie a te e grazie a Altervista!

Pagina 2 di 2 PrimoPrimo 12

Tags for this Thread

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •