Soprano Posted September 7, 2010 Report Share Posted September 7, 2010 uztādīju sms shopu,bet ejot adin paneli man izmet šādu kļūdu Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\shop\admin_shop.php:1) in C:\AppServ\www\shop\admin_shop.php on line 8 Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\shop\admin_shop.php:1) in C:\AppServ\www\shop\admin_shop.php on line 9 GET OUT!!! Reku ir admin.php pirmās 12 riniņas <?php include 'config.php'; if ((!isset( $_SERVER['PHP_AUTH_USER'] )) || (!isset($_SERVER['PHP_AUTH_PW'])) || ( $_SERVER['PHP_AUTH_USER'] != $shop_admin ) || ( $_SERVER['PHP_AUTH_PW']) != $shop_admin_password ){ header('WWW-Authenticate: Basic realm="Private"'); header('HTTP/1.0 401 Unauthorized'); echo "GET OUT!!!"; exit; } ?> Link to comment Share on other sites More sharing options...
Dj_Stay Posted September 7, 2010 Report Share Posted September 7, 2010 Izmanto so http://forum.techpoint.lv/viewtopic.php?id=14 Sis ir mans nedaudz parveidots Link to comment Share on other sites More sharing options...
Soprano Posted September 7, 2010 Author Report Share Posted September 7, 2010 paldies bet man tagad rada šādu kļūdu,kad pievienoju failu Sekojoši lauki ir tukši vai aizpildīti nepareizi: Netabilstošs fails. Mēģināju gan zip gan rar Link to comment Share on other sites More sharing options...
Dj_Stay Posted September 7, 2010 Report Share Posted September 7, 2010 nezinu man ta pati release un viss iet Link to comment Share on other sites More sharing options...
X ID Posted September 7, 2010 Report Share Posted September 7, 2010 UTF-8 without BOM? Pirms <?php nav nekādas atstarpes vai da jebkādi simboli? Es pieņemu, ka tas bija admin_shop.php, nevis kā tu rakstīji? Link to comment Share on other sites More sharing options...
Ins1d3r Posted September 8, 2010 Report Share Posted September 8, 2010 Vari pamēģināt izdzēst header('WWW-Authenticate: Basic realm="Private"'); problēmām nevajadzētu būt. Link to comment Share on other sites More sharing options...
X ID Posted September 8, 2010 Report Share Posted September 8, 2010 (edited) Tik pat labi varēji ieteikt visu izdzēst un nelīst, kur nevajag http://apblog.lv/2007/05/07/utf-8-bom-simb...s-already-sent/ Edited September 8, 2010 by X ID Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now