Joomla.it Forum
Joomla! 2.5 (versione con supporto terminato) => Joomla! 1.6/1.7/2.5 => : giggioman00 04 Sep 2013, 21:44:04
-
Salve, sto cercando di portare il mio sito da hosting condiviso a vps.
Su hosting condiviso non ho avuto questo problema.
Su vps ho installato plesk per "importare" il dominio, dopodichè ho fatto l'upload del sito. Cambiato tutte le path, il config, ecc ecc.
Tuttavia in homepage appare l'errore 500. Il pannello di amministrazione invece è tranquillamente raggiungibile e riesco anche a fare il login e ha cambiare impostazioni.
Su internet ho letto che può dipendere dalle impostazioni seo e dall'.htacess: Niente, ho provato a disattivarle, attivarne solo una, cambiato .htaccess a htaccess.txt, cancellato completamente e riuppato un .htaccess senza modifiche ma niente di niente, l'errore rimane. Da cosa potrebbe dipendere? versione php: 5.3.3.
Permesso della cartella del sito impostato su 750. versione di joomla 2.5.14. Su avvisi, sotto il menu estensioni, non appare nessun avviso.
Vi prego è urgente!!!
-
ciao
cancella il file htaccess.txt e rinominalo in .htaccess
dopodichè carica questo codice, attiva il rewrite url e fammi sapere!
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##
##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##
## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
## Mod_rewrite in use.
RewriteEngine On
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects
##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##
RewriteBase /
## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
-
non ho risolto :(
-
questo tipo di problema, in questo forum che significato ha?
Avessi aperto il post nella board dei server, ci poteva anche stare, ma qui dove parliamo di:
Joomla 2.5 (versione con supporto a lungo termine - LTS) >> joomla! 1.6/1.7/2.5>>
Mi pare solo voler fare una forzatura, e non dico niente sul titolo completamente inutile che hai messo: dopo 205 post ci si aspetta che ci siano anche dei titoli coerenti con la discussione! >:(
Inoltre mi sembrerebbe naturale contattare l'assistenza del tuo provider......
-
Perchè il titolo non sarebbe coerente? Se mi dice che l'errore è 500, cosa ci devo scrivere, errore 3020?
-
sbaglio o in uno dei vari post che hai aperto su qs vps ti è stato consigliato di usare qualcosa di cui ne hai competenza?
Un server non è Joomla e la maggior parte delle volte bisogna conoscerne le configurazioni per capire le problematiche... impossibile su un forum.
-
Hai ragione ma devo imparare per forza, visto l'alto traffico ad ogni secondo giorno del mese mi piazzano il sito su un sottocluster condiviso che funziona 10 ore su 24 quando va bene... l'hosting condiviso non va più bene...
Poi non so nemmeno se il problema è il server, perchè se installo joomla in una sottocartella del dominio (tipo miodominio.it/test ) lì il sito appare senza problemi...
-
Oddio, mi sa che la colpa è mia, non del server, ho consultato i file di log e mi sono accorto che mi è sfuggito l'upload della cartella /includes di joomla :/ ora provo, se risolvo lo metto scritto nel titolo
EDIT: L'errore è sparito, ma mi ritrovo con una pagina completamente bianca...
-
Risolto il problema 500 (alla fine il server non c'entrava nulla, l'errore 500 appariva per una mia distrazione), il problema della pagina bianca era stato dato da un plug in che avevo installato, JCH optimize
[Thu Sep 05 14:17:22 2013] [warn] [client ***.***.***.***] mod_fcgid: stderr: PHP Notice: Undefined index: gz in /var/www/vhosts/vps3272*.ovh.net/*****/plugins/system/jch_optimize/libs/jscss.php on line 63, referer: ***************
Disinstallandolo, ora il sito si apre e funziona correttamente anche nella root. Posso rinunciare a questo plugin, ma se fosse possibile preferirei non farlo...
Come posso aggiustare questo errore?
-
Perchè il titolo non sarebbe coerente? Se mi dice che l'errore è 500, cosa ci devo scrivere, errore 3020?
Se sei convinto che "errore 500" sia un titolo pertinente è coerente con il problema, lascialo pure, poi non ti lamentare se non trovi niente facendo le ricerche ;)