Salta al contenuto
  • CATEGORIES
  • La Community Connect.gt
  • Presentati alla Community
  • News Ufficiali da Connect.gt
  • Internet News
  • A Scuola Di
  • Digital Marketing
  • Intelligenza Artificiale
  • SEO & GEO
  • Web Marketing e Content
  • Google Analytics e Web Analytics
  • Google Ads & Advertising
  • YouTube
  • TikTok, Instagram e altri Social
  • Google Adsense, Affiliazioni e Guadagno
  • E-Commerce
  • Coding e Sistemistica
  • Help Center: consigli per il tuo progetto
  • Hosting e Cloud
  • Coding
  • CMS & Piattaforme Self-Hosted
  • Annunci e Collaborazioni
  • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
  • Collaborazioni WEB e Lavoro: offro e cerco
  • Impresa, Fisco e Leggi
  • Consulenza Legale e Professioni Web
  • Consulenza Fiscale, Imprese, Startup e P.Iva
  • Gli Off Topic
  • PC, Smartphone e altri Hardware
  • Tutti i Software
  • GT Fetish Cafè
  • Discussioni
  • 0 Non letti 0
  • Recenti
  • Hashtag
  • Popolare
  • Utenti
  • Privacy
  • Termini e condizioni
  • © 2026 Search On Media Group S.r.l.
Collassa
Connect.gt
Il network Search On
Connect.gt WMF AI Festival Accademia Advanced SEO Tool AgentCy Social Media Strategies Search Tech
Registrati Accedi
Connect.gt
Stream Interest Categorie Hashtag
  1. La community italiana di SEO, marketing digitale e AI
  2. Categorie
  3. Coding e Sistemistica
  4. CMS & Piattaforme Self-Hosted
  5. [Risolto] Non entro più come admin

[Risolto] Non entro più come admin

