Joomla.it Forum

Joomla! 1.0.x (versione con supporto terminato) => Le voci di Joomla.it (solo per versione Joomla 1.0.x) => Installazione => : LucioLuci 13 Feb 2008, 11:41:49

: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 13 Feb 2008, 11:41:49
Salve,
ho ereditato sul posto di lavoro un sito in joomla, creato da una ditta esterna e dato in gestione al vecchio addetto... che non era per nulla esperto. non è che io lo sia, però sto cercando di portarmil'intero sito in locale (mai portato dal mio predecessore) per gestire le modifiche. Sono riuscito ad importare il database con phpmyadmin.
Ho modificato il configuration.php così:
<?php
$mosConfig_MetaAuthor = '1';
$mosConfig_MetaDesc = 'Portale di notizie ';
$mosConfig_MetaKeys = 'Comites  ';
$mosConfig_MetaTitle = '1';
$mosConfig_absolute_path = 'c:/AppServ/www/comites';
$mosConfig_admin_expired = '1';
$mosConfig_allowUserRegistration = '1';
$mosConfig_back_button = '1';
$mosConfig_cachepath = 'c:/AppServ/www/comites/cache';
$mosConfig_cachetime = '900';
$mosConfig_caching = '1';
$mosConfig_db = 'MIO_NOME_DATABASE';
$mosConfig_dbprefix = 'jos_';
$mosConfig_debug = '0';
$mosConfig_dirperms = '0777';
$mosConfig_editor = 'tinymce';
$mosConfig_enable_log_items = '1';
$mosConfig_enable_log_searches = '1';
$mosConfig_enable_stats = '1';
$mosConfig_error_message = 'Sito temporaneamente irraggiungibile.
 Notificare il problema ad un amministratore';
$mosConfig_error_reporting = '-1';
$mosConfig_favicon = 'favicon.ico';
$mosConfig_fileperms = '0777';
$mosConfig_fromname = 'Comites ';
$mosConfig_frontend_login = '1';
$mosConfig_frontend_userparams = '1';
$mosConfig_gzip = '1';
$mosConfig_helpurl = 'http://help.joomla.org';
$mosConfig_hideAuthor = '0';
$mosConfig_hideCreateDate = '0';
$mosConfig_hideEmail = '0';
$mosConfig_hideModifyDate = '1';
$mosConfig_hidePdf = '0';
$mosConfig_hidePrint = '0';
$mosConfig_hits = '1';
$mosConfig_host = 'localhost';
$mosConfig_icons = '1';
$mosConfig_item_navigation = '1';
$mosConfig_lang = 'italian';
$mosConfig_lifetime = '900';
$mosConfig_link_titles = '1';
$mosConfig_list_limit = '30';
$mosConfig_live_site = 'http://localhost/comites';
$mosConfig_locale = 'it_IT';
$mosConfig_mailer = 'mail';
$mosConfig_mailfrom = 'miaemail@miaemail.it';
$mosConfig_multilingual_support = '0';
$mosConfig_multipage_toc = '0';
$mosConfig_offline = '0';
$mosConfig_offline_message = 'Sito offline per manutenzione.
 Riprovare tra poco.';
$mosConfig_offset = '0';
$mosConfig_offset_user = '1';
$mosConfig_pagetitles = '1';
$mosConfig_password = 'MIA_PASS_SQL_LOCALE';
$mosConfig_readmore = '1';
$mosConfig_secret = '****************';
$mosConfig_sef = '1';
$mosConfig_sendmail = '/usr/sbin/sendmail';
$mosConfig_session_life_admin = '900';
$mosConfig_session_type = '1';
$mosConfig_shownoauth = '0';
$mosConfig_sitename = 'Comites  ';
$mosConfig_smtpauth = '0';
$mosConfig_smtphost = 'localhost';
$mosConfig_smtppass = '';
$mosConfig_smtpuser = '';
$mosConfig_uniquemail = '1';
$mosConfig_user = 'root';
$mosConfig_useractivation = '1';
$mosConfig_vote = '0';
setlocale (LC_TIME, $mosConfig_locale);
?>
MA nulla, dopo aver portato in locale conf tp tutto il sito, modificato il congiguration.php, importato il database sql, chiamo il sito in locale e mi da questo errore
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator,  and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


