Joomla.it Forum

Joomla! 3 => Installazione, migrazione e aggiornamento => : anto1701 11 Sep 2012, 17:43:05

: aiuto per Magic Quotes GPC NO
: anto1701 11 Sep 2012, 17:43:05

Buongiorno dopo giorni e giorni di lettura non riesco a venirne a capo quindi mi rivolgo a voi:
sto provando a installare la 3.0 beta per vedere cosa cambia e cosa offre in modo diretto.
Ho il problema sul controllo


Magic Quotes GPC      NO


ho cambiato il .htaccess in 1000 modi ma continuo ad avere il problema, cosi' mi sono venuti due dubbi:


1) il mio provider (non faccio nomi perche' non e' free) non mi supporta ancora
2) sbaglio la sintassi del file.


Potreste darmi un aiutino???
Quoto  .htaccess


Grazie Antonio

##
# @package      Joomla
# @copyright   Copyright (C) 2005 - 2012 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
php_flag magic_quotes_gpc off


## 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.
: Re:aiuto per Magic Quotes GPC NO
: alexred 15 Sep 2012, 21:42:41
per impostare le Magic Quotes GPC su OFF dovresti poter intervenire sul php.ini del server,
alcuni hosting permettono di impostare i parametri del php.ini dal loro pannello di controllo, oppure puoi alcuni supportano l'inserimento di un file di nome php.ini con all'interno la riga:
magic_quotes_gpc = Off

prova a crearlo con un editor di testi ed inserirlo nella cartella dove hai caricato Joomla.
Altrimenti devi rivolgerti al supporto del tuo hosting
: Re:aiuto per Magic Quotes GPC NO
: anto1701 17 Sep 2012, 17:58:32
Grazie infinite
: Re:aiuto per Magic Quotes GPC NO
: anto1701 19 Sep 2012, 17:09:28
Alla fine il provider č stato cosi' cortese da farmi il cambiamento e sono riuscito ad arrivare sino al passo 3... ora mi sono "incagliato" su un errore al passo 3:


[/code]Some errors occurred while populating the database: SQL=INSERT INTO `nn4y8_usergroups` (`id`, `parent_id`, `lft`, `rgt`, `title`) VALUES (1, 0, 1, 18, 'Public'), (2, 1, 8, 15, 'Registered'), (3, 2, 9, 14, 'Author'), (4, 3, 10, 13, 'Editor'), (5, 4, 11, 12, 'Publisher'), (6, 1, 4, 7, 'Manager'), (7, 6, 5, 6, 'Administrator'), (8, 1, 16, 17, 'Super Users'), (9, 1, 2, 3, 'Guest')
:

[size=78%]e' mica successo anche a qualcun altro??[/size]
[size=78%]sul forum in inglese avevo trovato di provare a modificare i singoli sql cambiando InnoDB in MyISAM ma non e' cambiato niente.[/size]
[size=78%]Il mio hosting e' linux.[/size]

[size=78%]Grazie a presto[/size]
: Re:aiuto per Magic Quotes GPC NO
: alexred 19 Sep 2012, 18:32:01
in questo articolo trovi le informazioni su come capire se il database del tuo hosting supporta Mysql 5.1 con InnoDB.

http://www.joomla.it/notizie/5652-e-arrivata-joomla-30-alpha1.html
: Re:aiuto per Magic Quotes GPC NO
: michele94 09 Dec 2012, 21:07:47
Niente, ho provato anch'io a creare il file php.ini nella root dove ho installato joomla pero non funziona


Sul file php.ini ho sritto:
magic_quotes_gpc=off


E giusto??


Come devo fare??
: Re:aiuto per Magic Quotes GPC NO
: alexred 09 Dec 2012, 22:09:16
meglio se ti rivolgi direttamente al supporto tecnico del tuo servizio di hosting
: Re:aiuto per Magic Quotes GPC NO
: michele94 10 Dec 2012, 13:02:56
non ce modo di provare tramite htaccess?
: Re:aiuto per Magic Quotes GPC NO
: anto1701 28 Dec 2012, 16:17:47
non ce modo di provare tramite htaccess?


Guarda io ho risolto chiedendo direttamente all'hoster
: Re:aiuto per Magic Quotes GPC NO
: maumart 11 Mar 2013, 15:17:43
Ho risolto cosė:Create php.ini file with the following lines.
magic_quotes_gpc = Off
session.save_path = "/tmp"


Il file php.ini va inserito nella cartella Installation!!!