donate Posted January 15, 2007 Report Share Posted January 15, 2007 Uzliku AMXBans 5.0 , viss itkā strādā , bet mājas lapā rāda šitā: Warning: fopen(d:/appserv/www/amxbans/include/lang/lang..php): failed to open stream: No such file or directory in d:\appserv\www\amxbans\include\functions.lang.php on line 42 Warning: filesize(): Stat failed for d:/appserv/www/amxbans/include/lang/lang..php (errno=2 - No such file or directory) in d:\appserv\www\amxbans\include\functions.lang.php on line 42 Warning: fread(): supplied argument is not a valid stream resource in d:\appserv\www\amxbans\include\functions.lang.php on line 42 Warning: fclose(): supplied argument is not a valid stream resource in d:\appserv\www\amxbans\include\functions.lang.php on line 42 Lūdzu palīgā! Link to comment Share on other sites More sharing options...
andrisp Posted January 15, 2007 Report Share Posted January 15, 2007 Hmm.. izskatās, ka tev konfigurācijā nav norādīta kādu valodu izmantot. To spriežu pēc šī: lang..php, droši vien vajadzētu lang.en.php vai kaut ko tādu. Link to comment Share on other sites More sharing options...
donate Posted January 15, 2007 Author Report Share Posted January 15, 2007 Šī ir tā /functions.lang 42. rindiņa: $lp = fopen($path,"r"); $temp = fread($lp, filesize($path)); fclose($lp); Kas tur ir nepareizi? Link to comment Share on other sites More sharing options...
andrisp Posted January 15, 2007 Report Share Posted January 15, 2007 Tur viss ir ok, pameklē labāk, kur tiek definēts $path. Link to comment Share on other sites More sharing options...
donate Posted January 15, 2007 Author Report Share Posted January 15, 2007 Kads var palidzet?? Ko man darit lai neradas? Link to comment Share on other sites More sharing options...
andrisp Posted January 15, 2007 Report Share Posted January 15, 2007 (edited) Es taču tev saku, ko darīt. Pameklē vai tai aplikācija nav kaut kāds konfigurācijas fails. Moška tur var norādīt kādu valodu izmantot (ja, protams, tas ir problēmas pamatā). Edited January 15, 2007 by andrisp Link to comment Share on other sites More sharing options...
donate Posted January 15, 2007 Author Report Share Posted January 15, 2007 Paldies andrip°! Kluuda bija default_lang jaanomaina uz lang.english Liels paldies... :)) Link to comment Share on other sites More sharing options...
Recommended Posts