Pianificato Fissato Bloccato Spostato CMS & Piattaforme Self-Hosted
12 Post 4 Autori 1.7k Visualizzazioni 1 Seguito
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Risposta alla discussione
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • S
    S
    stefano.virgilli
    scritto su ultima modifica di
    User Attivo 5
    #1
    [Risolto] Non entro più come admin

    Ciao ragazzi,
    ho bisogno di una mano.
    Sto cercando invano di loggarmi al mio admin. Ricevo invece questo errore:

    You need to login. If PHP's session.auto_start setting is on or session.use_cookies setting is off, you may need to correct this before you will be able to login.

    Ho verificato il mio global.php che contiene questo codice:

    <?php
    /**
     * @version $Id: globals.php 4675 2006-08-23 16:55:24Z stingrey $
     * @package Joomla
     * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
     * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
     * Joomla! is free software and parts of it may contain or be derived from the
     * GNU General Public License or other free or open source software licenses.
     * See COPYRIGHT.php for copyright notices and details.
     */
    
    // no direct access
    defined( '_VALID_MOS' ) or die( 'Restricted access' );
    
    /**
     * Use 1 to emulate register_globals = on
     * WARNING: SETTING TO 1 MAY BE REQUIRED FOR BACKWARD COMPATIBILITY
     * OF SOME THIRD-PARTY COMPONENTS BUT IS NOT RECOMMENDED
     *
     * Use 0 to emulate regsiter_globals = off
     * NOTE: THIS IS THE RECOMMENDED SETTING FOR YOUR SITE BUT YOU MAY
     * EXPERIENCE PROBLEMS WITH SOME THIRD-PARTY COMPONENTS
     */
    define( 'RG_EMULATION', 0 );
    
    /**
     * 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;
    		}
    	}
    }
    
    /**
     * Emulates register globals = off
     */
    function unregisterGlobals () {
    	checkInputArray( $_FILES );
    	checkInputArray( $_ENV );
    	checkInputArray( $_GET );
    	checkInputArray( $_POST );
    	checkInputArray( $_COOKIE );
    	checkInputArray( $_SERVER );
    
    	if (isset( $_SESSION )) {
    		checkInputArray( $_SESSION );
    	}
    
    	$REQUEST = $_REQUEST;
    	$GET = $_GET;
    	$POST = $_POST;
    	$COOKIE = $_COOKIE;
    	if (isset ( $_SESSION )) {
    		$SESSION = $_SESSION;
    	}
    	$FILES = $_FILES;
    	$ENV = $_ENV;
    	$SERVER = $_SERVER;
    	foreach ($GLOBALS as $key => $value) {
    		if ( $key != 'GLOBALS' ) {
    			unset ( $GLOBALS [ $key ] );
    		}
    	}
    	$_REQUEST = $REQUEST;
    	$_GET = $GET;
    	$_POST = $POST;
    	$_COOKIE = $COOKIE;
    	if (isset ( $SESSION )) {
    		$_SESSION = $SESSION;
    	}
    	$_FILES = $FILES;
    	$_ENV = $ENV;
    	$_SERVER = $SERVER;
    }
    
    /**
     * Emulates register globals = on
     */
    function registerGlobals() {
    	checkInputArray( $_FILES, true );
    	checkInputArray( $_ENV, true );
    	checkInputArray( $_GET, true );
    	checkInputArray( $_POST, true );
    	checkInputArray( $_COOKIE, true );
    	checkInputArray( $_SERVER, true );
    
    	if (isset( $_SESSION )) {
    		checkInputArray( $_SESSION, true );
    	}
    
    	foreach ($_FILES as $key => $value){
    		$GLOBALS[$key] = $_FILES[$key]['tmp_name'];
    		foreach ($value as $ext => $value2){
    			$key2 = $key . '_' . $ext;
    			$GLOBALS[$key2] = $value2;
    		}
    	}
    }
    
    if (RG_EMULATION == 0) {
    	// force register_globals = off
    	unregisterGlobals();
    } else if (ini_get('register_globals') == 0) {
    	// php.ini has register_globals = off and emulate = on
    	registerGlobals();
    } else {
    	// php.ini has register_globals = on and emulate = on
    	// just check for spoofing
    	checkInputArray( $_FILES );
    	checkInputArray( $_ENV );
    	checkInputArray( $_GET );
    	checkInputArray( $_POST );
    	checkInputArray( $_COOKIE );
    	checkInputArray( $_SERVER );
    
    	if (isset( $_SESSION )) {
    		checkInputArray( $_SESSION );
    	}
    }
    ?>
    

    Mi sembra tutto regolare.
    Cosa sbaglio?

    Ciao

    Stefano

    1 Risposta Ultima Risposta
    Miglior risposta 0
    0
    • G
      G
      gbz
      scritto su ultima modifica di
      User Attivo 0
      #2

      Anche a me pare tutto regolare, secondo me è lato server.

      Prova mettendo un php.ini nella directory /administrator contenente:

      session.auto_start = 0
      session.use_cookies = 1
      
      1 Risposta Ultima Risposta
      Miglior risposta 0
      0
      • S
        S
        stefano.virgilli
        scritto su ultima modifica di
        User Attivo 5
        #3

        Accidenti GBZ,
        stesso errore 😞

        Ciao

        Stefano

        1 Risposta Ultima Risposta
        Miglior risposta 0
        0
        • F
          F
          fmm
          scritto su ultima modifica di
          User Attivo 0
          #4

          Prova a dare un'occhiata qui

          1 Risposta Ultima Risposta
          Miglior risposta 0
          0
          • S
            S
            stefano.virgilli
            scritto su ultima modifica di
            User Attivo 5
            #5

            Ciao Fmm,
            intendi lo zip allegato in uno dei post?
            L'ho scaricato e contiene due files:

            • joomla.php
            • index.php

            Che faccio, procedo? Sovrascrivo i precedenti?
            Risolve il problema che incontro come Administrator?

            Ciao

            Stefano

            1 Risposta Ultima Risposta
            Miglior risposta 0
            0
            • F
              F
              fmm
              scritto su ultima modifica di
              User Attivo 0
              #6

              Prova a rinominare i vecchi e a caricare quelli nello zip cosi puoi sempre ripristinare.

              1 Risposta Ultima Risposta
              Miglior risposta 0
              0
              • S
                S
                stefano.virgilli
                scritto su ultima modifica di
                User Attivo 5
                #7

                Uà! 😮
                Sito sparito:

                "Not Found
                The requested URL /installation/index.php was not found on this server.
                Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

                Se ripristino l'index.php originale e lascio il nuovo joomla.php, ora il log in come administrator non mi da l'errore di prima, bensì un laconico:

                Invalid Session

                Che fare?

                Ciao

                Stefano

                1 Risposta Ultima Risposta
                Miglior risposta 0
                0
                • F
                  F
                  fmm
                  scritto su ultima modifica di
                  User Attivo 0
                  #8

                  prova qui

                  1 Risposta Ultima Risposta
                  Miglior risposta 0
                  0
                  • S
                    S
                    stefano.virgilli
                    scritto su ultima modifica di
                    User Attivo 5
                    #9

                    Ciao,
                    niente da fare.
                    Ancora Invalid Session.

                    Ciao

                    Stefano

                    1 Risposta Ultima Risposta
                    Miglior risposta 0
                    0
                    • S
                      S
                      SitiSeo
                      scritto su ultima modifica di
                      Super User 20
                      #10

                      hai fatto qualche movimento nel DB ?

                      1 Risposta Ultima Risposta
                      Miglior risposta 0
                      0
                      • S
                        S
                        stefano.virgilli
                        scritto su ultima modifica di
                        User Attivo 5
                        #11

                        Ciao ragazzi,
                        ho aperto un ticket lato server e stamattina era sistemato.

                        Non so dire esattamente cosa abbiano fatto, mi dispiace. :bho:

                        Ora funziona correttamente.

                        Ciao

                        Stefano

                        1 Risposta Ultima Risposta
                        Miglior risposta 0
                        0
                        • G
                          G
                          gbz
                          scritto su ultima modifica di
                          User Attivo 0
                          #12

                          Come supponevo era lato server 🙂

                          1 Risposta Ultima Risposta
                          Miglior risposta 0
                          0

                          Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.

                          Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.

                          Con il tuo contributo, questo post potrebbe essere ancora migliore 💗

                          Registrati Accedi
                          Rispondi
                          • Risposta alla discussione
                          Effettua l'accesso per rispondere
                          • Da Vecchi a Nuovi
                          • Da Nuovi a Vecchi
                          • Più Voti


                          • Accedi

                          • Non hai un account? Registrati

                          • Accedi o registrati per effettuare la ricerca.
                          • Primo post
                            Ultimo post
                          Home Accedi Registrati
                          Menu
                          • CATEGORIES
                          • La Community Connect.gt
                          • Presentati alla Community
                          • News Ufficiali da Connect.gt
                          • Internet News
                          • A Scuola Di
                          • Digital Marketing
                          • Intelligenza Artificiale
                          • SEO & GEO
                          • Web Marketing e Content
                          • Google Analytics e Web Analytics
                          • Google Ads & Advertising
                          • YouTube
                          • TikTok, Instagram e altri Social
                          • Google Adsense, Affiliazioni e Guadagno
                          • E-Commerce
                          • Coding e Sistemistica
                          • Help Center: consigli per il tuo progetto
                          • Hosting e Cloud
                          • Coding
                          • CMS & Piattaforme Self-Hosted
                          • Annunci e Collaborazioni
                          • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
                          • Collaborazioni WEB e Lavoro: offro e cerco
                          • Impresa, Fisco e Leggi
                          • Consulenza Legale e Professioni Web
                          • Consulenza Fiscale, Imprese, Startup e P.Iva
                          • Gli Off Topic
                          • PC, Smartphone e altri Hardware
                          • Tutti i Software
                          • GT Fetish Cafè
                          • Discussioni
                          • Non letti 0
                          • Recenti
                          • Hashtag
                          • Popolare
                          • Utenti
                          • Privacy
                          • Termini e condizioni
                          • © 2026 Search On Media Group S.r.l.