Jump to content

Problema aggiungendo lingua italiana con input_vars_1000


maxvel75

Recommended Posts

Sto creando un sito con ps1.6 e all'aggiunta della lingua italiana mi ha dato l'errore di max_input_vars_1000 .

Uso hosting Linux su register e seguendo istruzioni ho modificato php ini impostando codici diversi con valori di 5000 ma niente. ho modificato anche .htacces ma l'errore resta.

Non so più cosa fare oltretutto mi visualizza il sito in italiano maluccio con moduli mancanti e deformati.

Qualcuno mi aiuta?

grazie

Link to comment
Share on other sites

non si capisce, hai un server dedicato ? oppure hai un condiviso ?

 

su un condiviso non hai accesso al php.ini della macchina, se poi hai creato un file php.ini e lo hai caricato sul tuo server non serve a niente

Link to comment
Share on other sites

no dedicato Linux premium il php ini l'ho modificato da pannello register questa la sezione :    ; Resource Limits ;

 

;;;;;;;;;;;;;;;;;;;

 

 

; Maximum execution time of each script, in seconds

 

; http://php.net/max-execution-time

 

; Note: This directive is hardcoded to 0 for the CLI SAPI

 

max_execution_time = 60

 

 

; Maximum amount of time each script may spend parsing request data. It's a good

 

; idea to limit this time on productions servers in order to eliminate unexpectedly

 

; long running scripts.

 

; Note: This directive is hardcoded to -1 for the CLI SAPI

 

; Default Value: -1 (Unlimited)

 

; Development Value: 60 (60 seconds)

 

; Production Value: 60 (60 seconds)

 

; http://php.net/max-input-time

 

max_input_time = 60

 

 

; Maximum input variable nesting level

 

; http://php.net/max-input-nesting-level

 

;max_input_nesting_level = 64

 

 

How many GET/POST/COOKIE input variables may be accepted

 

max_input_vars = 5000

 

 

; Maximum amount of memory a script may consume (128MB)

 

; http://php.net/memory-limit

 

memory_limit = 140M

 

grazie ancora

Link to comment
Share on other sites

In quel codice sopra ho tolto i punti e virgola e non mi da più l'errore max input vars ma nella traduzione del front office mi da 840 errori su 840 con questa spiegazione     Alcune di queste locuzioni utilizzano questa sintassi speciale: %d.

 

È necessario utilizzare questa sintassi nelle tue traduzioni. Ecco alcuni esempi

 

•"There are %d products": "%d" verrà sostituito da un numero.

 

•"List of pages in %s": "%s" verrà sostituito da una stringa.

 

•"Feature: %1$s (%2$d values)": I numeri ti permettono di riordinare le variabili, quando necessario.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...