- Posts: 17
- Thank you received: 0
Http error 500 - Dopo aggiornamento da 257 a 259 del 25 agosto
Come devo rimediare? Dove trovo il log di limesurvey?
Grazie
Francesca
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Quando seleziono 'partecipanti all'indagine', e questo errore vale sempre per ogni indagine non posso gestire i partecipanti.
Siccome gestisco io il server potresti indicarmi sono i log del www.
Grazie
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.

Grazie
Please Log in or Create an account to join the conversation.
- digitmaster
-
- Offline
- Fresh Lemon
-
- Posts: 14
- Karma: 1
- Thank you received: 3
servirebbero dati precisi:
versione di limesurvey
sistema operativo
vers mysql
vers php
hai dato una occhiata ai permessi sulla document root?
Error 500 e' un errore interno del server. Qualcosa fallisce nell'esecuzione per settaggi o permessi. Prima di parlare di bug darei un'occhiata.
Per tua informazione l'ultima release stabile e'
limesurvey2.52+160920
tu riporti 259 (??) dove la prendesti?
facci sapere
digitmaster
Please Log in or Create an account to join the conversation.
Parse error: syntax error, unexpected '[', expecting ')' in /var/www/limesurvey2/application/controllers/admin/tokens.php on line 287
Per quanto riguarda la release io ti riporto la notifica che e' rimasta dopo l'aggiornamento, in allegato, usando comfortupdate.
Ho dovuto dare dei permessi ad un bel po' di file e directorie che poi ho tolto e forse troppo, ahime'.
Ma non so che fare perche' l'ho scoperto solo ora. apparentemente il resto funziona.
grazie mille
Please Log in or Create an account to join the conversation.
ubuntu 12.04.5
mysql 5.5.43
php5 5.3.10
Allego il file
Francesca
Please Log in or Create an account to join the conversation.
- digitmaster
-
- Offline
- Fresh Lemon
-
- Posts: 14
- Karma: 1
- Thank you received: 3
in breve:
- il numero di versione e' relativo al solo database ed e' una informazione interna dell'applicazione, per gli utenti il numero di versione e' quello dell'applicazione come riportato dal mio esempio
- verifica che l'utente con cui apache e' eseguito sia lo stesso utente che ha la ownership dei file e directory
ps aux|grep apache2
e posta output
- una volta ottenuto l'utente si procede con la sanitizzazione dei permessi con find,chown e chmod
aspetto.
ciao
Please Log in or Create an account to join the conversation.
l'utente di apache2 e' www-data ed e' lo stesso delle directories /application, /tmp e /upload.
Che altro devo modificare? Ma mi sai dire come correggere l'errore?
ciao
Please Log in or Create an account to join the conversation.
- digitmaster
-
- Offline
- Fresh Lemon
-
- Posts: 14
- Karma: 1
- Thank you received: 3
nessuno ha la bacchetta magica

Cominciamo a correggere i permessi che male non fa e mette in sicurezza il sito:
come root esegui questo:
chown -R www-data:www-data /var/www/limesurvey2/
find /var/www/limesurvey2/ -type d -exec chmod 755 '{}' \;
find /var/www/limesurvey2/ -type f -exec chmod 644 '{}' \;
Immediatamente dopo prova riottenere l'errore.
Non usare FTP dopo il settaggio dei permessi altrimenti il test potrebbe essere falsato e devi ripetere i comadi per ottenere un test valido.
fammi sapere e poi ti dico come fare il fix definitivo nel caso il test funzi bene.
ciao
Please Log in or Create an account to join the conversation.
francE20 wrote: scusami, sistema operativo:
ubuntu 12.04.5
mysql 5.5.43
php5 5.3.10
Allego il file
Francesca
Minimum PHP version for LimeSurvey is PHP 5.3.3
Please, update your PHP version.
Please Log in or Create an account to join the conversation.
- digitmaster
-
- Offline
- Fresh Lemon
-
- Posts: 14
- Karma: 1
- Thank you received: 3
5.3.3 -> 22 Jul 2010
so 5.3.10 > 5.3.3 why update?
Please Log in or Create an account to join the conversation.
Make sure you can use LimeSurvey on your website
Make sure your server meets the following additional requirements. Most of these requirements will also be checked during the installation.
Required:
Minimum 180MB disk space
MySQL 5.5.3 or later OR Microsoft SQL Server 2005 or later OR Postgres 9 or later
Minimum PHP 5.3.3 or later, however we recommend "PHP 5.5.x" with the following modules/libraries enabled:
mbstring (Multibyte String Functions) extension library (see also Installation FAQ)
PDO database driver for MySQL (pdo_mysql or pdo_mysqli) or Postgres (pdo_pgsql) or MSSQL (pdo_sqlsrv for Windows and pdo_dblib for Linux)
Also we assume in general that all PHP default libraries are enabled (like hash, session, etc.).
and:
php.net/supported-versions.php
Users of this release (<5.6) should upgrade as soon as possible, as they may be exposed to unpatched security vulnerabilities
using old PHP versions represents a major security issue:
www.acunetix.com/vulnerabilities/web/php...emote-code-execution
www.tenable.com/plugins/index.php?view=single&id=71426
etc etc
Please Log in or Create an account to join the conversation.
due cose:
- 1) ho risolto il problema perche' il messaggio d'errore dava la linea del codice ed ho corretto togliendo le quadre da:
TokenDynamic::model($iSid)->deleteRecords([$aTokenId]);
a
TokenDynamic::model($iSid)->deleteRecords($aTokenId);
e quindi va avanti e trovo il menu' corretto, ossia la tabella dei partecipanti non esiste la vuoi creare..ecc...
2) perche' parli di sicurezza e mi fai diventare tutto posseduto dall'owner di apache che come sai e' da mantenere sotto controllo, o sbaglio tutto?
E' solo una modifica temporanea?
Please Log in or Create an account to join the conversation.