NBS Posted March 8, 2008 Report Share Posted March 8, 2008 Labdien, izveidoju login formu ar sessijas palīdzību, mājās strādā viss super viss jauki sessija izpildās. Uzliekot uz ema.lv servera, sesija nestrādā un login forma neizpildās, kpc tā ? Link to comment Share on other sites More sharing options...
Pentiums Posted March 8, 2008 Report Share Posted March 8, 2008 pajautā emmai.lv :) Link to comment Share on other sites More sharing options...
NBS Posted March 9, 2008 Author Report Share Posted March 9, 2008 pajautā emmai.lv :) Šaubos, ka emas vaina. Bija ideja: Izveidoju folderi un piešķīru chmod 777 session_save_path($path); $path = "session/"; Nestrādā :( Palīdziet kāds, lūdzu. Link to comment Share on other sites More sharing options...
andrisp Posted March 9, 2008 Report Share Posted March 9, 2008 Tu gadijumā neesi sajaucis secību ? Link to comment Share on other sites More sharing options...
NBS Posted March 9, 2008 Author Report Share Posted March 9, 2008 Tu gadijumā neesi sajaucis secību ? Apmainiju, tāpat, nepalīdz :( Mans kods: config.php - http://paste.php.lv/6960 login.php - http://paste.php.lv/6961 funcijas.php - http://paste.php.lv/6962 Kā jau teicu uz mājas servera viss super strādā, nesaprotu, palīdziet ;( Link to comment Share on other sites More sharing options...
andrisp Posted March 9, 2008 Report Share Posted March 9, 2008 http://lv.php.net/session_save_path: Session data path. If specified, the path to which data is saved will be changed. session_save_path() needs to be called before session_start() for that purpose. Link to comment Share on other sites More sharing options...
NBS Posted March 9, 2008 Author Report Share Posted March 9, 2008 http://lv.php.net/session_save_path: Apmainiju vietām, tāpat nekas nenotiek :( Link to comment Share on other sites More sharing options...
andrisp Posted March 9, 2008 Report Share Posted March 9, 2008 (edited) Ja vari, ieslēdz visus error reportingus. Ja nevari, tad palūdz piekļuvi error log failam. Edited March 9, 2008 by andrisp Link to comment Share on other sites More sharing options...
NBS Posted March 9, 2008 Author Report Share Posted March 9, 2008 Ieslēdzu E_ALL, neko neuzrāda. Jautāšu serverim log failu. Link to comment Share on other sites More sharing options...
NBS Posted March 11, 2008 Author Report Share Posted March 11, 2008 Nepareizi norādiju root dir. Sk. Paldies visiem :) Link to comment Share on other sites More sharing options...
Recommended Posts