Jump to content
White-Rabbit

Loggin impossible

Recommended Posts

Bonjour,

j’ai installé sur mon 439pro l’application plugmedia qui m’a l’air très prometteuse.

Mais impossible une fois sur la page de connexion de m’y connecter.

Autant avec mon user admin que d’autres users ayant accès à Qmultimedia.

Dois je faire qqch en particulier ?

Merci

Firmware 3.01 sur 439pro

Share this post


Link to post
Share on other sites

normalement il n'y a rien à faire, est ce que tu connais putty?

Share this post


Link to post
Share on other sites

humm

bien bien, c'est tres bizzare, est ce que tu peux activer le logging dans plugmedia?

dans le fichier /plugmedia/system/config/conf.php tu peux modifier le log level à 4 puis tenter de te connecter et m'envoyer le contenu du fichier dans system/logs

Share this post


Link to post
Share on other sites

jvais tester ça dès que possible.

Là j'ai un peu exploser mon NAS en foirant une mise à jour de 3 vers 4 disques.

Jsui en pleine galère.

Je reviens tester bientôt

Share this post


Link to post
Share on other sites

Bonjour, lorsque je me connecte rien ne se passe, il m'affiche toujours la même page.

j'ai essaié avec le compte admin, un autre compte (en lecture sur Qmultimedia), rien a faire.

voici les logs de level 4 :

DEBUG - 2009-12-01 11:37:54 --> User accesspath from group (Administrator): /Qmultimedia

DEBUG - 2009-12-01 11:37:54 --> User loggedin: admin

ERROR - 2009-12-01 11:37:54 --> Severity: Warning  --> Unknown: open(/tmp/sess_a09d0fae35a04fa87a3fe996989fb0af, O_RDWR) failed: Permission denied (13) Unknown 0

ERROR - 2009-12-01 11:37:54 --> Severity: Warning  --> Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () Unknown 0

DEBUG - 2009-12-01 11:37:54 --> Benchmark Class Initialized

DEBUG - 2009-12-01 11:37:54 --> Config Class Initialized

DEBUG - 2009-12-01 11:37:55 --> Config file loaded: config/smarty.php

DEBUG - 2009-12-01 11:37:55 --> Smarty Class Initialized

ERROR - 2009-12-01 11:37:55 --> Severity: Warning  --> session_start() [[url="function.session-start"]function.session-start[/url]]: open(/tmp/sess_a09d0fae35a04fa87a3fe996989fb0af, O_RDWR) failed: Permission denied (13) /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/libraries/Session.php 24

DEBUG - 2009-12-01 11:37:55 --> User accesspath from group (Guest): 

DEBUG - 2009-12-01 11:37:55 --> Loading user: Guest

DEBUG - 2009-12-01 11:37:55 --> Config file loaded: config/lang.php

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  cooliris /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%F7/F7F/F7F34188%%header.tpl.php 19

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  btn_link /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 7

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  btn_radio /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 8

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  btn_cooliris /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 10

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  btn_slideshow /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 11

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  btn_thumb /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 13

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  btn_list /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 15

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  display_left /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 25

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  current_media /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%6E/6E9/6E92FC17%%button_bar.tpl.php 30

ERROR - 2009-12-01 11:37:55 --> Severity: Notice  --> Undefined index:  loggedin /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/_compiled/%%45/45E/45E480CD%%index.tpl.php 51

ERROR - 2009-12-01 11:37:55 --> Severity: Warning  --> Unknown: open(/tmp/sess_a09d0fae35a04fa87a3fe996989fb0af, O_RDWR) failed: Permission denied (13) Unknown 0

ERROR - 2009-12-01 11:37:55 --> Severity: Warning  --> Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () Unknown 0

DEBUG - 2009-12-01 11:37:55 --> Benchmark Class Initialized

DEBUG - 2009-12-01 11:37:55 --> Config Class Initialized

DEBUG - 2009-12-01 11:37:55 --> Config file loaded: config/smarty.php

DEBUG - 2009-12-01 11:37:55 --> Smarty Class Initialized

ERROR - 2009-12-01 11:37:55 --> Severity: Warning  --> session_start() [[url="function.session-start"]function.session-start[/url]]: open(/tmp/sess_a09d0fae35a04fa87a3fe996989fb0af, O_RDWR) failed: Permission denied (13) /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/libraries/Session.php 24

DEBUG - 2009-12-01 11:37:55 --> User accesspath from group (Guest): 

DEBUG - 2009-12-01 11:37:55 --> Loading user: Guest

DEBUG - 2009-12-01 11:37:55 --> Config file loaded: config/lang.php

ERROR - 2009-12-01 11:37:55 --> Severity: Warning  --> Unknown: open(/tmp/sess_a09d0fae35a04fa87a3fe996989fb0af, O_RDWR) failed: Permission denied (13) Unknown 0

ERROR - 2009-12-01 11:37:55 --> Severity: Warning  --> Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () Unknown 0

