Pagina 1 di 1

[RISOLTO] joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 22:33
da giogiomogio
salve oggi ho dovuto portare un sito da remoto a locale.
ho fatto il backup al database
ho scaricato l'intero albero della cartella del sito
poi ho attivato xampp
ho digitato localhost/phpmyadmin
ho inserito il nome del database ho caricato il backup.
infine al percorso /opt/lampp/htdocs/nomesito/ ho inserito il contenuto dell albero del sito.
ho modificato il file configuration.php modificando i parametri e percorsi a (nome db, nome user,pass, logs,tmp,)
ora se provo a digitare
localhost/nomesito

non vedo praticamente un bel niente, solo una fila di errori immensa

Codice: Seleziona tutto

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/environment/request.php on line 467

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/environment/request.php on line 468

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 35

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 38

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 39

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 138

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 46

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 47

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 50

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 53

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 54

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 57

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/import.php on line 58

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 138

Strict Standards: Non-static method JFactory::getApplication() should not be called statically in /opt/lampp/htdocs/lc/index.php on line 31

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 138

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 138

Strict Standards: Redefining already defined constructor for class JObject in /opt/lampp/htdocs/lc/libraries/joomla/base/object.php on line 57

Strict Standards: Non-static method JApplication::getInstance() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/factory.php on line 46

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 138

Strict Standards: Non-static method JApplicationHelper::getClientInfo() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/application/application.php on line 130

Strict Standards: Declaration of JSite::getRouter() should be compatible with that of JApplication::getRouter() in /opt/lampp/htdocs/lc/includes/application.php on line 377

Strict Standards: Declaration of JSite::getPathWay() should be compatible with that of JApplication::getPathway() in /opt/lampp/htdocs/lc/includes/application.php on line 377

Strict Standards: Declaration of JSite::getMenu() should be compatible with that of JApplication::getMenu() in /opt/lampp/htdocs/lc/includes/application.php on line 377

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 71

Strict Standards: Non-static method JFactory::getConfig() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/lc/libraries/joomla/application/application.php on line 730

Strict Standards: Non-static method JFactory::_createConfig() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/lc/libraries/joomla/factory.php on line 73

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 186

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 138

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/joomla/registry/registry.php on line 19

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/lc/libraries/loader.php on line 138

Strict Standards: Non-static method JUtility::getHash() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/lc/libraries/joomla/application/application.php on
questa e' solo una parte degli errori, continua ancora di molto.
vedo solo queste scritte al posto del sito.

premesso che e' un operazione che ho fatto molte volte su windows non avendo mai riscontrato problemi.
come facevo la ho fatto qui.
dove sbaglio?
grazie

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 22:46
da ReMichael
Nel file /opt/lampp/etc/php.ini sostituisci la riga:

Codice: Seleziona tutto

error_reporting = E_ALL & ~E_NOTICE
con:

Codice: Seleziona tutto

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
e poi restarta lampp

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 22:52
da giogiomogio
a quale riga esattamente?
grazie

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 22:53
da ReMichael
giogiomogio ha scritto: a quale riga esattamente?
grazie
devi cercare questa riga: error_reporting = E_ALL & ~E_NOTICE e modificarla come ho scritto.. non so in che punto del file si trova, fai una ricerca nel file

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 22:56
da giogiomogio
l'unica che ho trovato e' questa, ma non è su una riga sola:

Codice: Seleziona tutto

; error_reporting
;   Default Value: E_ALL & ~E_NOTICE

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 23:00
da ReMichael
giogiomogio ha scritto: l'unica che ho trovato e' questa, ma non è su una riga sola:

Codice: Seleziona tutto

; error_reporting
;   Default Value: E_ALL & ~E_NOTICE
tra l'altro sono commentate.. dopo queste 2 righe allora aggiungi:

Codice: Seleziona tutto

error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
e restarta lampp

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 23:02
da giogiomogio
ma scusami allora sono tutte commentate...
hanno tutte il ; davanti

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 23:04
da giogiomogio
inoltre non e' cambiato nulla  ???

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 23:11
da ReMichael
giogiomogio ha scritto: inoltre non e' cambiato nulla  ???
allora.. ho scaricato il pacchetto per controllare, e alla riga 516 c'è quello che ti interessa, e non è commentato. controlla il tuo file, e se a quella riga trovi la direttiva in questione cambiala come ti ho detto e togli quella che hai aggiunto.

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 23:43
da giogiomogio
alla fine ho risolto installando la versione 1.7 di xampp
qua si possono trovare tutte le versioni di xampp
io consiglio la 1.7
va che e' una meraviglia
http://sourceforge.net/projects/xampp/f ... P%20Linux/

Re: joomla - trasferimento da remoto a locale con xampp ubuntu

Inviato: giovedì 27 gennaio 2011, 23:46
da giogiomogio
ReMichael ha scritto:
giogiomogio ha scritto: inoltre non e' cambiato nulla  ???
allora.. ho scaricato il pacchetto per controllare, e alla riga 516 c'è quello che ti interessa, e non è commentato. controlla il tuo file, e se a quella riga trovi la direttiva in questione cambiala come ti ho detto e togli quella che hai aggiunto.
grazie mille, ho provato ma non andava cmq.
con la 1.7
va perfetto pero.