student Posted March 17, 2011 Report Share Posted March 17, 2011 Sveiki! Es te cenšos kaut ko izveidot ar draugiem.lv pasi, bet kad cenšos palaist paraugu, kuru draugiem.lv piedāvā, tad man parādās šāds eroor: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required 'C:/wamp/www/extractor/examples/test_passport.php' (include_path='.;C:\php5\pear') in Unknown on line 0 Varētu kāds man lūdzu izskaidrot, kā tikt no tā vaļā? Quote Link to comment Share on other sites More sharing options...
xPtv45z Posted March 17, 2011 Report Share Posted March 17, 2011 Tu angļu valodu nesaproti? Sāc ar to, ka iztulko error paziņojumu. Quote Link to comment Share on other sites More sharing options...
student Posted March 17, 2011 Author Report Share Posted March 17, 2011 Viņš nevar atvērt - ;C:\php5\pear Quote Link to comment Share on other sites More sharing options...
Jackal Posted March 17, 2011 Report Share Posted March 17, 2011 Nē, viņš nevar atvērt C:/wamp/www/extractor/examples/test_passport.php Quote Link to comment Share on other sites More sharing options...
student Posted March 17, 2011 Author Report Share Posted March 17, 2011 Nesaprotu kādēļ neiet... Nolādēju no draugiem.lv paraugiem - http://www.draugiem.lv/development/examples.zip . Tad kas tu var būt par vainu? Quote Link to comment Share on other sites More sharing options...
ziemelis Posted March 17, 2011 Report Share Posted March 17, 2011 ja tas atrastos uz Liunux servera, es teiktu chmod('extractor/examples/test_passport.php', 755); Kas par windows? Quote Link to comment Share on other sites More sharing options...
wintermute Posted March 17, 2011 Report Share Posted March 17, 2011 ziemelis , tas tas nozīmētu, ka tu linux serveri redzējis neesi , jo priekš chmod() : 755 != 0755 Quote Link to comment Share on other sites More sharing options...
student Posted March 18, 2011 Author Report Share Posted March 18, 2011 Es nekad neesmu lietojis linux serveri. Tad lai šis skripts ietu man vajag linux serveri? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted March 18, 2011 Report Share Posted March 18, 2011 Tad lai šis skripts ietu man vajag linux serveri? Protams, ka nē! Vienkārši, UNIX sistēmām (kā Linux) ir savādākā atļauju ("permissions") sistēma. Galvenā atšķirība ir tāda, ka ir jānorāda, ko ar attiecīgo failu / direktoriju kurs varēs darīt. Mēs domājam, ka Tev kas neiet, jo Tavam serverim nav tiesības strādāt ar attiecīgajiem skriptiem. Tev pašam datoram ir Winodws, cik sapratu. Bet kur Tev "stāv" lapa? Uz tā paša datora? Kaut kāda XAMPP? Vai arī uz hostinga servera (visticamāk viņiem ir Linux)... Quote Link to comment Share on other sites More sharing options...
student Posted March 18, 2011 Author Report Share Posted March 18, 2011 man ir uz datora - wamp serveris. Tad ko man darīt? Quote Link to comment Share on other sites More sharing options...
student Posted March 18, 2011 Author Report Share Posted March 18, 2011 Tikko uzliku uz servera un tagad aizgāja viss :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.