DEBUG - 2009-12-01 11:37:56 --> Benchmark Class Initialized

DEBUG - 2009-12-01 11:37:56 --> Config Class Initialized

DEBUG - 2009-12-01 11:37:56 --> Config file loaded: config/smarty.php

DEBUG - 2009-12-01 11:37:56 --> Smarty Class Initialized

ERROR - 2009-12-01 11:37:56 --> Severity: Warning  --> session_start() [[url="function.session-start"]function.session-start[/url]]: open(/tmp/sess_a09d0fae35a04fa87a3fe996989fb0af, O_RDWR) failed: Permission denied (13) /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/libraries/Session.php 24

DEBUG - 2009-12-01 11:37:56 --> User accesspath from group (Guest): 

DEBUG - 2009-12-01 11:37:56 --> Loading user: Guest

DEBUG - 2009-12-01 11:37:56 --> Config file loaded: config/lang.php

DEBUG - 2009-12-01 11:37:56 --> load() - Path('plugmedia_admin.php') is invalid, nothing loaded.

ERROR - 2009-12-01 11:37:56 --> Severity: Notice  --> Undefined variable: nodes /share/HDA_DATA/.qpkg/plugmedia/Qweb/system/helper/directory.php 103

ERROR - 2009-12-01 11:37:56 --> Severity: Warning  --> Unknown: open(/tmp/sess_a09d0fae35a04fa87a3fe996989fb0af, O_RDWR) failed: Permission denied (13) Unknown 0

ERROR - 2009-12-01 11:37:56 --> Severity: Warning  --> Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () Unknown 0

Share this post


Link to post
Share on other sites

ERROR - 2009-12-01 11:37:54 --> Severity: Warning  --> Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () Unknown 0
[/code]

Est ce que tu as modifié le fichier php.ini?

Share this post


Link to post
Share on other sites

c'est fort probable, voila la parti session de mon php.ini

Je dois rajouté quelque chose?

[Session]

session.save_handler = files

session.use_cookies = 1

session.name = PHPSESSID

session.auto_start = 0

session.cookie_lifetime = 0

session.cookie_path = /

session.cookie_domain =

session.serialize_handler = php

session.gc_probability = 1

session.gc_divisor     = 100

session.gc_maxlifetime = 1440

session.bug_compat_42 = 1

session.bug_compat_warn = 1

session.referer_check =

session.entropy_length = 0

session.entropy_file =

session.cache_limiter = nocache

session.cache_expire = 180

session.use_trans_sid = 0

Share this post


Link to post
Share on other sites

[session]

session.save_handler = files

session.use_cookies = 1

session.name = PHPSESSID

session.auto_start = 0

session.cookie_lifetime = 0

session.cookie_path = /

session.cookie_domain =

session.serialize_handler = php

session.gc_probability = 1

session.gc_divisor = 100

session.gc_maxlifetime = 1440

session.bug_compat_42 = 1

session.bug_compat_warn = 1

session.referer_check =

session.entropy_length = 0

session.entropy_file =

session.cache_limiter = nocache

session.cache_expire = 180

session.use_trans_sid = 0

url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

Voici le mien, mais visiblement le systeme se plaint de ne pas pouvoir écrire les sessions dans /tmp/XXX

drwxrwxrwx    7 admin    administ     1.4k Dec  2 15:10 tmp/
[/code]

Tu as bidouillé le chmod de /tmp?

Share this post


Link to post
Share on other sites

Bonsoir,

Pour info, et éviter des problèmes avec tmp ou tout le monde met TOUT et n'importe quoi, vous pouvez changer la destination de sauvegarde de vos sessions dans un endroit plus sur :

dans php.ini ajoutez ou modifiez cette ligne (ceci est un exemple sur un TS-109 ... a adapter).

session.save_path="/share/HDA_DATA/session"

de plus vous pouvez restreindre l'accès a ce répertoire au user et group qui exécute apache (guest:guest par default)

fichier apache.conf :

User guest

Group guest

Philippe.

Share this post


Link to post
Share on other sites

Bonjour,

log-2010-02-19.php

My problem like the php log, can't login, any people can help me about this? thanks!!

A priori, vous n'avez pas le droit d'écrire dans le répertoire de sauvegarde des sessions

Vérifiez votre session.save_path , pas d"erreur dans le nom, répertoire bien crée, vérifier les droits un chmod 777 peut aider, entre autres parce que le user apache a changer avec les derniers firmware ....

cette erreur est relativement claire :

ERROR - 2010-02-19 23:46:10 --> Severity: Warning --> Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct ('5) Unknown 0

Par défault c'est /tmp qui sert aux sessions .... mais ce n'est pas bon de garder cela ... de plus par sécurité (reprise par quelqu'un d'autre, il vaut mieux mettre l répertoire session HORS du répertoire Web /share/Qweb ou /share/Web suivant le Qnap.

Philippe.

Share this post


Link to post
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

×