potete aiutarmi?
che guaio...
un saluto
Lucio
: Re: Da remoto a locale, tutto quasi bene ma.......
: Kriss 13 Feb 2008, 12:09:50
Ciao,
sembra chiaramente un errore del server. In locale usi xampp o easyphp?
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 13 Feb 2008, 12:12:27
Ciao,
uso myphpadmin
sul remoto 108 tabelle
sul locale 108 tabelle
ho esportato il db poco alla volta visto che era di 20 mb
grazie per l'interessamento
: Re: Da remoto a locale, tutto quasi bene ma.......
: Kriss 13 Feb 2008, 14:01:33
E Apache ce l'hai in locale?

ciao
: Re: Da remoto a locale, tutto quasi bene ma.......
: pinius 14 Feb 2008, 00:47:46
Ragazzi qualcuno riesce a farmi capire come si copia un sito da REMOTO in LOCALE??

GRAZIE 1000
: Re: Da remoto a locale, tutto quasi bene ma.......
: Kriss 14 Feb 2008, 17:24:27
Ciao,

la procedura è l'inversa della pubblicazione: ti connetti all'FTP e scarichi la cartellina del tuo sito. Poi vai su phpMyAdmin e fai un dump del db. Poi risitemi il configuration.php e sei apposto!
: Re: Da remoto a locale, tutto quasi bene ma.......
: Kriss 14 Feb 2008, 17:30:26
Devi anche installare xampp o easyphp sul tuo pc!! ;D
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 15 Feb 2008, 12:23:41
kriss eccomi scusa il ritardo...
si, ho tutto installato su phpmyadmin...
ho ancyerh installato precedentemente un sito joomla vergine in locale e efunzionava...
ho migrato il db correttamente da remoto a locale,
ho modificato il configuratipn... ma mi da quell'errore...
: Re: Da remoto a locale, tutto quasi bene ma.......
: Kriss 15 Feb 2008, 13:09:21
Ciao,

eppure è un problema di server, non di joomla, se reinstalli easyphp?

prova, non so che altro suggerirti!

I servizi Apache, PHP e MySQL sono ttti avviati correttamente, vero?
: Re: Da remoto a locale, tutto quasi bene ma.......
: = odino = 15 Feb 2008, 13:14:39
occhio che easyphp va in conflitto con skype e con uno tra avast e antispywares vari
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 15 Feb 2008, 13:18:03
non può essere un errore nell'importaizone del db vero?
altrimenti almeno mi avrebbe letto il db...
dite che dovrei reinstallare phpmyadmin=?
ho appena provato a caricare quella versione vuota di joomla vergine vergine e mi funziona perfettamente
deve essere qualcosa in configuration.php, visto che me lo legge almeno fino alla mail di riferimento dove mi suggerisce di inviare una comunicazione dell'errore...
: Re: Da remoto a locale, tutto quasi bene ma.......
: Kriss 15 Feb 2008, 16:39:55
Ma tu, entrando in phpMyAdmin, riesci a vedere il database?
 ???
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 18 Feb 2008, 12:29:14
sui, certo,
il database da phpmyadmin ha le stesse 108 tabelle che ha in remoto, l'ho esportato bene.
: Re: Da remoto a locale, tutto quasi bene ma.......
: crisalex 18 Feb 2008, 12:44:32
Ragazzi qualcuno riesce a farmi capire come si copia un sito da REMOTO in LOCALE??

GRAZIE 1000


Cerca nel forum, se ne è parlato parecchio
: Re: Da remoto a locale, tutto quasi bene ma.......
: Kriss 18 Feb 2008, 15:05:02
sui, certo,
il database da phpmyadmin ha le stesse 108 tabelle che ha in remoto, l'ho esportato bene.

Ciao, in remoto il database ha una password? in questo caso nel config va aggiunta...
L'installazione vergine che errore ti da? forse dipende davvero da xampp...
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 22 Feb 2008, 13:37:46
in locale il db ha una pass, e l'ho inserita al psoto della pass del db in remoto che si trova nel configuration remoto...
in locale il vergine mi funziona preciso! è questo il punto
non capisco...
: Re: Da remoto a locale, tutto quasi bene ma.......
: crisalex 24 Feb 2008, 01:22:38
Io quando sposto da locale in remoto o viceversa, non "sposto" mai il file configuration.php.
Copio tutto meno quel file.
: Re: Da remoto a locale, tutto quasi bene ma.......
: Luca Curatola 24 Feb 2008, 01:27:52
L'errore 500 non può venir restituito per un importazione sbagliata o incompleta del database.

Il problema è normalmente legato alla configurazione del webserver, ai permessi dei file, o al contenuto del file .htaccess

