Salve,
Dal modulo VM quando clicco su "aggiungi al carrello" ottengo come errore:
Illegal variable _files or _env or _get or _post or _cookie or _server or _session or globals passed to script.
Credevo fosse un errore di VM ma nel file global.php ho trovato il seguente codice
/**
* Adds an array to the GLOBALS array and checks that the GLOBALS variable is
* not being attacked
* @param array
* @param boolean True if the array is to be added to the GLOBALS
*/
function checkInputArray( &$array, $globalise=false ) {
static $banned = array( '_files', '_env', '_get', '_post', '_cookie', '_server', '_session', 'globals' );
foreach ($array as $key => $value) {
$intval = intval( $key );
// PHP GLOBALS injection bug
$failed = in_array( strtolower( $key ), $banned );
// PHP Zend_Hash_Del_Key_Or_Index bug
$failed |= is_numeric( $key );
if ($failed) {
die( 'Illegal variable <b>' . implode( '</b> or <b>', $banned ) . '</b> passed to script.' );
}
if ($globalise) {
$GLOBALS[$key] = $value;
}
}
}
Quindi presumo l'errore non sia di VM in se. Visto che non ho operato modifiche sul codice (tranne htaccess, ma anche con la versione originale il problema persiste) ma di Joomla in generale. Qual'e' il parametro che risulta errato? O meglio come posso individuarlo? Una sorta di debug.
PS:ho postato tale domanda anche sulla sezione dedicata a VM. Non so neanche se sia un problema di installazione ma non sapevo dove postarlo. Elimino uno dei due post?
PS2:cercando con Google ho visto che anche altri hanno avuto il mio stesso problema ma anche leggendo in altri forum non ho trovato la soluzione.
Grazie