[ Nemanja Avramović @ 09.05.2005. 19:05 ] @
naime, radim jednu skripticu za live editovanje sajta za jednog lika koji bi hteo da plati nesto kesa a ne treba mu nesto posebno (zato i ne daje ekstra kesh ;)) ... e sad, ja sam skriptu skroz zavrsio, i uploadovao na http://dhost.info/avram/test/ pa se onda ulogujete na http://dhost.info/avram/test/manage/login.php (username/pass --- admin/admin ili mod/mod) ...i to perfektno radi, a login podaci se prenose preko sesije. Medjutim, kada sam uploadovao to na njegov sajt, prilikom login-a, dakle unesem username/pass i pritisnem "Log in" (submit), na verify strani mi samo izbaci blank page (umesto da izbaci error ili da me redirektuje). Kada sam prepravio malo skriptu i uspeo da redirektujem stranicu (ne preko header-a nego preko JS-a), na prvoj stranici sam stavio print_r($_SESSION); i primetio sam da mi daje prazan array. Naravno, skripta nije menjana nikako (osim nacin redirekcije, a to ne utice na ovaj problem) a na dhost-u radi, dok na sajtu ovog lika ne radi. Problem je sto tog lika ne zanima nista, on hoce da to kod njega radi (sto je i logicno). Pa sam ja odlucio da pisem izvesnom Jeff-u, koji je zaduzen za taj hosting. Evo mailova koje smo razmenili ja i Jeff: 1. ja opisao problem, kao sto sam i Vama ovde 2. Jeff: Citat: Our technicains have attempted to recreate this issue and have also reviewed several accounts on the server using php sessions to verify system operation. I have reviewed this issue with our Server Manager, currently we are auditing several new accounts within the server that have been consuming higher than normal cpu load on the system. We will be completing this audit this week and fully expect this will clear any re-occurring issues within the system. If you are still experiencing the error, please let me know and I will have a network technicain review the account. Thanks, Jeff 3. ja mu rekao da i posle par dana i dalje ne radi 4. Jeff: Citat: I have reviewed this issue with our Server Manager and they have completed the bulk of the audits for server configurations. If you are still experiencing this issue, please let me know. Thanks, Jeff 5. ja mu ponovo rekao, da ne radi 6. Jeff: Citat: This may be attributed to a cPanel security setting on the /tmp file that restricts writing to the /tmp folder to prevent script exploits in the root level folders. Modifying the script to use a /tmp folder within the account may correct this. Thanks, Jeff To je to... sada je na meni da resim to... Odnosno, kako da uradim ovo: Modifying the script to use a /tmp folder within the account may correct this. P.S. Njihov hosting ima cPanel X, ako Vam nesto znaci! I ja imam pristup cPanel-u |