Il log del webserver sono il posto giusto dove guardare.
: Re: Da remoto a locale, tutto quasi bene ma.......
: Maorinz 24 Feb 2008, 10:29:09
@ LucioLuci:

Se hai il file .htaccess, cancellalo o rinominalo e riprova.

: Re: Da remoto a locale, tutto quasi bene ma.......
: marco0906 24 Feb 2008, 13:15:07
e un'alternativa non potrebbe essere creare in locale un sito vergine sovrascrivere alla root del sito vergine la root del tuo sito remoto (tranne il configuration.php e eventuali .htacces ) e poi andare a importare il dump del tuo db remoto nel db locale creato durante l'installazione del sito vergine?
: Re: Da remoto a locale, tutto quasi bene ma.......
: Luca Curatola 24 Feb 2008, 13:25:10
Certo, ci sono molti modi di affrontare la migrazione.
Il discorso principale è che avere un webserver in locale presupporrebbe avere le conoscenze di base per il funzionamento dello stesso che, per quanto possa sembrare semplice, non è poi così banale come si possa pensare.
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 24 Feb 2008, 20:22:24
grazie a tutti,
seguir÷o le indicazioni per il file htaccess
domani in uffico.
vi terr÷o aggiornati.
Lucio
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 27 Feb 2008, 11:51:31
Salve,
non so cosa sia questo .htaccess però rinominadolo ora almeno carica la scehrmata del sito...
ma mi da un po di errori.. in cima alla pagina prima dic aricare un layout vuoto. ecco gli errori:
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:1662) in C:\AppServ\www\comites\includes\joomla.php on line 1417

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:1662) in C:\AppServ\www\comites\index.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:1662) in C:\AppServ\www\comites\index.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:1662) in C:\AppServ\www\comites\index.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:1662) in C:\AppServ\www\comites\index.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:1662) in C:\AppServ\www\comites\index.php on line 252

:-\
: Re: Da remoto a locale, tutto quasi bene ma.......
: Luca Curatola 27 Feb 2008, 12:30:40
Disabilita Joomlastats
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 28 Feb 2008, 12:25:04
ti dirò di più, l'ho cancellato del tutto [joomlastats] e mi escono aa video ancora più errori!
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 269

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 283

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 410

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 572

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 695

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 731

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 756

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 778

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 824

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 844

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 1259

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 1281

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php on line 1377

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:269) in C:\AppServ\www\comites\includes\joomla.php on line 1417

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:269) in C:\AppServ\www\comites\index.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:269) in C:\AppServ\www\comites\index.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:269) in C:\AppServ\www\comites\index.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:269) in C:\AppServ\www\comites\index.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\comites\components\com_joomlastats\joomlastats.inc.php:269) in C:\AppServ\www\comites\index.php on line 252
scusatemi ma sono imbranato col php, pensavo che asp bastasse, ma ora so di aver perso anni della mia giovine vita!
grazie a tutti
: Re: Da remoto a locale, tutto quasi bene ma.......
: Luca Curatola 28 Feb 2008, 12:39:57
Disabilita gli errori warning e notice da php.ini.
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 28 Feb 2008, 12:50:32
;   - Show all errors, except for notices and coding standards warnings
;
error_reporting = E_ALL & ~E_NOTICE
e mi esce tutta nua schermata bianca all'index del sito.
se ti sei stancato della mia ignoranza non rispondermi pure...
: Re: Da remoto a locale, tutto quasi bene ma.......
: Luca Curatola 28 Feb 2008, 12:56:12
No, figurati, è semplicemente che è difficile intervenire su un installazione locale senza avere sottomano la macchina.
Cosa usi come webserver locale?

Poi gli errori che ti escono sono ancora relativi a joomlastat, non l'hai disinstallato?
: Re: Da remoto a locale, tutto quasi bene ma.......
: LucioLuci 28 Feb 2008, 12:59:33
si, disinstallato joomstat, escluso il mambot delle statistiche anche (infatti in home di amministrazione a lato mi escono errori perchè nont rova piu il componente...)
uso appserv con phpmyadmin
: Re: Da remoto a locale, tutto quasi bene ma.......
: Luca Curatola 28 Feb 2008, 13:01:53
Io non lo conosco bene (lavoro su server linux) ma altri parlano bene di xammp.
: Re: Da remoto a locale, tutto quasi bene ma.......
: = odino = 28 Feb 2008, 13:43:56
usa easyphp -----> 0 problemi fidati